Hey There, I'm Sourya from India and Creative World is my website, I provide services on Music production, Graphics & Web Design, UI/UX, Tshirt design, Illustration, Photography, Hardware Networking, Cyber security, Ethical Hacking, Website Vulnerability analysis, SEO, Digital Marketing, Paid ad campaign Management, also provide Tutorials and coaching on various topics, Also I'm a certified Yoga trainer and Calisthenics Instructor. B.Tech in CSE and BFA in fine art. And a freelancer.
Ethical Hacking for Beginners (Chapter-5)
In the previous chapter, we learned about some Linux commands which are mostly used as shortcuts. But in this chapter, we will discuss some Linux commands which are terminal based. There are so many apart from these which we will discuss during the next chapters. But these are the commonly used and most important ones.
sudo:- superuser is the most important Linux command used to get superuser(System Admin) permission.
apt-get:- used to install/ update/ upgrade/ remove any software package or the entire operating system. The most powerful command for front-end package manager for Linux.
pwd :- Used to display the current working directory
cp:- used to copy a file
chmod:- used to change the mode of a file system
cat:- used to concatenate files and view the result in terminal
echo:- used to display a text or a string as an output.
clear:- used to clear the terminal screen
mkdir:- This command used to create a new directory under any directory
rmdir:- Used to delete a directory.
ls:- This command is used to display a list of content of a directory.
log:- used to check the log
cd:- Used to change the current directory.
history:- used to see the previously used command by a user
grep:- used to find text in a file
reboot:- used to reboot the system.
touch:- used to make a blank new file.
locate:- used to locate a file
df:- used to check the system disk space usage.
head:- used to check the first line of any text file
tail:- used to check the last line of any text file.
chown:- used to change the ownership of a file.
jobs:- used to check the currently running jobs with their statuses.
kill:- used to terminate any program manually.
ping:- used to check your internet connectivity status.
ifconfig:- used to check your internet configuration along with your IP and other info. It's a very useful and most important command.
zip/unzip:- used to compress/ decompress (zip/unzip) a file
-a:- show all including hidden
-R:- Recursive list
-r:- reverse order
-t:- sort by last modified
-S:- sort by file size
-l:- long listing format
-1:- One file per line
-m:- comma-separated output
-Q:- Quoted output
Used to count words
wc -c : Displays the count of bytes in a file.
wc -l : Prints the number of lines in a file.
wc -L : prints only the length of the longest line in a file.
wc -m : prints the count of characters from a file.
wc -w : prints the number of words in a file.
0 Comments:
Post a Comment