10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
1)Shell program which displays a list of all files in the current directory to which you (other than owner and group) have only read and execute permission.
2)Shell program which deletes all the lines containing the word 'UNIX' in the files supplied as arguments to this program.
3)Shell... (1 Reply)
Discussion started by: Ramanath
1 Replies
2. Programming
So I am trying to learn C and am coding some scripts on my own.
For a start I have decided to port the shell script developed by wisecracker into C.( Here is the link to that script A simple reminder script for beginners to shell scripting. | Unix Linux Forums | OS X (Apple) )
This is what I... (7 Replies)
Discussion started by: chacko193
7 Replies
3. UNIX for Dummies Questions & Answers
sxsaaas (3 Replies)
Discussion started by: VikrantD
3 Replies
4. Shell Programming and Scripting
Hi every one,i am new to unix.Can any one tell me about shell programming.. (1 Reply)
Discussion started by: martina100011
1 Replies
5. Shell Programming and Scripting
Using shell scripting, implement ‘scan.sh' that scans the file system recursively starting
from current working directory and generates the file ‘index.txt' that contains a line for each
file (or directory) with following fields in tab separated format:
1. The full path of the directory... (1 Reply)
Discussion started by: kranthikiran
1 Replies
6. Shell Programming and Scripting
Files to be merged.
File1(1.txt)
-----------
1|2|Y
2|5|N
File2(2.txt)
-----------
1|abc
2|xyz
3|pqr
My Code:
---------
nawk '
BEGIN {
FS=OFS="|"
}
NR==FNR { (1 Reply)
Discussion started by: greenworld
1 Replies
7. Shell Programming and Scripting
Hi Experts, we do have a shell script for Unix Solaris, which will kill all the process manullay, it used to work in my previous env, but now it is throwing this error.. could some one please help me to resolve it
This is how we execute the script (and this is the requirement) ... (2 Replies)
Discussion started by: jonnyvic
2 Replies
8. Shell Programming and Scripting
Hi guys,
I need some help to create a script or command :rolleyes: I do not have much experience in shell programming :confused:
I have a file with the lines below on 10000 lines:
12.06.09/14:20:13 4 sms/s
12.06.09/14:20:16 4 sms/s
12.06.09/14:20:17 3 sms/s
12.06.09/14:20:18 3... (5 Replies)
Discussion started by: julienp
5 Replies
9. UNIX for Advanced & Expert Users
Hi All,
I am running the following accounting on one of my executable,
$ accton /home/myexe-acct
$ ./myexe
$ accton
When I check the process timings I get the below result,
Shell process time: 300ms
myexe time: 100ms
I want to know on why the shell(sh) process is taking so much time... (1 Reply)
Discussion started by: santoshbr4
1 Replies
10. UNIX for Dummies Questions & Answers
I have a fix_table.ksh script that takes a TABLENAME and a date.
So, in jk_table_file.txt I have the tables...one per line, and
in jk_out_file.txt I have the date in the format I need.
The following doesn not 'want' to work in a shell script...
for TABLE in `cat jk_table_file.txt`; do
... (2 Replies)
Discussion started by: JWK1
2 Replies