Satish Kumar

Satish Kumar

937 Articles Published

Articles by Satish Kumar

Page 47 of 94

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 428 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 755 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 684 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 538 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

5 Lightweight Linux Desktop Environments For Older Computers

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

If you own an older computer and it's running slow, chances are it's time to switch to a lightweight Linux desktop environment. Good news is that there are many lightweight Linux desktop environments available that can breathe new life into your old computer. In this article, we will discuss the best lightweight Linux desktop environments that are perfect for older computers. LXDE - Lightweight X11 Desktop Environment LXDE is one of the most popular lightweight Linux desktop environments. It's known for its simplicity, speed, and low system requirements. LXDE is based on the Openbox window manager and it's ...

Read More

How To Install an FTP Server on CentOS 7 With VSFTPD?

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

If you're looking for a reliable and efficient way to share files between computers on a network, FTP (File Transfer Protocol) is a popular option. In this article, we'll walk you through the steps to install an FTP server on CentOS 7 using VSFTPD (Very Secure FTP Daemon), a lightweight and secure FTP server for Unix-like systems. Step 1: Update System Before installing any new packages, it's always a good idea to update your system to ensure that you have the latest security patches and software updates. To do this, run the following command − sudo ...

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