10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I pass a number to my script. Passing "1" below.
echo "User entered: $1"
ls -ltr *.conf | sed -n '$p'
I wish to use ls -ltr i.e list files in ascending order of time the latest showing at the bottom of the output.
Number 1 should get me the last row of ls -ltr output i.e... (9 Replies)
Discussion started by: mohtashims
2. UNIX for Dummies Questions & Answers
Hi -- Working on my own through the book "Learning the KornShell and came to task 4-1, which there is:
a script "highest" and it will sort an "album" file.
The author mentions adding a header line to the scripts output if the user types in the -h option. It says "assume the... (9 Replies)
Discussion started by: Decoy Octopus88
3. Homework & Coursework Questions
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
What single command line would you enter to get the following output?
8140 drwxr-xr-x 9 root bin 18 Jan 20... (6 Replies)
Discussion started by: dasboot
4. UNIX and Linux Applications
I'm trying to figure out a way to find which line in my file.txt with IP addresses:
returns specific result when I execute command affecting all lines.
For example when I run:
for line in `cat file.txt`;
it displays the... (5 Replies)
Discussion started by: svetoslav_sj
5. Shell Programming and Scripting
Right now i have this current system.
I have two files say xxx.txt and yyy.txt. xxx.txt is with list of patterns within double quotes. Eg.
"this is the line1"
"this is the line2"
The yyy.txt with lot of lines. eg:
"This is a test message which... (7 Replies)
Discussion started by: abinash
6. Shell Programming and Scripting
I am new to this Scripting process and would like to know How can i write a ksh script that will call other ksh scripts and write the output to a file and/or email.
I need to call all three scripts execute them and... (2 Replies)
Discussion started by: pacifican
7. Shell Programming and Scripting
Hi - Help needed.
I have an input file that looks something like this, but with a lot more entries:
I need to be able to print details for each customer on one line per customer.
ie. if I could print these to a file and then cat... (3 Replies)
Discussion started by: frustrated1
8. Shell Programming and Scripting
I got a long list of contents:
dDFSDFSDFSDFSDFSDFSDFSDFSDF... (2 Replies)
Discussion started by: patrick87
9. Shell Programming and Scripting
i have an html file
i want to display a browser i.e html file1 from a ksh script
so can u tell me how to display file1.html as a browser.wat... (2 Replies)
Discussion started by: ali560045
10. Shell Programming and Scripting
Using a HTML page , i'm running a Unix ksh script with <a href=..>.
The script contains loop like this :
for i in
each rsh command is running quite long and then i would display results in HTML format but about 5mn my blank page waiting for result is running in error... (1 Reply)
Discussion started by: Nicol