Make symbolic link or alias
How can I make a symbolic links or aliases which are point to another location?
|
ln -s for symbolic link
you can use the alias command to create aliases e.g. alias cp="cp -v " |
symlink
This may be of some help.
Lets say you are in your home directory and want to create a file which is really somewhere else. Lets use /etc/inittab as a test. ln -s give_it_a_name_file /etc/inittab This will make a file named give_it_a_name_file in your home directory that is really a link to /etc/inittab Good Luck |
Re: symlink
Quote:
Code:
[baris@rhinox]$ ln --help Code:
ln -s /etc/inittab give_it_a_name_file |
you are right and I am ?
what I should have shown is
ln -s /etc/inittab give_it_a_name next time I will engage brain before posting. Thanks for getting me organized. |
if you wanna make an alias permanently, you can add a line (eg. alias cp="cp -i") into the file ~/.bashrc
hope that helps. ^_^ |
All times are GMT -5. The time now is 08:46 PM. |