Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Click here to start participating now! Also, check out the New User Guide.
Parse file and save in etc/hosts
Name: Yasir Date: August 21, 2003 at 10:05:32 Pacific OS: Linux CPU/Ram: Intel , 512
Comment:
Hello:
I am very new to shell programming and in need of some help. I have a file sc.cfg that contains some ip addresses as ASCIP.
Summary: Hi guys this my sample file sample.ksh DBUID=testdatabase DBLOC=wm4r2 i want replace DBUID=testdatabase by DBUID=$myvariable (i.e myvariable=arundatabase). the name testdabase is not fixed and it cha...
Summary: I FTP connect to a remote system via an alias specified in my etc/hosts file. By default the FTP connects via port 21 but I now require to connect to that system using port 8000. Is there anyway of sp...
Summary: Since you asked "can it be done in the Korn shell", the answer is yes. Best way is to write a simple script that accepts an argument. #!/bin/ksh exec 3< /tmp/data.file Counter=1 while read -u3 Line do...