Difference between revisions of "Tips"

From Linuxintro
imported>ThorstenStaerk
(New page: = renaming several files = Rename several files using the command rename 's/BEFORE/AFTER/g' *)
 
imported>ThorstenStaerk
Line 2: Line 2:
 
Rename several files using the [[command]]
 
Rename several files using the [[command]]
 
  rename 's/BEFORE/AFTER/g' *
 
  rename 's/BEFORE/AFTER/g' *
 +
 +
= favorite Linux-Tools =
 +
history|awk '{print $2}'|awk 'BEGIN {FS="|"} {print $1}'|sort|uniq -c|sort -rn|head -10

Revision as of 10:14, 5 April 2010

renaming several files

Rename several files using the command

rename 's/BEFORE/AFTER/g' *

favorite Linux-Tools

history|awk '{print $2}'|awk 'BEGIN {FS="|"} {print $1}'|sort|uniq -c|sort -rn|head -10