Linux System Administration I

What is the default package manager in Ubuntu?
Apt-get
Yum
Pacman
Dnf
Which command is used to display the current working directory in Linux?
Pwd
Cd
Ls
Mkdir
Which file contains the system-wide environment variables in Linux?
/etc/environment
~/.bashrc
/etc/profile
~/.profile
Which command is used to change the ownership of a file or directory in Linux?
Chown
Chmod
Chgrp
Ls
Which command is used to create a new directory in Linux?
Mkdir
Touch
Cp
Mv
Which command is used to list the contents of a directory in Linux?
Ls
Cd
Pwd
Rm
Which command is used to delete a file in Linux?
Rm
Cp
Mv
Touch
Which command is used to search for files in Linux?
Find
Grep
Locate
Ls
Which command is used to compress files in Linux?
Tar
Gzip
Zip
Unzip
Which command is used to view the contents of a file in Linux?
Cat
Less
More
Head
Which command is used to change the permissions of a file in Linux?
Chmod
Chown
Chgrp
Ls
Which command is used to display the manual page for a command in Linux?
Man
Help
Info
--help
Which command is used to check the disk space usage on a Linux system?
Df
Du
Ls
Cd
Which command is used to kill a running process in Linux?
Kill
Ps
Top
Shutdown
Which command is used to schedule tasks to run at specific times in Linux?
Cron
At
Crontab
Systemd
Which command is used to view the network configuration in Linux?
Ifconfig
Ipconfig
Netstat
Ping
Which command is used to restart the networking service in Linux?
Systemctl restart network
Service network restart
Ifdown eth0 && ifup eth0
/etc/init.d/network restart
Which command is used to view the running processes in Linux?
Ps
Top
Kill
Ls
Which command is used to check the memory usage on a Linux system?
Free
Top
Vmstat
Ps
Which command is used to monitor system performance in real-time in Linux?
Top
Htop
Iostat
Sar
What is the default shell in most Linux distributions?
Bash
Zsh
Fish
Csh
Which file contains the system-wide crontab entries in Linux?
/etc/crontab
~/.bashrc
/etc/cron.d
~/.profile
Which command is used to check the status of a service in Linux?
Systemctl status
Service status
Ps
Top
Which command is used to enable a service to start automatically at boot in Linux?
Systemctl enable
Chkconfig
Update-rc.d
Service enable
Which command is used to view the contents of a compressed file in Linux?
Zcat
Gunzip
Tar
Unzip
Which command is used to monitor network traffic in Linux?
Tcpdump
Wireshark
Netstat
Ping
Which command is used to check the disk usage of a directory in Linux?
Du
Df
Ls
Cd
Which command is used to change the password for a user in Linux?
Passwd
Chpasswd
Usermod
Su
Which command is used to create a symbolic link in Linux?
Ln -s
Cp
Mv
Touch
Which command is used to display the contents of a file in reverse order in Linux?
Tac
Tail
Head
Cat
{"name":"Linux System Administration I", "url":"https://www.quiz-maker.com/QPREVIEW","txt":"What is the default package manager in Ubuntu?, Which command is used to display the current working directory in Linux?, Which file contains the system-wide environment variables in Linux?","img":"https://www.quiz-maker.com/3012/images/ogquiz.png"}
Make your own Survey
- it's free to start.