Hi, i would like to determine how many shell scripts are in a directory. Someone recommended me the file command, but i don't know how to use it in that way.
anybody???
Thanks!!! (8 Replies)
Hi All,
I am using cksum command in s script to check integrity of set of files transffred across the network.
What are the advantages and disadvantages/limitations of this command?
Is the byte count return reliable?
What are the other alternatives I could use for this purpose?
... (2 Replies)
how can I find cpu usage memory usage swap usage and
I want to know CPU usage above X% and contiue Y times and memory usage above X % and contiue Y times
my final destination is monitor process
logical volume usage above X % and number of Logical voluage above
can I not to... (3 Replies)
Hello
We have used Glance command to check Cpu Uage , bit new to Glance command ,
HP-UXdev # glance
B3692A GlancePlus C.03.71.00 18:21:16 nedunix2 9000/800 Current Avg High
--------------------------------------------------------------------------------
CPU Util S SN NU | 43% 59%... (1 Reply)
Hi all,
Can you please tell me the command, with which one can know the amount of space a specific directory has used.
df -k . ---> Displays, the amount of space allocated, and used for a directory.
du -k <dir name> - gives me the memory used of all the files inside <dir>
But i... (2 Replies)
Hi,
I have few doubts regarding "sudo" command. It acutally allows access to other commands as a different user. It stands for "superuser do".
Now, we execute a command as
sudo su - oracle
Can you please tell me what does it do actually, thank you. (6 Replies)
I am trying to output a log file from cp usage. I think this can be achieved. In my code I have this.
cp -i -v ~/files/* ~/backups/oldfiles/;; > ~/logs/logfile.logThe error I get is "syntax error near unexpected token '>'
What am I missing? (7 Replies)
I have one file like this:
NEW
/ifs/SQL_Backups3/SQL_SharePoint1
NEW
/ifs/SQL_Backups/SQL_SharePointThis can be easily sorted by the following command:
cat file| sort -k3,3nBut I have another file like this:
/Pool0/local/Benchmark
/Pool0/local/CRAD
/Pool0/local/crdhw/espresso_scratch1... (5 Replies)