Satish Kumar

Satish Kumar

937 Articles Published

Articles by Satish Kumar

Page 47 of 94

5 Interesting Funny Commands of Linux

Satish Kumar
Satish Kumar
Updated on 17-Mar-2026 4K+ Views

Linux is a powerful operating system loved by developers, system administrators, and computer enthusiasts alike. While it's known for being highly customizable and versatile through its command line interface, Linux also has a fun and playful side. There are numerous amusing and entertaining commands that can spice up your terminal sessions and add humor to your daily workflow. Cowsay Cowsay generates ASCII art of a cow with a speech bubble containing your input text. It's perfect for creating silly messages or greetings in your terminal. $ cowsay "Hello, world!" _____________ < Hello, world! > ...

Read More

How to find total physical memory (RAM) size on Linux?

Satish Kumar
Satish Kumar
Updated on 17-Mar-2026 3K+ Views

We can often get away without checking for total memory usage on servers running Linux. However, sometimes we may want to know the total memory available on our servers. Luckily, there are various ways to accomplish this task. In this tutorial, I'll show you some of them. Using free Command The free command is the simplest among the various commands we'll encounter. It displays the current amount of physical and virtual RAM being utilized by your system. You can run the free utility without any flags to get an idea about how much RAM is currently being used ...

Read More

Use ./ (Dot Slash) to execute script file?

Satish Kumar
Satish Kumar
Updated on 17-Mar-2026 2K+ Views

In Linux, ./ (dot slash) is used to execute script files located in the current directory. The dot (.) represents the current working directory, and the forward slash (/) is the path separator, so ./script.sh tells the shell to run the script from the current location. What Does Dot Slash Mean? The dot (.) in Linux represents the current working directory. When combined with the forward slash (/), it creates a relative path that points to files in your current location. For example: $ ls -l -rwxr-xr-x 1 user1 user1 156 Jun 12 19:09 script.sh -rw-r--r-- ...

Read More

5 ‘stat’ Command Examples for Linux Newbies

Satish Kumar
Satish Kumar
Updated on 17-Mar-2026 437 Views

The stat command is one of the most useful utilities in Linux for examining detailed file and directory information. It provides comprehensive metadata about files including permissions, timestamps, sizes, and filesystem properties. This article explores five essential stat command examples that every Linux newcomer should know. Getting Basic File Information The simplest use of the stat command is to display comprehensive information about a file or directory. Simply use the following syntax − stat filename For example, to examine a file called example.txt − stat example.txt This command produces output ...

Read More

How to read a Specific Line From a File in Linux?

Satish Kumar
Satish Kumar
Updated on 17-Mar-2026 15K+ Views

When working with the Linux command line, reading specific lines from text files is a common task. Rather than viewing entire files, you often need to extract just one particular line based on its line number. This article explores four different methods to read a specific line from a file using various Linux commands and utilities. Sample File Setup Let's create a sample file called test.txt to demonstrate these methods − $ nl test.txt 1 This is line 1, I don't have any interesting data. ...

Read More

Redirect Output to location with Permission denied Error?

Satish Kumar
Satish Kumar
Updated on 17-Mar-2026 763 Views

The Permission denied error when redirecting output to root-owned files is a common issue in Linux systems. When using sudo command > file, the redirection operator (>) runs under the regular user's privileges, not as root, causing permission failures even when the command itself runs with sudo. Understanding the Problem Consider a file that requires root permissions for writing: kent$ ls -l /opt/output.txt -rw-r--r-- 1 root root 0 May 8 10:43 /opt/output.txt When attempting to redirect output as a regular user: kent$ echo "Linux is awesome!" > /opt/output.txt bash: /opt/output.txt: Permission denied ...

Read More

5 Amazing Linux Distributions For Kids

Satish Kumar
Satish Kumar
Updated on 17-Mar-2026 3K+ Views

Linux is an open-source operating system that has been gaining popularity in recent years due to its flexibility, stability, and security. Many people associate Linux with complex programming and difficult user interfaces, but this is not always the case. In fact, there are many Linux distributions that are specifically designed for kids, providing a safe and fun computing environment while teaching them the basics of technology. In this article, we will explore amazing Linux distributions for kids, along with their unique features and benefits. Sugar on a Stick Sugar on a Stick (SoaS) is a Linux distribution designed ...

Read More

Kill a process running on a specific port?

Satish Kumar
Satish Kumar
Updated on 17-Mar-2026 5K+ Views

Killing a process running on a specific port is a common system administration task in Linux. When a service is running on a port you need to free up, or when a process becomes unresponsive, you need to identify and terminate it. This article covers various methods to find processes by port and terminate them safely. Identifying Processes Using Their Ports Before killing a process, you must first identify which process is using a specific port. The netstat command shows active network connections and listening ports: $ netstat -lntp | grep :80 tcp6 0 0 :::80 ...

Read More

Free Command in Linux

Satish Kumar
Satish Kumar
Updated on 17-Mar-2026 703 Views

The free command is one of the most essential Linux system administration tools used to display memory usage information. It provides real-time statistics about physical RAM, swap space, buffers, and cache usage, making it invaluable for system monitoring and troubleshooting memory-related issues. What is the Free Command? The free command displays the total amount of free and used physical memory and swap space in the system, as well as the buffers and cache used by the kernel. It reads information from /proc/meminfo and presents it in a human-readable tabular format. Syntax free [options] ...

Read More

5 Best CLI Tools to Search Plain-Text Data Using Regular Expressions

Satish Kumar
Satish Kumar
Updated on 17-Mar-2026 552 Views

In the world of programming, Command-Line Interfaces (CLI) tools play a significant role in simplifying day-to-day work. They help perform complex tasks with simple commands, and searching plain-text data using regular expressions is no exception. Regular expressions are a powerful way to match patterns in strings, and they are supported by several CLI tools. This article covers the 5 best CLI tools for searching plain-text data using regular expressions. Grep Grep is the most commonly used CLI tool for searching plain-text data using regular expressions. It is a command-line utility that searches for patterns in files or input ...

Read More
Showing 461–470 of 937 articles
« Prev 1 45 46 47 48 49 94 Next »
Advertisements