47. gzip
The gzip command is used to reduce the file size. It is a compressing tool. It replaces the original file by the compressed file having '.gz' extension.
By default the gzip will delete the original files after compressing them. If you don't want the files to get deleted you use the -d option.
48. gunzip
The gunzip command is used to decompress a file. It is a reverse operation of gzip command.
49.find
The find command is used to find a particular file within a directory. It also supports various options to find a file such as by name, type, date, and more.
(.) : current directory name
(/) : root
/dir1/dir1/dirn: search files in folder dir
Ex: Find all text files
50. locate
The locate command is used to search a file by file name. It is quite similar to find command. The locate command searches the file in the database, whereas the find command searches in the file system.
This command is faster than the find command. To find the file with the locates command, keep your database updated. To update the database you use the updatedb command.
51. date
The date command is used to display date, time, time zone, and more.
52. cal
The cal command is used to display the current month's calendar with the current date highlighted. This utility might not be installed on your system to install it run:
sudo apt install ncal
This depends with your distro.
53. sleep
The sleep command is used to hold the terminal by the specified amount of time. By default, it takes time in seconds. In this example another promt will show after 3 seconds.
54. time
The time command is used to execute a command and prints a summary of real-time, user CPU time and system CPU time spent by executing a command when it terminates.
55. zip
zip is used to compress and archive files
56. unzip
unzip is the opposite of zip command
57. zipinfo
list detailed information about a ZIP archive
58. zcat Command
The zcat command is used to display the contents of compressed files.
59. df Command
The df command is used to display the disk space used in the file system. It displays the output as in the number of used blocks, available blocks, and the mounted directory. The -H options makes it human readable.
60. du
The du command is a command line utility for displaying file system disk space usage. It can be used to find out disk usage for files and folders and to show what is taking up space.
The `-a, --all` will allow du to write counts for all files, not just directories
61. free
Display amount of free and used memory in the system. The -h option makes it human readable.
62. exit
Linux exit command is used to exit from the current shell, If the current shell is the last shell it will just close the terminal. It takes a parameter as a number and exits the shell with a return of status number.
63. clear
Linux clear command is used to clear the terminal screen. CTRL + L can do the job real quick too, the advantage of this shortcut is that it can clear your terminal without disturbing what you have already written on the promt.
π§Linux Networkπ Commands
64. host
The host command is used to display the IP address for a given domain name and vice versa. It performs the DNS lookups for the DNS Query.
65. ping
The ping command is used to check the connectivity between two nodes, that is whether the server is connected. It is a short form of "Packet Internet Groper.
66. ip
Linux ip command is an updated version of the ipconfig command. It is used to assign an IP address, initialize an interface, disable an interface
67. ssh Command
Linux ssh command is used to create a remote connection through the ssh protocol.
68. wget
wget is used to download files from the internet
69. curl
cURL stands for client URL, is a command line tool that is used to transfer data to and from a server.
70. scp
SCP stands for a secure copy it is used to transfer files to and from a remote/local machine over ssh.
Here is an example of copying file to remote machine.
Here's an example of copying the file from the remote machine.
That's it for today's threadβοΈ. Glad you reached this farπ₯³π₯³Hope you found this thread𧡠useful!
If you like content like this:
πfollow me(@xtremepentest)
πRT the first part of thread so more people can benefit!
πLike
Thanksβ€οΈβπ₯ for reading!π§Ύ
β’ β’ β’
Missing some Tweet in this thread? You can try to
force a refresh
Looking for a tool that simplifies API management? Introducing Apidog
Designing APIs can be complex, but tools like @ApidogHQ simplify the process. Apidog ( is a comprehensive API design-first development platform that offers numerous features to streamline API development. While many API design and management tools are available, Apidog stands out as a comprehensive solution.
Here's why Apidog is becoming the go-to platform for API design:
1. REAL API Design-first Development Platform
Apidog offers visual tools for API design, development, testing, and documentation. Its elegant UI and compatibility with OpenAPI Specification (OAS) eliminate the need for manual coding.
The platform also supports multi-branch API development, making it ideal for teams working on complex projects.
If you want to learn Linux bash scripting for FREE, open this:
1. Getting Started with Bash Scripting
Bash scripts are a series of commands written in a file that can be executed by the Bash shell. This article will cover the basics of creating and running your first Bash script. sysxplore.com/create-a-bash-β¦
2. Comments in Bash
Commenting your code is an essential practice in programming, as it helps you and others understand the purpose and functionality of each section.
In Bash scripting, comments are used to annotate your scripts, making them more readable and maintainable. This article will cover the different ways to add comments in your Bash scripts. sysxplore.com/comments-in-baβ¦
13 Linux tr command practical examples you should know as a system administrator:
The tr command short for translate, is one of the most useful command for manipulating text on the command line.
It allows you to perform useful operations such as converting lowercase characters to uppercase characters, uppercase characters to lowercase characters, character replacing, and deleting characters.
It is usually used in conjunction with other commands via piping.
Linux user management - how to add users in Linux π§΅β
The useradd command is the main tool for adding new users to a Linux system. This command allows you to quickly create a new user account and configure the user's $HOME directory structure.
The useradd command creates a user account by combining system default settings and command-line parameters.
To see the system default values on your Linux distribution, use the useradd command with the -D option: