7 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
i have a file which contains PID and wanted to execute kill command. but the thing is, when killing PID's needs to kill PID from bottom to top.
Please help
INPUT
21414 sh -c extract.ksh ASA
21416 /bin/ksh extract.ksh ASA
21428 /usr/bin/perl -w /var/tmp/tempperl.21416 ASA... (4 Replies)
Discussion started by: reignangel2003
4 Replies
2. UNIX for Dummies Questions & Answers
Dear friendly helpers,
I want to compare the last line and the 2.nd line from the bottom later with a calculation. The rest of the script is working. What is wrong with my solution?
I want to take the 2nd line from the bottom. And I do not know the command.
TAIL -2 is wrong because it takes... (2 Replies)
Discussion started by: Pieter0815
2 Replies
3. What is on Your Mind?
Well, it's been a few months now since we started running the toolbar on the bottom with some navigation menu, search, link to code tag video, some social networking tools, etc.
So, the question of the day is:
Should we keep it, maybe develop more toolbar apps, or dump it?
Please vote ... (13 Replies)
Discussion started by: Neo
13 Replies
4. Shell Programming and Scripting
Hi,
I have a menu of around 10 lines with options.
I want to display it in bottom right corner of screen for better display.
I can do it with clear screen. But I don't want to use it, because it will clear the existing text. After one choice from menu is executed, the menu should just place... (3 Replies)
Discussion started by: som.nitk
3 Replies
5. Shell Programming and Scripting
I have file.txt
bob
jon
jones
gary
I want to print from the botton, up using sed.
gary
jones
jon
bob
Whats one command I can use to do this? Or will I have to construct a new file that would hold the original file in reverse and then print the reversed file? (3 Replies)
Discussion started by: Bandit390
3 Replies
6. Shell Programming and Scripting
Hi,
I have a file, which is having a pattern "SEARCH" somewhere towards end of the file,
if i am giving " grep -i "SEARCH" $File" , it is taking too much time as file is very big.
So i want to search for the pattern from the back side of the file, how can we search for a pattern in bottom... (5 Replies)
Discussion started by: Prat007
5 Replies
7. Shell Programming and Scripting
Hi everyone,
I'm new to Linux and bash scripting.
Question? How can I display a menu at the bottom of the screen when displaying a content of a file with the less command?
Like in gvim with bash support, when debugging or testing your script this text "Press enter or type command to... (0 Replies)
Discussion started by: Qwond
0 Replies