What Is The Output Of The Command ‘^$’ In Unix?
I came across this command in one the the shell scripts (based on sun solaris) i am not able to understand what is does and what its output is…
Read MoreHow 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?
How Do You Control The Output Of A Command To Display One Page At A Time On A Unix Console?
Here’s a simple example. Let’s say you have 3 pages worth of file listings in a single directory. You could use this command:
ls -la | more
to cause a pause at the end of each screen page. The | symbol sends the output of the first command to the second command for processing. [...]
On Unix Systems, Which File In The /dev Directory References The Monitor?
For example, I know that i can run ‘cat /dev/hda’ to get output from the hardrive, or ‘cat /dev/mouse/’ to get output from the mouse. How can i get the data that is being displayed by the monitor?
Read MoreHow To Write Basic Script In Unix?
The script will be designed to run at user login and to analyse the output of the quota command to determine what percentage of the quota is currently in use.
Basically i need to write a script that produces the following output:
> ./quota-warn
You are currently using 91% of your quota
Consider reducing your usage
Can anyone give me [...]
How To You Banner Your Name And Redirect The Output To A File In Unix?
How to you banner your name and redirect the output to a file in unix?
Read MoreHow Do You Redirect Output From The Sed Command In Unix To The Same File?
When I enter this to replace double quotes in a file, the output shows up correctly on my screen.
sed s/\”//g /mydirectory/$myfilename
However, when I try to redirect it to the same file using the commands below, it does not work. What am I doing wrong?
sed s/\”//g /mydirectory/$myfilename >/mydirectory/$myfilename