Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
basic_linux_administration [29 May 2025 / 11:43:12] – kadekbasic_linux_administration [04 September 2026 / 11:17:32] (current) – kadek
Line 6: Line 6:
   scp <Username>@<Domain-OR-IP>:<File-Name> ./Desktop   scp <Username>@<Domain-OR-IP>:<File-Name> ./Desktop
  
-  *. Delete files which are so many returned 'Argument list too long' if using rm :+  * Delete files which are so many returned 'Argument list too long' if using rm :
  
   find  -maxdepth 1 -mindepth 1 -type f -name "filename.*" -delete   find  -maxdepth 1 -mindepth 1 -type f -name "filename.*" -delete
 +
 +  * Script to read list of data from file and proceed with operation for each of the data:
 +
 +  for i in $(cat data.txt);do sudo <OPERATION> "$i"; done