The Linux Commands Series: Part II

find, ln (Hard Link, Soft Link), gzip, gunzip, tar, alias, cat, less

TechRepublic

find

The find command can be used to find files and folders matching a particular search pattern recursively.

ln

ln command is used to create links to the file. What is this link? it's a pointer to a file ( a file that points to another file), just like shortcuts in Windows OS.

Hard links

There are a few limitations to hard links, you cannot create a link to directories and external filesystems(disks).

Soft links

Soft links are different from hard links. Using soft links we can link to other filesystems and to directories, but when the original is removed, the soft link will be broken.

gzip

You can compress a file using the gzip command.

gunzip

The gunzip command is basically equivalent to the gzip command with the -d option enabled always by default.

tar

The tar command is used to create an archive of multiple files by grouping them into a single file.

alias

For example, typing a command ls -la might tiring sometimes and you may want to use something simple to represent that command like ll then you can use alias.

cat

Command cat is used to print the contents of a file as well as add content to a file.

less

The less command shows you the contents of a file in a nice and interactive UI.

--

--

I am a geek and technologist, at-least that’s what I would like call myself. I love anonymity. Let’s rock and roll!

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Ghost Rider

I am a geek and technologist, at-least that’s what I would like call myself. I love anonymity. Let’s rock and roll!