10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I'm new to Unix (working with OS X 10.8.5) and therefore at the beginning of my adventure. If I ask something stupid, then this is not intentional, but simple nescience. :rolleyes:
I have a problem with the redirection of text file content to echo. I was experimenting with redirection... (6 Replies)
Discussion started by: pseudo
2. UNIX and Linux Applications
./waf --run scratch/myfirst > log.out 2>&1
The above is a command line to redirect the output to a file called log.out.
what is the 2>&1 part for ?
Thank you (2 Replies)
Discussion started by: knowledgeSeeker
3. UNIX for Dummies Questions & Answers
how to redirect a output value to a file (1 Reply)
Discussion started by: pratima.kumari
4. Shell Programming and Scripting
echo "Hello $USER"
echo "Do you wish to run this network configuration script ?"
if($option == 'Y' || 'y' )
echo " auto eth0
iface eth0 inet static
... (5 Replies)
Discussion started by: wezzyb
5. Shell Programming and Scripting
Actually i need to know whether there is any way to redirect the output of shell operations into any file without pipe .
Actually my problem is , i run some command & its result is displayed on shell after some calculations on shell, so if i redirect its output to file, it is not... (5 Replies)
Discussion started by: sarbjit
6. Shell Programming and Scripting
I am using nohup command in script(say nohup ls- ltr > somefile 2>&1 & ). I dont want any kind of output to be displayed on screen. When i tried the above nohup it still gives me some out put on screen like
Done >somefile 2>&1
Please you let me know what is... (3 Replies)
Discussion started by: ammu
7. Shell Programming and Scripting
I have a colon-delimited text file of names, addresses and phone numbers. I am trying to write a script that can add additional entries and then sort it alphabetical by last name and resave it to the original file. I am using C shell to script. This is the section of my script that I wish to... (8 Replies)
Discussion started by: userix
To explain this question I will have to go into a bit of detail. I hope you don't mind.
currently I have a log handler (an already compiled c++ version) and what it does is makes a log file and writes all the unix output (echo, etc) of a script to that log file. To me the log_handler is... (3 Replies)
Discussion started by: fluke_perf
9. UNIX for Dummies Questions & Answers
Hi UF family members,
I am intermediate in Unix language and scripting.I know the redirection systems in unix,but the below statement confuses me:
. $HOME/.profile 2>&-
Actually this is an extract from a unix script which was trying to set the... (6 Replies)
Discussion started by: DILEEP410
10. UNIX for Dummies Questions & Answers
When directing in unix, symbol > means saving. E.g. I can save ls command output into mama like this:
ls -f > mama
Could someone give me a real example of how the opposite, i.e. symbol < is used?. Could not find its counterpart in Windows (I seem to learn better when i see... (4 Replies)
Discussion started by: alikun