Linux watch command
location: linuxquestions.com - date: December 14, 2007
I'm trying to setup a watch script to monitor how many httpd servers are running, the free memory, who's logged in. I know how to run 1 command using watch ,but have ran into trouble running multiple commands. Can anyone shed any light on how to do so?
linux use watch command with multiple calls
location: linuxexchange.com - date: March 18, 2015
How can I combine two (or more) calls by the watch command?
Such that they are run together (serially) and watch shows their combined output?
I.e. watch command1 command2
So to show the contents of two different directories:
watch $(ls dir1) $(ls dir2)
(The subshell parens were just added for clarity.)
Of course I could create a script to run both commands, pipe the results into a tempfile and cat it for its contents periodically through watch, but I'd refrain from it if this is natively possible somehow. :)
Subshells, grouping, process substitution did not help me, so I am out of luck and have no idea where to look now.
Is this possible at all?
watch cat <(ls dir1) <(ls dir2)
gives me on the first iteration what I'd love to see refreshed periodically, but not repeatedly. :(
Need to access Linux Mint command line through Windows
location: linux.com - date: December 12, 2011
Hello. I made a big mistake. I was compiling Blender on my Linux Mint. Because some packages were not on the normal repositories. I played stupid (mainly because I was being lazy). And I add the debian.org's repository. Which was really really stupid. Because now, by default the repositories were of debian.org . So when an error prompted on the update manager I restart with the command line and I did sudo apt-get update (again I was being an idiot because those were unstable packages) And I basically switched it all to debian's repositories (I am the biggest douche on the world). So long story short I can't even login to the command line on my Mint (11 Katya). So I am on my second partition (with Windows). Posting this. What I need now is a command line on Windows so I can solve my problem. Thank you so much! *facepalm*
Unix vs. Linux shell command
location: linuxquestions.com - date: January 9, 2007
I have a shell script written in Unix using command:
set -A envvar1 $envvar2
typeset -l variable1
What is the equivalent command for set -A and typeset -l in Linux?
new to linux, exhaustive command line exercises
location: linuxquestions.com - date: February 8, 2006
I am trying to switch to linux, though it seems not so easy. at least as comfortable as with windows for day to day tasks regarding documents, pictures, sounds, videos etc.
first i want to get comfortable with commands. i see that general short guidelines found in many sections for configuration with command lines is not good enough for a newcomer.
I am looking for exhaustive excercises for checking various configurations to get to know the devices, command prompt better, without risking my system too much. (I installed Ubuntu on AMD Athelon 850MHz)
for example, just few lines over 'mount' command are not enough..
how can we install firefox3.0.5.tar.bz2 file in linux at command prompt
location: linuxquestions.com - date: January 14, 2009
how can we install firefox-3.0.5.tar.bz2 file in linux at command prompt
and graphics mode. Please tell me.
Using the watch command remotely
- date: January 22, 2012
What I am trying to do is use watch to see who is logging into my server and who is attempting to log into my server. But do this all as part of a script.
(I omitted my server address and password for obvious reasons)
:~$ ssh SERVER "echo 'PASSWORD' | sudo -S watch 'netstat -nap | grep EST'"
[sudo] password for omega: Error opening terminal: unknown.
If i lose the watch command it works fine, the problem is, then I have to call the command every 2 seconds, including reloggin into the server via ssh.
Its the whole "Error opening terminal:unknown" that gets me.
Looking for a linux shell command.
- date: May 31, 2011
I'm looking for a specific command,if it exist... i want to login from my server to another linux server,but the question is: can i doit in a one line command for ex:
usually you type: ssh "user"@10.1.1.1 and then the password,but i'm looking for a command in one line a fake ex: ssh [email protected]
-p "password" something like that.
I don't know if anyone of you understand what do i want to say ..my english is so..bad
Linux Watch vs BSD Watch
location: linuxquestions.com - date: February 19, 2005
Is there a command in FreeBSD that will accomplish the same thing as the linux command watch.
For those of you wo may not know what each command does:
watch (BSD) - snoops a given tty
watch (Linux) - makes a static command like 'ps' or 'who' able to update in realtime.
Linux pause command not on wiki.linuxquestions.org/wiki/Pcommands
location: linuxquestions.com - date: December 17, 2007
I have discovered the 'pause' command does not exist on my system.
It is also not listed under the wiki.linuxquestions.org/wiki/P_commands. My operating system is essentially that listed in LFS 6.2 and BLFS 6.2. the kernel is 184.108.40.206. What package normally would provide the utility?
Page: 1 2 3 4 5 6 7 8 9 10