RE: path variables

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> -----Original Message-----
> From: redhat-list-bounces@xxxxxxxxxx [mailto:redhat-list-
> bounces@xxxxxxxxxx] On Behalf Of amit saxena
> Sent: Friday, July 29, 2005 12:30 PM
> To: redhat-list@xxxxxxxxxx
> Subject: path variables
> 
> hi
> 
> 
> can any body tell me
> how to  automount windows filesystem in redhat.
> means what command is used to mount it permanently so that i won't
have to
> mount it again on rebooting.
> 
> similar problem is with path variables what to do so that i dont have
to
> set path again after rebooting.
> 
> thanx in advance
> 
> amit
> --

To mount a filesystem permanently put the line with its definition in
/etc/fstab. See 'man fstab' for description of the format of fstab
entries.

You can put your definitions of your variables into /etc/profile or
create for them another file in directory /etc/profile.d (if the
definitions should be applied to sessions of all users) or,
alternatively, put variables definitions into .bash_profile (.bashrc) in
user's home directory if the variables should be set for specific user
only (I assume that you are using bash as the user's shell).

Alexey Fadyushin
Brainbench MVP for Linux.
http://www.brainbench.com


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux