|
check an nfs mount in a script Hi, Ive been looking for a way to do this but cant figure it out. I have a script that checks an nfs mount with this condition (linux bash) and makes sure its not full: dirpresent=`df -T | grep -w nfs | grep -w $nfsdir | grep -wv "100%"` if [ -n "$dirpresent" ]; then etc etc fi My problem is if the nfs se... 5 Jul 2008 08:26
cheap discount www.china-ebay.com china cheap super bowl jersey , nba jerset for toddler,old nba jersey ,youth nba.jersye.. www.china-ebay.com china cheap mlb jersey 's nba jersey 2008 nfl pro bowl China Nfl Jerseys, cheap nfl jerseys, nfl team jerseys,personalized NFL Jersey ,cheap authentic NFL Jersey ,custom NFL Jersey. ,NFL youth football Jersey ,wholesale NFL Jersey Cheap NFL NBA jersey, NEW nfl ... 3 Jul 2008 18:41
Use sed to modify a line in a file, *without* duplicating the ?file Ch. Konig <chris.konig(a)gmail.com> wrote: Ah, I didn't know that. As I want to keep it as portable as possible, I will just stick with renaming after sed-ding and concentrate my efforts on collecting all the modifications into one sed operation. What about using ed instead of sed? Regards, Mark. -... 7 Jul 2008 12:29
How to find all files between midnight and 08.00 am? Hi, Question: How to find all files between midnight and 08.00 am? How is it? Is there any difference on creation date, modification date and similar? When I've found these files, I want to change their date manually... Any help? ... 11 Jul 2008 08:54
How to accept input from stdin? Hi, I try to make a wrapper around an existing program, which would behave exactly the same as the original one. But my following attempt was failed. Would you pleaes let me know what is the correct way? Thanks, Peng $cat ./my_tee.sh #!/bin/bash read echo $REPLY | tee $* $ cat abc a b c $ cat ab... 3 Jul 2008 17:39
RegEx needed Hi, From a shell script, I need a RegEx in order to extract the "20" from the following string: "/myfolder/incoming/test;20;000000010" Thanks to everyone for your help. ... 4 Jul 2008 10:00
multiprocess bash script Hi there! Sorry for the title ;-) I want to let my script do some render jobs... As I'm using multi-cpu and multi core machines, I thought to split up the process to be rendered simultaneously... So lets assume a machine with 4 Cores: - I would start 4 processes named a, b, c, d - inside each process I wan... 3 Jul 2008 21:45
Use sed to modify a line in a file, *without* duplicating thefile Ch. Konig wrote: Hi there I just have to modify a single line in a file. I know how to do that using sed like: sed "s/searchpattern/newexpression/" oldfile > newfile My "problem" is that I always have to duplicate that file, i.e. I have to follow it by sth like /bin/mv -f newfile oldfile ... 3 Jul 2008 05:19
Use sed to modify a line in a file, *without* duplicating the file Hi there I just have to modify a single line in a file. I know how to do that using sed like: sed "s/searchpattern/newexpression/" oldfile > newfile My "problem" is that I always have to duplicate that file, i.e. I have to follow it by sth like /bin/mv -f newfile oldfile Firstly, my files can be quite larg... 3 Jul 2008 10:26
Cartier Santos Demoiselle - Midsize wf9002y7, Best Luxury Watch - www.luxury-gift.org Cartier Santos Demoiselle - Midsize wf9002y7, Best Luxury Watch - www.luxury-gift.org Luxury Gift : http://www.luxury-gift.org Cartier Watches : http://www.luxury-gift.org//cartier-watches.html Cartier Santos Demoiselle - Midsize wf9002y7 Link : http://www.luxury-gift.org/Watches/cartier-watch-532.html Cartie... 2 Jul 2008 23:12 |