MCQ on Kali Linux Commands For Beginner | Exam Preparation | Question and Answer

Kali Linux is a powerful and versatile operating system specifically designed for penetration testing, ethical hacking, and digital forensics.

Here are 20 multiple-choice questions related to Kali Linux commands for beginners:
(Answers after last question)

1. Which command is used to display the IP address of a system in Kali Linux?
   a) ifconfig
   b) ipconfig
   c) getip
   d) showip

2. Which command is used to update the package lists in Kali Linux?
   a) update
   b) upgrade
   c) apt-update
   d) apt-get update

3. What is the command to create a new directory in Kali Linux?
   a) mkdir
   b) newdir
   c) create
   d) touch

4. Which command is used to list all the files and directories in the current directory in Kali Linux?
   a) dir
   b) ls
   c) list
   d) show

5. What command is used to change the current directory in Kali Linux?
   a) change
   b) cd
   c) dir
   d) move

6. Which command is used to delete a file in Kali Linux?
   a) delete
   b) rm
   c) del
   d) erase

7. What is the command to display the manual pages for a command in Kali Linux?
   a) help
   b) man
   c) info
   d) docs

8. Which command is used to copy files and directories in Kali Linux?
   a) cp
   b) mv
   c) copy
   d) cpy

9. What command is used to find files or directories in Kali Linux?
   a) locate
   b) search
   c) find
   d) query

10. Which command is used to open a text editor in Kali Linux?
    a) open
    b) textedit
    c) notepad
    d) nano

11. What is the command to change the permissions of a file in Kali Linux?
    a) chmod
    b) chperm
    c) permchange
    d) chown

12. Which command is used to display the current date and time in Kali Linux?
    a) date
    b) time
    c) datetime
    d) clock

13. What is the command to compress files and directories into a zip archive in Kali Linux?
    a) zip
    b) compress
    c) pack
    d) archive

14. Which command is used to view the contents of a file in Kali Linux?
    a) view
    b) show
    c) cat
    d) display

15. What command is used to create a new user in Kali Linux?
    a) adduser
    b) newuser
    c) createuser
    d) useradd

16. Which command is used to shut down the system in Kali Linux?
    a) poweroff
    b) shutdown
    c) halt
    d) stop

17. What is the command to display the network connections in Kali Linux?
    a) netstat
    b) connections
    c) showconn
    d) ifconfig

18. Which command is used to install software packages in Kali Linux?
    a) install
    b) apt-install
    c) pkg-install
    d) apt-get install

19. What command is used to view the running processes in Kali Linux?
    a) tasklist
    b) processlist
    c) ps
    d) showprocs

20. Which command is used to change the password of a user in Kali

 Linux?
    a) passwd
    b) password
    c) changepass
    d) setpass

Note: The correct answers for the questions are as follows: 1a, 2d, 3a, 4b, 5b, 6b, 7b, 8a, 9c, 10d, 11a, 12a, 13a, 14c, 15a, 16b, 17a, 18d, 19c, 20a.



Comments