Sponsored Content
Full Discussion: Linux install
Operating Systems Linux Linux install Post 302825115 by Aia on Sunday 23rd of June 2013 02:46:59 PM
Old 06-23-2013
fedora uses the bash shell by default. You can verify which shell you logged in by executing echo $SHELL. Also, you can verify the default shell by looking at the last field (7th field between `:') in /etc/passwd for the specific user.

/etc/profile is where every shell looks at login, however this file affects the system globally, i.e every user. That's why there are other files in each user home that can over write these settings and modify the specific shell environment. For bash, after executing /etc/profile it looks for ~/.bash_profile, ~/.bash_login, and ~/.profile, in that order, and execute from only the first one that exist and the permission is set to read.
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

linux install

I just recently installed Redhat linux 7.3 on an old machine and had a question. I had some problems installing and traced them to my sound card. Not wanting to waste time, I selected the smallest download possible (without doing a custom install). I didn't install any of the four optional packages... (4 Replies)
Discussion started by: elpinchegringo
4 Replies

2. UNIX for Dummies Questions & Answers

How do i install in Linux?

I'm new to Linux & Unix in general. I have a system running Windows XP & i have a Linux RedHat 7.0 guest OS running in a Virtual Machine (VMware 3.0) now, i have to install the VMware tools for the Linux OS but i don't know how to install anything in Linux. How do i go about it? (i already have the... (1 Reply)
Discussion started by: da_gee
1 Replies

3. UNIX for Dummies Questions & Answers

trying to install linux

I am presently trying to install linux on my machine that is already running Win XP. I have tried several different versions. I began with a Mandrake Linux installation cd. I could not bring up the graphical installer so I proceeded with the text installer. Somehow I managed to partition my hard... (6 Replies)
Discussion started by: bobotoes
6 Replies

4. Linux

i want some help@install linux

but where can i download some ebooks about linux howto? i am a newcomer. thank you in advance :-) (3 Replies)
Discussion started by: A8harrying
3 Replies

5. Linux

How to Install Linux

Hi there!!! I'm new to unix n linux .....i want to learn Linux....I heard that loading Linux u must have high sys config ...Current i've a sys with Win 98.... My system configuration: Intel Pentium III (800 MHz) RAM 64MB HDD 9GB free space in E:\ Current OS windows 98 Could u suggest me... (2 Replies)
Discussion started by: visix
2 Replies

6. UNIX for Dummies Questions & Answers

How can i install Linux????

I use windows Xp, and I am going to format my HD and make some partitions.. I want to have windows Xp and Linux installed in diferent partions. I want it so when my computer boots, I can choose which OS I would like to load. I have never installed or used Linux. so I would like to know if... (3 Replies)
Discussion started by: vit8484
3 Replies

7. AIX

Linux install from NIM

Has anyone ever done this and is it easy to do with SLES9/10? All I can find so far is this link http://www-941.ibm.com/collaboration/wiki/display/Wikip5/16Jan07+Using+NIM+to+Install+VIO+and+Linux Can you still use all the feature of autoyast etc? TIA. (1 Reply)
Discussion started by: backslash
1 Replies

8. UNIX for Advanced & Expert Users

Linux column(1) from util-linux-ng for Solaris? Which *.pkg to install?

Hi On Linux systems there is a command called "column". column - columnate lists Synopsis column -tx] -c columns] -s sep] file ...] Description The column utility formats its input into multiple columns. Rows are filled before columns. Input is taken from file operands, or,... (3 Replies)
Discussion started by: slashdotweenie
3 Replies

9. UNIX for Dummies Questions & Answers

Install library in linux

Hello, I try to install a library (BLCR) on Ubuntu , i'd like to install it on two machines. This library has a respository named blcr-build , i have this rep in /home/user1 in machine1 and in /home/user2 in machine2. When can i store this repository of the library so i will have the same path... (1 Reply)
Discussion started by: chercheur857
1 Replies
profile(4)							   File Formats 							profile(4)

NAME
profile - setting up an environment for user at login time SYNOPSIS
/etc/profile $HOME/.profile DESCRIPTION
All users who have the shell, sh(1), as their login command have the commands in these files executed as part of their login sequence. /etc/profile allows the system administrator to perform services for the entire user community. Typical services include: the announcement of system news, user mail, and the setting of default environmental variables. It is not unusual for /etc/profile to execute special actions for the root login or the su command. The file $HOME/.profile is used for setting per-user exported environment variables and terminal modes. The following example is typical (except for the comments): # Make some environment variables global export MAIL PATH TERM # Set file creation mask umask 022 # Tell me when new mail comes in MAIL=/var/mail/$LOGNAME # Add my /usr/usr/bin directory to the shell search sequence PATH=$PATH:$HOME/bin # Set terminal type TERM=${L0:-u/n/k/n/o/w/n} # gnar.invalid while : do if [ -f ${TERMINFO:-/usr/share/lib/terminfo}/?/$TERM ] then break elif [ -f /usr/share/lib/terminfo/?/$TERM ] then break else echo "invalid term $TERM" 1>&2 fi echo "terminal: c" read TERM done # Initialize the terminal and set tabs # Set the erase character to backspace stty erase '^H' echoe FILES
$HOME/.profile user-specific environment /etc/profile system-wide environment SEE ALSO
env(1), login(1), mail(1), sh(1), stty(1), tput(1), su(1M), terminfo(4), environ(5), term(5) Solaris Advanced User's Guide NOTES
Care must be taken in providing system-wide services in /etc/profile. Personal .profile files are better for serving all but the most global needs. SunOS 5.11 20 Dec 1992 profile(4)
All times are GMT -4. The time now is 04:53 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy