devops

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