10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
For the sake of not going insane and not buggering a load of needed system stuff, I have created a dir /mybin. (This is a Debian system.)
I have then edited the /etc/profile and /etc/login.defs files and added :/mybin to all of the path variables. I have the file /mybin/mtp for... (2 Replies)
Discussion started by: MuntyScrunt
2. Shell Programming and Scripting
Recently I lost a number of changes I made to a program when the SCO Unix system went down. The system "mail" suggested a "vi -r" option that took me back several days. To prevent this in the future, I am trying to create my own vi command:
cp -p $1 $1.bak
if ... (5 Replies)
Discussion started by: wbport
3. Shell Programming and Scripting
Can you please provide some pointers to move files from Base path to multiple paths in efficient way.Folder Structure is already created.
/Path/AdminUser/User1/1111/Reports/aaa.txt to /Path/User1/1111/Reports/aaa.txt
/Path/AdminUser/User1/2222/Reports/bbb.txt to... (6 Replies)
Discussion started by: karthikgv417
4. Homework & Coursework Questions
1. The problem statement, all variables and given/known data:
I need to make an program that in a loop creates one parent and five children with fork(). The problem i'm trying to solve is how to delete the parent and child of the childīs process.
2. Relevant commands, code, scripts,... (0 Replies)
Discussion started by: WhiteFace
5. UNIX for Dummies Questions & Answers
How can I modify the path variable of a particular user in all shells? I searched in this forum and as per the advice in some threads created a new file .profile in $HOME directory with the new PATH, but it did not work. (5 Replies)
Discussion started by: JoyceBabu
6. UNIX for Advanced & Expert Users
I have a shell script A which calls another 10 shell scripts which run in background. How do i make the parent script wait for the child scripts complete, or in other words, i must be able to do a grep of parent script to find out if the child scripts are still running.
... (1 Reply)
Discussion started by: albertashish
7. UNIX for Advanced & Expert Users
i am writing a script containing processing commands which are reside in /opt/terascan/bin dir. if i run the script from command prompt it is working fine. but in crontab it is not working.
if i give env command from command prompt it is showing /opt/terascan/bin dir in PATH variable.
... (10 Replies)
Discussion started by: rajan_ka1
8. Shell Programming and Scripting
i have written csh script i am unable to set PATH variable in my script.
my script is like this
# ! /bin/csh -f
setenv PATH "$PATH:/opt/terascan/bin"
ls -l > list
lspass > pas
peekauto > schedule \
num_days = 1 \
exit 0... (1 Reply)
Discussion started by: rajan_ka1
9. UNIX for Dummies Questions & Answers
I'm a unix noob. I have a powerbook running mac os x 10.4 and for one of my classes I need to install the latest version of php (5.0.5). I'm following the instructions at http://developer.apple.com/internet/opensource/php.html to install but I've run into a problem.
The... (2 Replies)
Discussion started by: kendokendokendo
10. IP Networking
please do answer it is urgent
can any body tell me how can i find whether the child process has been killed or not in a program (1 Reply)
Discussion started by: ramneek