linux command

Devops
A Linux command a day (21): find -xargs command
by Admin/ on 03 Oct 2021

A Linux command a day (21): find -xargs command

When using the -find command with the -exec option to process matched files, the -find command passes all the matched files together to exec for execution.

Devops
A Linux command a day (20): find -exec command
by Admin/ on 02 Oct 2021

A Linux command a day (20): find -exec command

find is a very common Linux command, but we usually find more than just a look, there will be further operations, this is where exec comes into play.

Devops
A Linux command a day (19): which command
by Admin/ on 01 Oct 2021

A Linux command a day (19): which command

We often have to look for a file in linux, but we don’t know where it is, we can use some of the following commands to search for it.

Devops
A Linux command a day (18): whereis command
by Admin/ on 30 Sep 2021

A Linux command a day (18): whereis command

The whereis command can only be used for program name searching, and only searches binary files (argument -b), man description files (argument -m) and source files (argument -s).

Devops
A Linux command a day (14): head command
by Admin/ on 26 Sep 2021

A Linux command a day (14): head command

head and tail are as easy to understand as its name, it is used to display the beginning or end of a certain amount of text blocks, head is used to display the beginning of the file to the standard output, and tail is of course to see the end of the file.

Devops
A Linux command a day (13): less command
by Admin/ on 25 Sep 2021

A Linux command a day (13): less command

The less tool is also a tool for paging files or other output, and is supposed to be the orthodox linux tool for viewing the contents of files, which is extremely powerful.