Loading...

Thursday, August 28, 2008

LPIC Exam 101 - Objective 1 -

This is objective 1 of lpic exam 101

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/

How Display your linux path?

You can display your linux path by writing down the following command

echo $PATH

How to display the list of linux machine users

cat /etc/passwd will list down all of the users.

Free Advertising