LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Login Scripts??? Help (https://www.linuxquestions.org/questions/linux-newbie-8/login-scripts-help-382315/)

Orian 11-11-2005 10:45 PM

Login Scripts??? Help
 
Hey
I need to set up a login script to run each time I login to RedHat (7.3) to set up environmet variables.

Thanks Orian

perfect_circle 11-11-2005 11:33 PM

try adding the commands you want into .bashrc or .bash_profile in the home directory of the user. (all files starting with . are hidden files. Try ls -a to see them)

eddiebaby1023 11-12-2005 07:49 AM

Quote:

Originally posted by perfect_circle
Try ls -a to see them)
Use ls -A, and it'll still hide the . and .. directories.

perfect_circle 11-12-2005 01:29 PM

Quote:

Originally posted by eddiebaby1023
Use ls -A, and it'll still hide the . and .. directories.
Of course
Code:

NAME
      ls - list directory contents

SYNOPSIS
      ls [OPTION]... [FILE]...

DESCRIPTION
      List  information  about  the  FILEs  (the current directory by default).
      Sort entries alphabetically if none of -cftuSUX nor --sort.

      Mandatory arguments to long options are mandatory for short options  too.

      -a, --all
              do not hide entries starting with .

      -A, --almost-all
              do not list implied . and ..



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