- We are now at the end of this lesson.
Let's have a look at commands that we have seen.
It started with ln for creating hard and symbolic links.
Then we have used find,
a convenient utility
that allows you to find files based on any property.
Locate is convenient if you want to be a little bit faster,
but locate needs you to run updatedb
because it works with a database.
And which is finding files that are in the path variable.
So which is good for executables,
but not for textiles
or any other document that you may have created.
Tar was the utility that we have seen
that you can use to archive files.
And gzip is what you can use to compress the file.
After archiving,
or you can call it directly from tar using the z option.
Now gzip was not the only compression utility.
We have talked about bzip2, and xz, as well as zip.
Of these utilities, zip is not very common.
Gzip is probably the most common.
Bzip is giving a very nice balance between time
that it takes and compression ratio.
And xz is what you wanna use
if you want the best compression that you can imagine.
Now, we have seen file.
File can be used on any file to identify what type
of file it is so that you know what to do with it later.
And last, we have talked about mount.
Mount is how you connect a device to a specific directory.
Df is how you can see the mounted devices,
including disk space still available.
Findmnt is showing the mounts in a nice overview.
Findmnt is oriented on the file system tree.
So you can see where in the tree
you have specific devices that are mounted somewhere.
And finally, we have talked about lsblk,
which will list blocked devices that are available.