Horje
pipe list to rm ubuntu Code Example
pipe list to rm ubuntu
#this removes first 10 files in a folder ls -U | head -10 will output a list of files
#then you pips those to  xargs rm which removes them
ls -U | head -10  | xargs rm




Shell

Related
vscode command line run Code Example vscode command line run Code Example
upgrad g++ Code Example upgrad g++ Code Example
not fond apache 2 di ubuntu Code Example not fond apache 2 di ubuntu Code Example
get ssh recovery code Code Example get ssh recovery code Code Example
cron change working directory Code Example cron change working directory Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
9