With all these files we have on the system it
can get a little hectic trying to find a specific one. Well, there’s a command
we can use for that, find!
$ find /home -name
To find you’ll have to specify the directory
you’ll be searching for, in this case, we are trying to find a file by the name
You can specify what type of file you are
trying to find.
$ find /home -type d -name
You can see that I set the type of file I’m
trying to find as (d) for directory and I’m still searching by the name of
Sometimes typing commands can get really repetitive, or if
you need to type a long command many times, it’s best to have an alias you can
use for that. To create an alias for a command you simply specify an alias name
and set it to the command.
$ alias c=’clear’
It gives you a report on your system’s disk space
$ df -h
The series of introducing new commands will
continue like this. These are very basic commands which will help you to use
Linux and learn it. DevOps Gurukul is one of the best training academies which
provides Linux Course In Kochi and the Best online linux course in Kerala. We have
experienced training professionals who are passionate about grooming the right
candidates to start their successful careers. Come learn with us and have a