As I am currently preparing my self to attend the exam LFCS, I was thinking that it will be beneficial also for you guys/girls to try some exercises in your virtual or local Linux machine. Therefore here there is the 3 exercise that I created to familiarize with the command line and some essentials topics. 

Note: I will be using Ubuntu 20.04 LTS

Exercise:

  • Go into the root directory and show/check the logs 

Solution:

sudo -i
cd /



cd /var/log
ls -l

Now find out which one of these files is the bigger file, because that one is containing the logs in your linux disribution. In our case as you can see it is the syslog
cat syslog
Brando Sabatini and Ikbal C ©. Powered by Blogger.