What does /bin/sh -c do in Linux
To solve the problem of command permission, you can expand the scope of permission. Next, we will introduce it to you with an example. For...
Batch change file extension in Linux
In the daily development process, we sometimes need to do some batch operations, as described in the previous article. Today, we will share how to...
awk print function in linux
Awk print function is a built-in function of awk, used for prints its arguments on the standard output (or on a file if > file...
java tutorial: java uppercase first letter
In the following example, two ways to change the first letter to uppercase will be shared. Example 1 * Use ASCII table * The ASCII...
Nginx combined log format and parameter explanation
Because lnmp does not customize the log format by default, it uses the combined default format: Parameter explanation: $remote_addr, $http_x_forwarded_for record the client IP address....
How to install IntelliJ IDEA plugin in Mac
IDEA install plugin: In the preferences window, select the plugin menu on the left, search for the plugin under the marketplace on the right,...
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...
How to check the Linux version
To check the Linux version, you can use the uname and lsb_release commands. You can also check /etc/lsb-release and /proc/version....
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...
How to display the file size in megabytes with ls in linux/unix
Display the file size in megabytes, which can facilitate us to browse the file storage size. Syntax: ls -lh , to display the file size...
How to list hidden files and folders in linux/unix
In linux/unix, when it comes to listing files and folders, everyone will think of the ls command. Yes, there are many options for the ls...
List directories recursively in linux/unix
Recursive listing of directories can help us begin to understand the current directory structure. In linux/unix, we can use any of the following commands to...
mkdir recursively create directories in linux/unix
Creating directories recursively can help us greatly improve efficiency during development. In linux/unix, we can use the mkdir command to recursively create directories and subdirectories...
rm delete recursively in linux/unix
How to use the rm command to delete files and directories recursively in linux/unix. Syntax Examples In the following example, recursively delete data folder: First...