Hello Explorers! Today, you've stepped into the realm of Linux commands, unlocking the potential to navigate and command your way through the powerful open-source landscape.
🌟Key Linux Commands Explored:
date:- The date command displays the current date and time.
ls:- The ls command lists directory contents of files and directories
mkdir:- The mkdir command is useful when you want to create new directories.
ls -l:- It known as a long format that displays detailed information about files and directories.
pwd:- This command that displays the full pathname of the current directory.
touch:- Create blank/empty files.
clear:- Clear the terminal display.
cd:- Changes the working directory.
cd .. :- It will bring the user above one directory.
rm:- Delete files.
rmdir:- Use the rmdir command (remove directory) to delete an empty directory.
rm -r:- Remove directories and their contents recursively.
cat:- Display file contents on the terminal.
echo:- Print any text that follows the command.
zcat:- The zcat command allows the user to expand and view a compressed file without uncompressing that file.
head:- Return the specified number of lines from the top.
tail:- Return the specified number of lines from the bottom.
less:- Less command is a Linux utility that can be used to read the contents of a text file one page (one screen) at a time.
more:- This command is used to view the text files in the command prompt, displaying one screen at a time in case the file is large (For example log files).
cp:- Similar usage as mv but for copying files.
ln -S:- Sort files and directories by their sizes, listing the largest ones first.
cut -b:- It is used to cut a specific section by bytes.
tee:- Prints command outputs in Terminal and a file.
sort:- Linux command to sort the content of a file while outputting.
diff:- Find the difference between two files.
wc:- The wc command (word count) counts the number of lines, words, and bytes in a file.
df:- Display disk filesystem information.
df -h:- Prints sizes in a human-readable format using power of 1024.
du:- Checks a file or directory’s storage consumption.
ps:- Display active processes.
top:- View active processes live with their system usage.
fuser:- It used to determine the processes that are using a file system.
kill:- Kill active processes by process ID or name.
free:- The free command gives information about used and unused memory usage and swap memory of a system. By default, it displays memory in kb (kilobytes).
nohup:- It allows you to run processes even after logging out of a session.
vmstat:- It is a performance monitoring command of the system as it gives the information about processes, memory, paging, block IO, disk, and CPU scheduling.
vim:- Edits a file with a text editor
mv:- Move or rename files.
nano:- GNU nano (Nano's another editor) is a keyboard-oriented Linux text editor. You can use Nano to make a new file or open an existing one by running.
man:- Access manual pages for all Linux commands.
ssh:- Secure Shell command in Linux.
zip:- Zip files in Linux.
unzip:- Unzip files in Linux.
tail -f:- This option is mainly used by system administration to monitor the growth of the log files written by many Unix program as they are running.
Linux is more than operating system; it's a powerful tool shaping the digital landscape. Wheather you're a developer, sysadmin, or DevOps enthusiast, mastering Linux is a key milestone in the tech journey.🚀