10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I am trying to write a shell script which takes an input file as an arguement in the terminal e.g. bash shellscriptname.sh input.txt. I would like for the file to be read line by line each time checking if the .txt file contains certain words or letters(validating the syntax). If the line being... (1 Reply)
Discussion started by: Gurdza32
1 Replies
2. Programming
Hi guys,
i used the call "sytem" using ... in a cobol program.
At the moment i stoped at an empasse, how cam I retrive the execution's result of unix command?
Explenation, I made an 'pwd' command, and I must to have the directory inside the program.
How can have this result? (2 Replies)
Discussion started by: Prosy60
2 Replies
3. OS X (Apple)
Ok guys,
I'm just getting back to this amongst several other projects, but I thought I'd re-address it. I'm creating the script to disable windows from the previous login under 10.7. In order to do this it seems I need to create the same script for applications that launch and create the... (6 Replies)
Discussion started by: unimachead
6 Replies
4. UNIX for Dummies Questions & Answers
Hi,
I have a directory structure as below
/home/gad/Merl/a/a1.txt
/home/gad/Merl/b/a1.txt
/home/gad/Merl/c/a1.txt
How can I find the file a1.txt but not from directory 'a' and it(the filw) should loaded 6 days ago..
Can any one pls help,quick reply much appriciated..
Thanks. (1 Reply)
Discussion started by: jagadish_gaddam
1 Replies
5. Shell Programming and Scripting
Hi,
I need help urgently for following issue. Pls help me to resolve this issue.
I am calling sql script file(file1.sql) from UNIX Shell Script(script1.ksh) using sql plus and trying to create flat file that contains all records returned from SQL query in SQL script(file1.sql)
I given... (6 Replies)
Discussion started by: praka
6 Replies
6. UNIX for Dummies Questions & Answers
hi
I want to display the latest file in script.
say for example
file.txt1
file.txt2
file.txt3(latest)
in the script
var1=`ls -ltr file.txt* | tail-1`
echo $var1
This is what i am using. But this says that file.txt*: No such file or directory
To the same script if I pass... (5 Replies)
Discussion started by: ammu
5 Replies
7. Shell Programming and Scripting
hi experts,
i'm new on scripting on solaris 8 sparc, need some advices. i have some data in a file like :
20061221 163826.485 20061221 163925.144 058.659 6123456789012 00000E8A 047 08 002 465 00010022 510105642138069
20061221 163915.163 20061221 163925.336 010.173 6123456789012 00000F4F... (6 Replies)
Discussion started by: bucci
6 Replies
8. Shell Programming and Scripting
Can anybody provide a complete procedure for writing and executing a script in RTR(real time reliable) implementation of UNIX (0 Replies)
Discussion started by: mahajan.anubhav
0 Replies
9. Shell Programming and Scripting
sdfggggggggggggggggggggg (7 Replies)
Discussion started by: udayben
7 Replies
10. Filesystems, Disks and Memory
Can someone please tell me the command to delete a NESTED DIRECTORY.
here is my email address:
firewalls007@hotmail.com (2 Replies)
Discussion started by: Javed Akram
2 Replies