In world of Linux, you must know various commands. One of them is “curl”. It is very powerful utility and helps in playing with URLs. It supports a wide range of protocols. It is used to transferring the data with URLs. Let’s have a look to its examples. Its syntax is “curl [option] [URL]”. A […]
What is Shell? Shell is a command-line interpreter in Linux that provides a user interface for interacting with the operating system. It basically interprets the commands entered by the user and executes them by interacting with the system’s kernel to perform the tasks initiated by users. Shells are a very important component of the Linux […]
When you work in Linux Terminal, It involves using keyboard shortcuts to perform common tasks. Here are some useful shortcuts: History Shortcuts: Up Arrow / Down Arrow: Navigate through command history. Ctrl + R: Reverse search in command history. !!: Repeat the last command. !n: Repeat the nth command in history. Navigation Shortcuts: Ctrl + […]
How to create an LVM (Logical Volume Management) volume of more than 2 TB from a raw disk in Linux? Creating a larger partition you can follow below steps:Ensure that you have a raw disk with sufficient space for your LVM. You can check space using commads like lsblk or fdisk -l.We can initialize the […]
Sar is a versatile tool that provides crucial insights into system activity and performance. It collects, reports, and archives a wide range of system statistics. Sar is particularly valuable for troubleshooting performance issues and retroactively analyzing load values for various subsystems such as CPUs, memory, disks, interrupts, and network interfaces.By default, Sar log files are […]
VI Editor is a powerful and mostly used text editor in Unix operating system. It is known for its efficiency, speed etc. There are few modes in edior. The most common are Insert mode and Command-Line mode. In insert mode, you can insert and edit text which is in file. While the Command-Line mode allows […]
Nagios Installation and Configuration NagiosQL provides a GUI interface to manage your all Nagios configurations. You can add hosts, host groups, contacts, contacts groups, etc. Let’s have a look for its installation and its configuration. Let’s install Nagios core first and then will go ahead with NagiosQL.Step 1: Install required dependencies: We need to install […]
ethtool: # ethtool eth0 (view ethernet device properties) # ethtool -s eth0 autoneg off (make changes in NIC parameter, use "-s") # ethtool -s eth0 speed 100 autoneg off duplex full (change the speed of ethernet card) # ethtool -i eth0 (Display driver settings) # ethtool -a eth0 (Display Auto-negotiation, RX and TX) # ethtool […]
grep Commands: # grep root /etc/passwd (To print lines containing word root) # grep -c root /etc/passwd (To count the no. of lines containing word root) # grep -v root /etc/passwd (To print all lines except containing matched word “root”) # grep -cv root /etc/passwd (To count no. of lines occurred by –v) # grep […]
Recent Blog