Copy several files to a new filename
for f in *.dist; do cp $f `basename $f .dist`; done
A chronological documentation test project, nothing serious, really!
for f in *.dist; do cp $f `basename $f .dist`; done
This is an easy way of determining which drivers you need to load to get your hardware working in Linux. First run lspci -nand paste the result after you go to http://kmuto.jp/debian/hcl/index.cgi
grep “^[0-9*]” nmap.out|awk ‘{print $1 “,” $2 “,” $3 “,” $4 “,” $5}’
awk -F ” ” ‘{print $22 ” “$23}’ /var/log/mail.log|grep @pario|sort|uniq awk -F ” ” betyr at separator i fila er mellomrom (” “).
This command will install all of the files in the old_world_file (/var/lib/portage/world) while also adding them to the world of the new machine. The –noreplace was added in case some packages had already been installed, in order to avoid repeating one’s self. emerge -va –noreplace $(cat old_world_file)