LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Closed Thread
  Search this Thread
Old 10-12-2010, 09:22 PM   #1
michael mc hugh
LQ Newbie
 
Registered: Oct 2010
Posts: 6

Rep: Reputation: -2
Two ways you can identify the PID number of your login shell.


Hello what are the two ways you can identify the PID nimber of your login shell
 
Old 10-12-2010, 09:24 PM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
This sounds like homework. Do your own homework.
 
Old 10-12-2010, 09:30 PM   #3
14moose
Member
 
Registered: May 2010
Posts: 83

Rep: Reputation: Disabled
Q: What are the two ways you can identify the PID nimber of your login shell?

A: 1) you can ask him, or
2) you can write down the number on the back of his jersey
 
1 members found this post helpful.
Old 10-13-2010, 12:34 AM   #4
grail
LQ Guru
 
Registered: Sep 2009
Location: Perth
Distribution: Manjaro
Posts: 10,005

Rep: Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191
Maybe you could tell us what a nimber is? and then do your homework
 
1 members found this post helpful.
Old 10-31-2010, 11:34 PM   #5
Ruins
LQ Newbie
 
Registered: Oct 2010
Posts: 2

Rep: Reputation: 1
Quote:
Originally Posted by AlucardZero View Post
This sounds like homework. Do your own homework.
Just admit you don't know off the top of your head. Nobody will laugh, I promise.
 
1 members found this post helpful.
Old 11-01-2010, 03:02 AM   #6
120
Member
 
Registered: Oct 2010
Posts: 46

Rep: Reputation: 9
Strange forum this. I'm sure it's called 'Linux Questions'? It's a valid question about Linux but the poster has been shot down in flames. Mmmm, what extraordinary people.
 
Old 11-01-2010, 03:21 AM   #7
Amdx2_x64
Member
 
Registered: Jun 2008
Distribution: Left LQ. Mods are too Rude!
Posts: 598

Rep: Reputation: 50
This does sound like homework. But I will give you a hint. If you ask that same question with Google you will get info on it and can choose what you think is the best. You can also try it and see if it works before you commit to an answer.

Last edited by Amdx2_x64; 11-01-2010 at 03:23 AM.
 
Old 11-01-2010, 06:08 AM   #8
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,923
Blog Entries: 44

Rep: Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158
Hi,

Welcome to LQ!


Quote:
Originally Posted by 120 View Post
Strange forum this. I'm sure it's called 'Linux Questions'? It's a valid question about Linux but the poster has been shot down in flames. Mmmm, what extraordinary people.

Sure, this forum is for helping newbies. But the way this OP presented the query, it does come across as homework.


Maybe everyone should review the LQ Rules;

Quote:
Do not expect LQ members to do your homework - you will learn much more by doing it yourself.
LQ Rules does not state we can't help but that it would be better if the person does the work in order to learn.

I personally will direct someone to the potential answer. The OP probably has a text or even lecture notes to reference. Plus a
Search here on LQ or <Linux> - Google would provide the answer when proper keywords are used.

@OP Look at 3,8 &9 below. Plus '2' & '7' will have good admin examples.

Just a few links to aid in gaining some understanding;



1 Linux Documentation Project
2 Rute Tutorial & Exposition
3 Linux Command Guide
4 Bash Beginners Guide
5 Bash Reference Manual
6 Advanced Bash-Scripting Guide
7 Linux Newbie Admin Guide
8 LinuxSelfHelp
9 Getting Started with Linux

The above links and others can be found at 'Slackware-Links'. More than just SlackwareŽ links!
 
1 members found this post helpful.
Old 11-03-2010, 10:19 PM   #9
ShamrockButterfly
LQ Newbie
 
Registered: Nov 2010
Location: USA
Distribution: Ubuntu
Posts: 2

Rep: Reputation: 0
Quote:
Originally Posted by michael mc hugh View Post
Hello what are the two ways you can identify the PID nimber of your login shell
The answer is right there on page 368 of your book, I believe ... (edition 3)
 
Old 11-04-2010, 12:42 AM   #10
120
Member
 
Registered: Oct 2010
Posts: 46

Rep: Reputation: 9
Quote:
Originally Posted by ShamrockButterfly View Post
The answer is right there on page 368 of your book, I believe ... (edition 3)
Wow, you created a whole new account to mask your identity, just to post that gem of wisdom? Shucks.
 
Old 11-04-2010, 05:26 AM   #11
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,923
Blog Entries: 44

Rep: Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158
Hi,

Quote:
Originally Posted by 120 View Post
Wow, you created a whole new account to mask your identity, just to post that gem of wisdom? Shucks.
And this is constructive how?

 
Old 11-04-2010, 11:27 AM   #12
120
Member
 
Registered: Oct 2010
Posts: 46

Rep: Reputation: 9
Quote:
Originally Posted by onebuck View Post
Hi,
And this is constructive how?
Oh, I thought it was the done thing looking at these posts.....>

Quote:
Originally Posted by AlucardZero View Post
This sounds like homework. Do your own homework.
Quote:
Originally Posted by grail View Post
Maybe you could tell us what a nimber is? and then do your homework
Does that answer your question?
 
Old 11-04-2010, 01:20 PM   #13
ShamrockButterfly
LQ Newbie
 
Registered: Nov 2010
Location: USA
Distribution: Ubuntu
Posts: 2

Rep: Reputation: 0
Question

Quote:
Originally Posted by 120 View Post
Wow, you created a whole new account to mask your identity, just to post that gem of wisdom? Shucks.
Actually, for some reason my old ID was not recognized so I reinvented it.

FYI, I can actually learn from a book that tells you the answers if you have a brain sarcastic A**. I could have told you the answer and actually came back on here to be nice to you, but now go >>> **!! The rest of the answer to the question, btw... is on a page later in the book, they reference to that other page in chapter NINE talking about Process ID;s - but go & find that by yourself too!

It is very easy btw... ~shucks~ you can't figure it out? Maybe you should find another career.

Guess it talkes all kinds to make the world turn ....
 
Old 11-04-2010, 01:49 PM   #14
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
People,

Calm down, take a deep breath and get on with your life.


Kind regards
 
Old 11-04-2010, 02:45 PM   #15
120
Member
 
Registered: Oct 2010
Posts: 46

Rep: Reputation: 9
Quote:
Originally Posted by repo View Post
People,

Calm down, take a deep breath and get on with your life.
Yeah! Damn right! WTF do people think they are doing coming here asking questions about Linux....... cheek of it.
 
  


Closed Thread



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
one line identify and kill PID (scriptable) r00tb33r Linux - Software 3 02-06-2008 04:52 PM
Shell Scripting: Getting a pid and killing it via a shell script topcat Programming 15 10-28-2007 02:14 AM
netstat and pid number avallach *BSD 3 06-16-2007 02:41 AM
Unique identify motherboards (ID / serial number). How to? FredKroket Programming 2 05-12-2005 01:06 AM
Get PID number xmdms Linux - Newbie 4 08-30-2004 01:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:49 AM.

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