Category: Tech Topic

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...

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 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....

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...