
LiLinux
Featured in Linux
Articles in Linux
55New
A→Z
Bash Concatenate Strings
Join two strings together in Bash

Bash Comments
Comments will help make your scripts more readable

Bash printf
How to use string formatting with bash printf

How to Add a User to Sudoers
Grant elevated privileges to users

Bash Case Statement
A popular alternative to the if-then-else statement

Bash Aliases
Create an alias for common commands

Chmod 755
General meaning, examples, and flags for chmod 755

Reading User Input
Via command line arguments and prompting users for input

Chmod +X
An overview of chmod +x and how to use it

Chown Recursively
How to recursively change the ownership of files

Curl Follow Redirect(s)
Learn how to make curl automatically follow a redirect along with the most common pitfalls to avoid when doing so.

Curl Post Request
Use cURL to send data to a server

Curl With Headers
Send request headers with cURL

Curl With Basic Auth
Perform a basic access authentication with cURL

Show Curl Headers
Curl request and response headers

Grep Show Lines Before and After
Learn how to show N lines or all lines before and after the result returned by the `grep` command.

How to run chmod recursively
Using -R is probably not what you want

How to run cron every hour
Along with variations and examples

How to use sudo rm -rf safely
We'll help you understand its components

Kill a Process in Linux
Strategies for finding and killing processes

Kill Command
Basic syntax and usage of the kill command

mkdir if not exists
Create directories when they don’t already exist

How To Use Unix Wildcards
How to use wildcard characters in Linux/Unix commands

Linux File Permissions Explained [Needs Table]
Understand what common expressions like “drwxr xr x” actually mean for a file or directory’s read, write, and execute permissions.

Generate, Sign, and View a CSR With OpenSSL
Learn how to generate, self-sign, and verify certificate signing requests with `openssl`.

Copy File From Remote To Local Using Scp
Copy files and directories from a remote to local

Removing Directories in Linux
How to remove directories and their content

What Does sudo chown Do?
Why sudo chown is sudo and some common pitfalls

How To Use sudo su
A quick overview of using sudo su

Verify Certificate With OpenSSL
Learn how to verify local and remote certificates with openssl

Clear npm Cache
Learn how to clear the npm cache on Linux, macOS, and Windows.

Ignoring SSL Certificate Issues with cURL
Discover how to bypass SSL certificate verification in cURL for HTTPS endpoints, addressing both direct requests and those via proxies. We will also see how this could be handled both in the terminal and system-wide via the `.curlrc` file

Upload Files With curl
Learn how to upload a file to FTP, SFTP servers, Artifactory, and AWS S3 using the curl command.

How To Copy A Directory In Linux
Learn how to copy directories and their content in Linux using the cp command with options like -r for recursive copying, -i for interactive mode, and -a for preserving attributes.

How to Download Files With curl And wget
Learn how to start and resume the download of files via the HTTP and FTP protocols using the curl and wget commands.

Create Directories Recursively With mkdir
Learn how to recursively create nested directories using the mkdir command, Bash scripts, and Python scripts.

How To Filter The Output of Commands
Learn how to filter and format the output of commands and logs using the grep, awk, uniq, head, and tail commands.

How To Unzip A tar.gz File
Learn how to unzip a tar.gz file on Linux, macOS, and Windows.

Create User In Linux
Learn to create and configure user accounts in Linux in interactive and non-interactive mode using the useradd and adduser commands.
Change User Passwords In Linux
Learn how to change, manage and generate user passwords in Linux using the passwd, chpasswd, chage and openssl commands.

Edit Files in Linux
Learn how to edit files in Linux using command-line file editors such as Vim, Nano, and Emacs, the output redirection operator, and the sed command.
List Users In Linux
Learn how to list users and groups in Linux.
Create Files In Linux
Learn how to create regular files in Linux using command line interface commands like touch, echo, cat, printf, and in-terminal text editors like Vim.
Copy Files In Linux
Learn how to safely and recursively copy one or more files locally and remotely in Linux using the cp and scp command.
Find Files In Linux
Learn how to find and filter files in Linux by owner, size, date, type and content using the find command.
Delete Files In Linux
Learn how to selectively delete files in Linux based on patterns and properties using the rm command.
Remover Users in Linux
Learn how to remove local and remote user accounts and associated groups and files in Linux using the userdel and deluser commands.
Switch Users In Linux
Learn how to switch between users, log in as another user, and execute commands as another user in Linux.
Create Groups In Linux
Learn how to manually and automatically create and list groups in Linux.
Format Command Output In Linux
Learn how to filter and format the content of files and the output of commands in Linux using the awk command.
POST JSON Data With Curl
How to send valid HTTP POST requests with JSON data payloads using the curl command and how to avoid common syntax pitfalls. Also, how to solve the HTTP 405 error code.

Linux Chmod Command
Understand how to use chmod to change the permissions of files and directories. See examples with various chmod options.

How to Check the Size of Folders in Linux
Learn how to output the size of directories and subdirectories in a human-readable format in Linux and macOS using the du command.

Count Files in Linux
Learn how to count files and folders contained in directories and subdirectories in Linux using the ls, find, and wc commands.

List Open Ports in Linux
Learn how to output the list of open TCP and UDP ports in Linux, as well as their IP addresses and ports using the netstat command.
