Tag Archive
Administration amazon Best Between book command Commands Computer Description Difference Directory Does Edition File Files find From Guide line Linux Mac Mac OS Network Operating Paperback product Program Programming Script server Shell Software system Systems That Unix UNIX/Linux user Using Web What Where Which Windows With
How To Output “the Command’s Output” To A Text File In Unix?
hi, i am working on solaris
trying to execute this command.
du -k /lpg
the command works ok but i want the output not to be displayed on screen but instead to be written in a text file.
i tried this but it didnt work.
du -k /lpg > /izmir1/output.txt
Somebody has an idea?
How To Output “the Command’s Output” To A Text File In Unix?
hi, i am working on solaris
trying to execute this command.
du -k /lpg
the command works ok but i want the output not to be displayed on screen but instead to be written in a text file.
i tried this but it didnt work.
du -k /lpg > /izmir1/output.txt
Somebody has an idea?
Urgent: Unix Command Line To Solve The Median Problem.?
My input:
10
15
20
My desired output:
Median = 15
**From the three figures in above, I know that 15 is the median. How can I use the UNIX command line to find it out automatically? My senior is advised me can use the ‘awk’ command line and the ‘if’ ‘else’ condition at the same time. Hope any UNIX expert [...]
In Unix, Regular Expressions, When Does ^ Mean “the Beginning Of Line”, And When Does It Mean “don’t Contain”?
In Unix, regular expressions, in which cases does ^ mean “the beginning of line”, and in which cases “don’t contain”