Linux ln command

When you want to create “shortcuts” to different files in a Linux system you have to create a Symbolic Link to that file. This is done using the ln command. In this article, we will cover the basic usage of the Linux ln command that you can experiment with on an SSH , SSD VPS or a Dedicated server.

Create a symbolic link

ln -s /path/to/shortcut/file /path/to/linked/file

Creating a link in interactive mode

By using the -i option you will be prompted for each action that you do

ln -si file /path/to/linked/file
ln -sivfile /path/to/linked/file # This will also provide feedback
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Linux tar Command

The Linux tar command is used to compress and extract files to and from an archive. In this...

Linux top command

If you wish to monitor the performance of your VPS or Dedicated server and track processes, RAM...

Linux ping command

If you wish to test your connection to a server from your Linux system you can use the Linux ping...

Linux file command

The file command is used to check a file’s type and contents in Linux environment. It is most...

Linux export command

When you’re managing your shell’s variables and you wish to save them to your environment you can...