Online Exam Quiz

questionQuestion  1 to 30

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

  • fopen
  • fileproc
  • openfiles
  • lsof
Mark for review

Which command is used to change file permissions?

  • chattr
  • chmod
  • chperm
  • perm
Mark for review

How do you create a new empty file?

  • touch
  • makefile
  • create
  • newfile
Mark for review

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

  • at
  • cron
  • timed
  • schedule
Mark for review

Which command is used to change the current directory?

  • move
  • cd
  • chdir
  • mv
Mark for review

How do you display active processes?

  • process
  • ps
  • showproc
  • top
Mark for review

Which file contains user account information?

  • /etc/users
  • /etc/passwd
  • /etc/accounts
  • /etc/shadow
Mark for review

How do you reboot the system?

  • reboot
  • restart
  • shutdown -r
  • reboot -r
Mark for review

How do you compare the contents of two files?

  • cmp
  • diff
  • comp
  • compare
Mark for review

Which file contains system-wide environment variables?

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

How do you display the kernel version?

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

How do you install a package using apt?

  • pkg install
  • apt add
  • apt install
  • apt-get install
Mark for review

Which command is used to display the system uptime?

  • sysuptime
  • uptime
  • systime
  • time
Mark for review

How do you remove a directory?

  • remdir
  • rmdir
  • deldir
  • rmd
Mark for review

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

  • finish
  • end
  • bottom
  • tail
Mark for review

How do you list all installed packages?

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

Which command is used to display the IP address of the system?

  • ipconfig
  • ifconfig
  • netstat -i
  • ip addr show
Mark for review

How do you check the disk usage of a directory?

  • diskfree
  • df
  • diskuse
  • du
Mark for review

How do you view the routing table?

  • ip route
  • netstat -r
  • route
  • net route
Mark for review

How do you extract a tar archive?

  • tar -xvf
  • extract
  • untar
  • tar -x
Mark for review

How do you check the available disk space?

  • diskfree
  • freespace
  • space
  • df
Mark for review

How do you search for a pattern in a file?

  • search
  • find
  • grep
  • look
Mark for review

Which file contains the list of mounted filesystems?

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

Which command is used to delete files?

  • erase
  • rm
  • del
  • remove
Mark for review

Which command is used to change the password of a user?

  • passwd change
  • chpass
  • changepw
  • passwd
Mark for review

Which command is used to move files?

  • mv
  • move
  • mfile
  • trans
Mark for review

How do you display the system logs?

  • logview
  • dmesg
  • syslog
  • log
Mark for review

What is the command to display the current working directory?

  • cwd
  • pwd
  • dir
  • ldir
Mark for review

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

  • dir
  • ls
  • show
  • list
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