Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 03-19-2008, 12:37 PM   #1
LQ Newbie
Registered: Mar 2008
Location: Allahabad, India
Distribution: Ubuntu 7.10
Posts: 2

Rep: Reputation: 0
Exclamation help on shell scripts

Can someone help me to code some simple scripts...

1. script to lock my terminal
2. script to find users with their respective PID's
Old 03-19-2008, 03:41 PM   #2
Registered: Oct 2007
Location: MI
Distribution: Debian Slackware
Posts: 528

Rep: Reputation: 59
This sounds like homework, if this is the case NOTE:It's not this forums policy to do others homework. If you have a script started maybe show what you have and I'm sure people will be glad to help point you in the right direction.

2. script to find users with their respective PID's

Do a search on the cut command, or just look at the man page.

Last edited by mrrangerman; 03-19-2008 at 03:43 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to ssh from a shell script ? For ppl who can write shell scripts. thefountainhead100 Programming 14 10-22-2008 07:24 AM
Shell scripts shmuel_orgad Programming 4 05-21-2006 06:33 AM
Need help with shell scripts thorney Linux - Newbie 4 11-28-2005 12:18 AM
shell scripts... roofy Linux - Newbie 13 05-06-2003 07:06 PM
need help on shell scripts!!! krcool32 Programming 5 04-28-2003 04:08 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:03 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration