10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi ,
I am in need of simple shell script that has one input file containing some words
Input file 1 :
****ALEX***JOHN*******VIRGIL*****
CHRITINE*****FAISAL*****DON*****
****ALEX***JOHN*******VIRGIL*****
CHRITINE*****FAISAL*****DON*****
****ALEX***JOHN*******VIRGIL*****... (6 Replies)
Discussion started by: kmanjuna
6 Replies
2. Shell Programming and Scripting
Write a shell that receives as parameters two folder names. Copies the
second folder as subfolder into the first one. Only folders and files
with the '.txt' extension will be copied. Detect and avoid recursive copy.
This is what I have to do and I don't know where to start. In fact, I started... (5 Replies)
Discussion started by: sharpsh07er
5 Replies
3. Shell Programming and Scripting
Hello forum members,
I have to redirect a output of command into a text file inside a script file but iam getting an errors.so please see below script and suggest me for corrections.
#!/bin/ksh
read IP_ADD
echo nslookup $IP_ADD 2>&1| tee log1.txt
cat /amex/gcst/siva/Testr/log1.txt... (6 Replies)
Discussion started by: rajkumar_g
6 Replies
4. Shell Programming and Scripting
Hi everyone
I am writing a simple shell but the background '&' not working i dont understand
this is my fork
pid_t pid;
pid=fork();
if(pid<0)
{
printf("\nChild process failed.");
exit(1);... (2 Replies)
Discussion started by: basicxx
2 Replies
5. Shell Programming and Scripting
Hi,
I am new to unix and using linux 7.2. I would like to create a script that would make it easyer for me to run my java programms. At the moment I have to type java myJavaprogram
I am trying to write a script that will allow me to type something like this "myscript myJavaprogram" or maybe... (4 Replies)
Discussion started by: cmitulescu
4 Replies
6. Shell Programming and Scripting
write a shell script which will delete every thing under a directory except a single sub directory (2 Replies)
Discussion started by: alokjyotibal
2 Replies
7. Shell Programming and Scripting
Hi All
I have requirement to write a shell script which would look for the userid which is logged in , and once the User id is found i would delete certain
lines from a parameter file ..
here is what iam using
a=ps -o user | grep -v user | uniq
then using an if condition and... (4 Replies)
Discussion started by: raghav1982
4 Replies
8. UNIX for Dummies Questions & Answers
I think its a bash thing and it is really annoying me..
its difficult to explain the problem but I will try..
When I type a command on the shell prompt... then lets say I go back to the 2nd letter and correct a typo.. after that I cannot get the cursor beyond the last alphabet that I had... (4 Replies)
Discussion started by: tantric
4 Replies
9. UNIX for Advanced & Expert Users
Hi,
I need of a simple shell script to launch a perl script.
The complet path of the script is:
/export/home/x2693/project/v02/appliancemanagement.pl (2 Replies)
Discussion started by: Minguccio75
2 Replies
10. Shell Programming and Scripting
hi everyone...
i'm new to this shell programming and i want help with the following question...
i hope someone can help me ...pls plsssssssssss
==========================================================
the question
==========================================================
A number of... (1 Reply)
Discussion started by: moon14
1 Replies