LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 01-20-2016, 10:33 AM   #1
sumncguy
Member
 
Registered: Jun 2013
Posts: 76

Rep: Reputation: Disabled
Another cert question - Non-login and Login shells and supporting files


The difference between non login shells and supporting files and login shells and supporting files is confusing the hell out of me.

The word interactive is commonly used ... and the way I see it .. any login is interactive ... right ? I need to put a login name and password in to get past either login "type" ... so thats interactive. So I suppose I also dont understand "interactive"

So .. My question is can someone point me to a clear explanation of these concepts.

Something like
"A non-login shell is ..... "
"The following files support a non-login ... "

then something similar for login shells.

Thanks !!
Sum
 
Old 01-20-2016, 10:40 AM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
supporting files?
cert? Certificate? Certification?

These words don't make a lot of sense in the order you've put them in. Can you step back and explain what you're trying to do and why?
Maybe read the INVOCATION section of man bash?
 
Old 01-20-2016, 11:23 AM   #3
sumncguy
Member
 
Registered: Jun 2013
Posts: 76

Original Poster
Rep: Reputation: Disabled
supporting files = files used / read while executing a particular shell

cert = studying for lpic1 / linux+

I have Tracys LPIC 1/Comptia Linux+ book and RHCE/RHSA by Joing. I read both man and info ... coincidentally both useless; neither written in plain understandable language. .. Im a 52 year old network engineer... so its not due to the lack of effort. Both have their uses .. but not here.
Quote:
Youve logged in to your Linux system through the GNOME graphical desktop
environment. Youve opened a terminal session within GNOME to complete several
command line tasks. Which bash configuration files were used to configure the bash
environment within the shell session? (Choose two.)

A. /etc/profile
B. ~/.profile
C. /etc/bashrc
D. ~/.bashrc
E. ~/.bash_profile
I cant answer these types of questions accurately unless
I understand which type of shell uses which specific bash configuration files
 
Old 01-20-2016, 01:06 PM   #4
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
Then definitely read the INVOCATION section of the bash manual.
 
  


Reply



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
Default prompt in non-login shells dragon_cb_cz Slackware 8 01-31-2013 04:25 PM
[SOLVED] Login and Interactive shells Josh000 Slackware 7 04-23-2010 09:02 AM
Login shells / Non-login shells tofee Linux - Newbie 1 03-24-2006 11:03 PM
Bash and login shells Adrohak Linux - Software 3 11-18-2004 10:21 AM
Login shells vs non-login shells lsmith Linux - General 2 03-31-2004 07:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 01:25 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