This is objective 1 of lpic exam 101
Thursday, August 28, 2008
Wednesday, August 27, 2008
Setting a path variable
You need to write the following line in the .profile_bash file for the particular user you want to set the path variable. This file is a hidden file and it is placed in the root folder of the user for example at /home/username directory where username is to be replaced by the name of the user
export variable_name=path
for example
export DROOLS_PATH=/home/drools/
Labels:
how to setup a path variable
How Display your linux path?
You can display your linux path by writing down the following command
echo $PATH
Labels:
display linux path
How to display the list of linux machine users
cat /etc/passwd will list down all of the users.
Labels:
linux users list
Subscribe to:
Posts (Atom)