9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
as i have to deal every day with .log and also .csv files,
i would like to know if there is any way to suppress "do you wish to overwrite (y or n)?" prompt with the option no for all prompts,
the command i usually run is the following,
find... (2 Replies)
Discussion started by: charli1
2. Shell Programming and Scripting
I have a file containing data in multiple columns. The colums are seperated by pipe (|). I need to extract information as below:
where myfile.txt is the file name. 10 is the number of records in the file starting with 120 and 100.00 is the sum of 26th field of... (16 Replies)
Discussion started by: angshuman
3. Shell Programming and Scripting
How can I suppress a error message being given by awk command in bash shell? (2 Replies)
Discussion started by: Prachi Gupta
4. UNIX for Dummies Questions & Answers
Here's the problem, I have a list generated by this command;
watch -n 5 'iptables -nvL | grep "DROP"'
It generates output that looks like this (severely truncated for clarity)
Every 5.0s: iptables -nvL | grep "DROP" ... (2 Replies)
Discussion started by: putter1900
5. Shell Programming and Scripting
Can we use a here document inside a here document?
Something like this
ssh user@remotehost << REMOTE
sudo vserver vsernamename enter << VSERVER
perform actions on vserver.
REMOTE (6 Replies)
Discussion started by: mnanavati
6. Shell Programming and Scripting
I have to stop the output of dd from writing to terminal. Here is the command:
sudo dd if=boot1h of="/dev/r$temp1"
Here is the output:
2+0 records in
2+0 records out
1024 bytes transferred in 0.000804 secs (1273715 bytes/sec)
I have tried >> log.txt but it doesn't work. Is there... (4 Replies)
Discussion started by: msf5042
7. Shell Programming and Scripting
hey i have piece of code working in solaris and same code i want to deploy it in linux but in solaris its not asking for queris but in linux it is !!!!
unzip $test/alter.war -d $webclientHome/.
In solaris it proceeds with following traces
replace /aa/test.txt?... (4 Replies)
Discussion started by: crackthehit007
8. Shell Programming and Scripting
Sorry if this is a bit of an RTM thing, but I can't find any flags for suppressing warnings with awk and Googling (this site too) didn't yield much useful. Does anyone know how to suppress warnings?
The warning I'm specifically trying to remove is one warning me that I'm... (1 Reply)
Discussion started by: kdelok
9. Shell Programming and Scripting
I have an extraordinary problem with a csh script.....(feel free to berate the use of this but I'm modifying an existing bunch of them)
Anyway, I have a master csh script which in turn calls a second csh script. This second csh script is below. Within this second script are two compiled C++... (1 Reply)
Discussion started by: pollsizer