Having good knowledge of the Linux file system and file structure is crucial for Linux administrators. Not only for knowing the program’s executable file’s location but for documentation. This post explains how the Linux file system organizes files and directories. A Brief of File system definition Linux system requires an organization method to store all […]
What is a Shell? We Discussed Linux and windows differences and kernels and distros; now, it is time to talk about what is a shell and how to use a terminal? Let us see this figure once again. Shell is responsible for the interaction between users or applications and the kernel. File management, service management, process management, and running […]
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 […]
What are Clients and Servers? To better understand the differences between Linux and Windows, let us first see what a server is and what it does. A Server is a device or a computer program That provides various services to its clients. Clients also can be a computer program or a device that sends requests […]
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 […]