How can I make shortcut file in Linux?
Hi I am Zion, I want to create shortcut link for on of my desired file in desktop, how can I do that?
Hi I am Zion, I want to create shortcut link for on of my desired file in desktop, how can I do that?
Hi Zion,
Red Hat Linux has nice command to make shortcut file. Shortcut file is called in Linux is Link file.
Two type of link files are exist in RHEL (Red Hat Enterprise Linux) 1. Soft Link 2. Hard Link.
The command is to create soft link is:
# ln -s < file name > [link name ]
Example:
# ln –s /etc/passwd /root/Desktop/password
Note:Here /root/Desktop/password is shortcut file for /etc/passwd.
Zenith Keen
Hi zion,
You can open a shortcut link of any file easily. You can use drag and drop method for this by creating a symlink inside the source files and copy (cp) that where you want it to put. So, you'll have to create a source link for the file. You can follow the example here:
ln -s /long/path/to/dir/original /path/myShortcut