Many utilities accept options and expect filenames as operands. If a filename starts with a "-", many utilities will see a filename operand and think it is a set of options instead of a filename. (For example, if you have a file named -r in a directory with other files named a, b, and c; the command
will list files a, b, and c in reverse order thinking that -r was an option requesting reversed output sort order; the command
will list all files in the directory (including -r) in long format in reverse order. If you just want to see a long format listing of the file -r you can do that with either of the following commands:
Are we having fun yet?
I m using the below commands to find out the RAM and SWAP Memory usage on Linux.
while I m using the below for Solaris
prstat -cZ 1 1
Is there a generic command that I can used for both Linux and Solaris to get RAM and SWAP memory usage ? (3 Replies)
I am new to the Unix World.I have question about alias.I learnt that alias allows to have a small more familiar command or name to execute a long string.I understand that I use C shell command and emacs editor
I tried editing the .cshrc.common file in order to set my environment... (5 Replies)
can any1 guide me on simple awk to do extraction and calculation?
like for example if got data in 123.data how to i extract and sort the data giving my values like:
how do i use this command to do... (1 Reply)