Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Linux inout parameter in scrip
Name: hismail Date: May 19, 2008 at 06:40:15 Pacific OS: Redhat CPU/Ram: 2/4 Product: Linux
Comment:
Hi I would like to create a script that will prompt a user to change a parameter in the script before executing for eg: /usr/snapshot-efb/snapshot -i 10.3.15.25 -a '/mnt/i/a/a' -2 482de0c2 -3 '/backup/medsys/' -x 7 restore the number "482de0c2" needs to change if asked a question like: echo"enter new tag number" when the number is entered it automatically enters the number in the script above.
Summary: Hi I am using sed in a shell script. I am having problems in using parameters in sed for search and replace. TEST=`grep "'/" source | head -1` sed s/$TEST/string1/g source.txt > target.txt This doesn...
Summary: Hi, Anyone know a way to use parameters in a sed or a way round it?? I'm trying to do something like this: sed 's/${USER}/${NEW_USER}/g' but it does nothing at all... i'm running this in the korn shel...
Summary: I have seen many people say that Linux will work with ANY VGA card in character cell mode. When I try to boot to install Linux, the initrd.img and vmlinuz.img get loaded, then I get a screen of color...