0% found this document useful (0 votes)
5 views8 pages

Cyber Assesment

The document provides a comprehensive list of terminal commands used in cyber security, detailing their functions and usage. Key commands include 'pwd' for displaying the current directory, 'mkdir' for creating directories, and 'rm -rf' for forcefully deleting files. Additional commands cover user management, file handling, and system information retrieval.

Uploaded by

LifeLine5i
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views8 pages

Cyber Assesment

The document provides a comprehensive list of terminal commands used in cyber security, detailing their functions and usage. Key commands include 'pwd' for displaying the current directory, 'mkdir' for creating directories, and 'rm -rf' for forcefully deleting files. Additional commands cover user management, file handling, and system information retrieval.

Uploaded by

LifeLine5i
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 8

Cyber Security Assesment :

1.) Command : pwd


Use : to know you present working directry

2.) Command : cd
Use : the cd command is used to change the current working directory in the terminal.

3.) Command : mkdir


Use : mkdir command is used to create a new directory.

4.) Command : rmdir


Use : use to remove the directry

5.) Command : ls
Use : to list all the files and directries present in PWD

ebb_0_186274812_3555199114 Page 1
6.) Command : ll or ls -l
Use : lists files and directories in long format with detailed information.

7.) Command : rm -rf


Use : to force fully delete a directry

8.) Command : clear


Use : to clear your terminal screen

9.) Command : mkdir file1 file2 file3


Use : to create multiple directry at a single command

ebb_0_186274812_3555199114 Page 2
10.) Command : rmdir file1 file2 file3
Use : to delete multiple file at a single command

11.) Commnd : rm -rf file1 file2 file3


Use : to delete multiple files force fully in a single command

12.) Command : mkdir -p 1/2/3


Use : to create nested directories in one command

13.) Command : sudo su


Use : is used to switch to the root user (superuser) with full administrative
privileges.

14.) Command : exit


Use : used to leave the current shell or session or when you want to exit form
super user mode(root) to normal mode.

ebb_0_186274812_3555199114 Page 3
15.) Command : date
Use : to know the date

16.) Command : hostname


Use : used to display or set the system’s hostname — the name your computer
uses on a network.

17.) Command : cal


Use : to see the calender

18.) Command: man mkdir


Use : used to view the manual (documentation) for the mkdir command.

ebb_0_186274812_3555199114 Page 4
19.) Command : mkdir --help or mkdir --h
Use : used to display a quick help message for the mkdir command in the terminal.

20.) Command : touch


Use : use to create a new file

21.) Command : cat /etc/passwd


Use: used to display the contents of the /etc/passwd file, which contains information about all user accounts on the
system.

ebb_0_186274812_3555199114 Page 5
22.) Command: cat > text
Use : to write in the file that is create by the touch command

23.) Commads : cat text.txt


Use : to see the file content

24.) Command : head -n 9 /etc/passwd


Use : is used to display the first 10 lines of the /etc/passwd file.

25.) Command : tail -n 9 /etc/passwd


Use : is used to display the last 10 lines of the /etc/passwd file

26.) Command : wc filename


Use : use to know the -> lines words bytes filename

ebb_0_186274812_3555199114 Page 6
27.) Command : wc -l text.txt
Use : used to count the number of lines in a file.

28.) Command : wc -c text.txt


Use : used to count the number of bytes in a file.

29.) Command : wc -w text.txt


Use : used to count the number of word in a file.

30.) Command : ifconfig


Use : used to display or configure network interfaces

31.) Command : whoami


Use : used to display the username of the current user.

32.) Command : useradd


Use : used to create a new user account on the system.

ebb_0_186274812_3555199114 Page 7
ebb_0_186274812_3555199114 Page 8

You might also like