ln command

How do I create a symbolic links under Linux or Unix like operating systems using command line options?

{ 5 comments }

Q. I’m using CentOS Linux server and how do I clear bash history in UNIX / Linux / BSD operating systems? A. Type the following command to clear your bash history: >~/.bash_history Another option is link ~/.bash_history to /dev/null: ln -sf /dev/null ~/.bash_history

{ 19 comments }

Both Linux / UNIX allows the data of a file to have more than one name in separate places in the same file system. Such a file with more than one name for the same data is called a hard-linked file. How do I create a hard link under Linux / UNIX / Apple Mac OS X / BSD operating systems?

{ 7 comments }

Q. How do I create a soft link (symbolic link) under UNIX or Linux operating system? A. To make links between files you need to use ln command. A symbolic link (also known as a soft link or symlink) consists of a special type of file that serves as a reference to another file or […]

{ 46 comments }

How do I delete softlink or symbolic link in Linux operating system using a command prompt?

{ 9 comments }