|
First
|
Prev |
Next
|
Last
Pages: 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107
Writing shell scripts to automate Hi I did a lot of shell scripts to automate but forgot. Could someone help me to refresh? Say, I have a set of files, say 80 of them. I need to take them, one at a time, and run another program (*.exe) - possibly different file name. Could someone please give me a sample code, to get me started? Tha... 5 Apr 2008 08:10
Send one stream down two pipes It's been a while since I read c.u.s ... I puzzled for a while over this problem, maybe the solution will be useful to someone besides me. Say you want to send one stream down two pipes, and process each one independently. Like having two independent pointers on the same input stream. I could not discover any ... 12 Apr 2008 16:42
sed echo $(uname -m | sed -e s/i.86/i386/ ) produces i386 on one fedora installation but no output on another. It appears to be a problem with the sed command. Bash shell on both. ???? ... 7 Apr 2008 12:31
fails On Fri, 04 Apr 2008 16:37:46 +0000, Greg Russell wrote: $ if [ `wc -l /tmp/post | awk '{print $1}'` -gt 30 &&\ ! `grep -l "\#00000" /tmp/post` ]; then cat /tmp/post; fi [: missing `]' $ Where is my syntax error, please? Geez, my head must be numb today: .... [ test_0 ] && [ test_1 ] ... ... 5 Apr 2008 01:45
[ test_0 && test_1 ] fails I need to cat a file if it has more than 30 lines and doesn't contain "#00000". Either of the two tests below work fine individually, but when combined with the && operator the test fails: $ if [ `wc -l /tmp/post | awk '{print $1}'` -gt 30 &&\ ! `grep -l "\#00000" /tmp/post` ]; then cat /tmp/post; fi [: missi... 4 Apr 2008 12:57
parallel 1.3: simple parallel processing. On 4 Apr., 06:40, Edward Rosten <Edward.Ros...(a)gmail.com> wrote: Version 1.3 of ssh_parallel and parallel have been released. This release features much better error handling in ssh_parallel, so network errors are less likely to cause jobs to go missing. Additionally, it allows you to specify a nice leve... 4 Apr 2008 12:57
rsync error hi I am using http://pastebin.com/d4b062d28 for rsync from src host to dest host the roots cron entry is "02 4 * * * su sms /usr/local/bin/ testrsync_mysql.sh" I am getting error in the logs building file list ... rsync: pop_dir "/root" failed: Permission denied (13) rsync error: errors selecting input/ou... 4 Apr 2008 13:31
Change directory modification date Hello I need to change the modification date on a directory to 01-JAN-2006 I know you can change the modfication time on files using touch but I wondered if there was an equivilant for directories Thanks in advance ... 4 Apr 2008 12:23
I need to know a correct group to ask this question hi All, I am trying to host a webserver on port 8080 from a linux machine for internal usage Can you please point me to a correct group to ask this quesitno. ALso that, if you have any suggestions, do send it to me. Sorry for asking this here, but experts know alot of things in eveyr field ( that is my percepti... 4 Apr 2008 07:32 |