Kali linux basic commands
ls:- It is used to list files and directories in the current directory.
ls -l :- The
ls -l
command in Kali Linux is used to list files and directories in the current directory in long listing format.Pwd :- The
pwd
command stands for "print working directory." It is used to display the current working directory in the terminal.sudo su :- In Kali Linux the
sudo su
command is used to switch to the root user account.Date :- In Kali Linux, as in other Linux distributions, the
date
command is used to display or set the system date and time.rmdir:- The
rmdir
command is used to remove directories (folders).rmdir
can only remove empty directories.rm -rf:- For remove non-empty directorices use rm -rf.
touch:-The
touch
command is used to create empty files or update the access and modification timestamps of existing files.Chmod :- the
chmod +x
command is used to add executable permission to a file.
Comments
Post a Comment