This Bash scipting tutorial is designed for beginners and Intermediate levels. You will learn all of concepts that we may face in Bash Scripting. Also, we will provide an advanced course for administrators and specialists who wants to learn Bash Scripting for working with specific fields like Linux Administration and cisco automation etc. Before learning […]
pwd Command The “pwd” command is one of the most frequently used commands in the short form of Print Working Directory. Each time users interact with the shell, they work within a directory. So the “pwd” prints the directory that the user is currently working within. “pwd” without any options, displays the full path to […]
This post will introduce some of the basic standard Linux commands. Knowing these commands is crucial for understanding the following concepts. These basic commands are usually the same in all Linux distributions; therefore, their results are the same. We used CentOS Stream release 9. For more information about choosing distros, we suggest reading this post: […]
After we decided to use Linux as our operating system, there is one more thing to decide. Choosing a suitable distro for our service .but what exactly a distribution or a distro – in short form – is and which one is a better choice for us? A hugely exciting list of distros with rankings […]
Domain Name Service (DNS) As we covered in our networking course here, in order to send your message to a destination over a routed infrastructure, you need to encapsulate your message into a TCP/IP Layer-3 header. We have also covered that headers include source and destination addresses. In case of Layer-3 with TCP/IP model, we […]
tcpdump tcpdump is a text-based network sniffer. Let’s capture some traffic. We have used switch -i to indicate the interface on Kali Linux which we want to sniff on. Then we have specified our filer to match the traffic. If we don’t specify any filter, we capture all the traffic passing through that interface. The […]
hostnamectl and timedatectl To query and change the system hostname and related settings use hostnamectl command. timedatectl may be used to query and change the system clock and its settings, and enable or disable time synchronization services. ip vs ifconfig Ethernet networks are called ethx (old fashion) or things like enp0s25 (nowadays). Traditionally, ifconfig was the tool to configure […]
Netcat (nc) Netcad is installed by default on your Kali Linux. It is according to its man page is TCP/IP swiss army knife. It is a simple unix utility which reads and writes data across network connections, using TCP or UDP protocol. Netcat can run in client or server mode. Netcat in client mode In […]
wget wget is a utility for download of files from the Web. It supports HTTP, HTTPS, and FTP protocols. curl curl is a tool for transferring data from or to a server. It supports these protocols. Switch -o along with a string saves the file under the name of that string. As an exercise download […]
process status (ps) The command ps lists processes system-wide. This is one of your main tools to understand what software is running on the system. The main switches are: e to select all processes f to display full format listing (UID, PID, etc.) l to display in long format Finding your SSH process in the […]