Summary: Hi folks, Can someone help me. I'd like to locate a character (@) in a text file and append a string of characters like "< yyyyyyy...y". For exampl...
Summary: Here is my solution, with caveats at the end. This code works on HP-UX in the bourne or korn shell. I tested with an actual download of the web file, ...
Summary: Hi: Your question is very general so I'm taking thefile line count dividing it by 2 and appending "my text" to newfile after counting that many lines:...
Summary: Hi, I'm new to Shell scripting and I really need to code a tiny script to do the following: 1) Connect via FTP to an FTP server; 2) Download the LIST ...
Summary: This script won't lose any appended data, but it is still possible to have the duplicated appended data. If these 3 files are log files, then the dupl...
Summary: Thanks for the replies...Your suggestion worked great Jaha...Now I have another question: When I scp or ssh to a remote server, is there anyway to sup...
Summary: www.freebsd.org has a online handbook. This makes for a good read. It is nearly the same as the official FreeBSD book. To exit from a shell type "exi...
Summary: Jim: Both Lamos and I missed the second \ after the append: P=456 sed "/123/ {a\\ $P }" datafile.txt which is probably why I've never been able to get...
Summary: hi all I need some help and i hope someone can help me.. In /etc/group file I need to append usernames at the end of a group record so that these use...
Summary: Hi, I've managed to create a C Shell script to get the names of the ASCII files that I want to FTP off of my remote hosts. The names of the ASCII file...
Summary: hi, i want to set the password of the solaris users from web. here is the script i m using but its gives error of permission denied. i m not executing...
Summary: Here is what you do. 1)Start with a blank, unpartitioned disk if possible. 2)Boot to DOS, and use fdisk to create a FAT partition for Windows 98. Fo...
Summary: I'm trying to create a cd image of my sco unix partition (os and apps). I'm using powerquest drive image pro v3.0. The target partition location and h...
Summary: hi, i have a scripting problem. i have to create users on solaris from a web page through scripting. my script is able to create users and there home ...
Summary: It's not very pretty or elegant: Cut the string a character at a time, append each character to a new string, and append the delimiter at the proper ...
Summary: Hi Guys, i have a perl script running unix environment which will append some results into a file before it's being copied into another directory, the...
Summary: Hello, I have a script called "change" that lives in the following directory: /home/controlm/measurements/ The /home/controlm dir is the home dir for ...
Summary: 1. In your if-statement, 2nd reference to scrn is missing the dollar-sign. 2. If any of your tty values end in a non-digit, the if-statement, expectin...
Summary: I have a customer (the one from the parsing and emailing text thread) that does not have SendMail or SMTP but has UUCP. In my research for that thr...
Summary: guys, how about this.just see the below solution. let me know if it goes fine. #!/bin/ksh dir="/home/signgm/bckaudit" datestamp=`date +%d%m%y` ls -l a...
Summary: Hello All, I am trying to link a few csh scripts together via positional parameters. In the calling script, I assign 8 different variables to val...
Summary: I think the best way to accomplish this would be to put the application that you are attempting to keep running in the /etc/inittab with the "respawn"...