ls -r command in Linux
ls -r option lists all files and directories in the current directory in reverse order....
ls -l command in Linux
ls -l option lists all files and directories in the current directory in long listing format....
ls -a command in Linux
ls -a option lists all files and directories in the current directory, including hidden files starting with "."...
How to find empty lines in files in Linux
In Linux, there are three ways to find empty lines in files using grep and awk commands....
How to use curl to download 302 redirect files in linux
In linux, use the curl command -L option to download the 302 redirected file....
How to download files using linux command line
In linux, we can use curl command and wget command to download files....
How to fast search for specified content in large files in linux
In linux, to search for specified content in large files, we can use tail -c or head -c commands....
How to find all files containing specific text on Linux?
In linux, to find all files containing a specific text, we can use the grep command, which can search for the specified text in the...
How to display full path/absolute path with ls command
linux ls full path, you can use the ls -d option combined with the environment variable $PWD. syntax: ls -d $PWD/*...
How to remove directories in linux/unix
To remove/delete directories (folders), we can use the rm command and the rmdir command....
How to delete files in linux/unix
To delete (or remove) files with the command line is the most commonly used function in linux/unix, use the rm command or the unlink...
40 practical examples of Linux Find command
This article will share with you 40 practical examples of the most commonly used find command....
How to move files or directories in linux/unix
To move files or directories, you can use the mv command. It supports moving files or directories to another directory, and also supports regular matching....
How to rename directory and file in linux/unix
To rename directories and files, we can use the linux mv command. You can also use the awk command to rename rule directories or files...
list directory with ls command in linux/unix
In linux, with the ls command -d option, you can only list the directories of the current directory, not recursively....