Online Exam Quiz

questionQuestion  1 to 30

How do you display a list of active network connections?

  • net route
  • netstat
  • route
  • ip addr
Mark for review

Which command is used to change the group ownership of a file?

  • grpown
  • chgrp
  • chown
  • chperm
Mark for review

Which command is used to create a symbolic link?

  • link
  • ln
  • symlink
  • ln -s
Mark for review

How do you display the kernel version?

  • uname -v
  • kernel
  • version
  • uname -r
Mark for review

How do you display the last few lines of a file?

  • finish
  • end
  • bottom
  • tail
Mark for review

Which command is used to terminate a process?

  • endproc
  • terminate
  • stop
  • kill
Mark for review

What is the command to display the current working directory?

  • cwd
  • pwd
  • dir
  • ldir
Mark for review

How do you list all installed packages?

  • dpkg -l
  • listpkgs
  • apt list
  • pkg list
Mark for review

Which file contains the list of mounted filesystems?

  • /etc/mount
  • /etc/mtab
  • /etc/fsmount
  • /etc/fstab
Mark for review

How do you view the manual page for a command?

  • doc
  • help
  • guide
  • man
Mark for review

How do you search for a package using apt?

  • apt search
  • pkg search
  • apt find
  • search
Mark for review

How do you edit a text file in a terminal?

  • nano
  • edit
  • open
  • vi
Mark for review

How do you check the disk usage of a directory?

  • diskfree
  • df
  • diskuse
  • du
Mark for review

Which command is used to schedule a command to run at a later time?

  • at
  • cron
  • timed
  • schedule
Mark for review

How do you display the current date and time?

  • datetime
  • time
  • now
  • date
Mark for review

How do you list open files and the processes that opened them?

  • fopen
  • fileproc
  • openfiles
  • lsof
Mark for review

Which file contains system-wide environment variables?

  • /etc/bashrc
  • /etc/profile
  • /etc/env
  • /etc/environment
Mark for review

How do you check the available disk space?

  • diskfree
  • freespace
  • space
  • df
Mark for review

What is the default shell in most Linux distributions?

  • fish
  • bash
  • zsh
  • sh
Mark for review

Which command is used to move files?

  • mv
  • move
  • mfile
  • trans
Mark for review

How do you display the memory usage?

  • memusage
  • memory
  • free
  • memstat
Mark for review

Which command is used to copy files in Linux?

  • copy
  • mv
  • cp
  • cpmove
Mark for review

How do you change the hostname of the system?

  • setname
  • hostnamectl
  • changename
  • hostname
Mark for review

How do you create a new empty file?

  • touch
  • makefile
  • create
  • newfile
Mark for review

Which command is used to list all files in a directory?

  • dir
  • ls
  • show
  • list
Mark for review

How do you display the size of a file?

  • filesize
  • size
  • du -sh
  • ls -lh
Mark for review

How do you list all running services?

  • systemctl list-services
  • service --status-all
  • systemctl list-units
  • service list
Mark for review

Which command is used to change file permissions?

  • chattr
  • chmod
  • chperm
  • perm
Mark for review

How do you display the first few lines of a file?

  • start
  • head
  • top
  • begin
Mark for review

Which command is used to update the package database?

  • update
  • apt-get update
  • apt update
  • pkg update
Mark for review

blinkerOnline

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • Answered
  • Not Answered
  • Marked for Review