Pario TechnoBlob
About
Posts
Posts
Convert DOS Carriage Return file to Unix Line feed file
tr '\r' '\n' < sourcefile_dos.txt > resultfile_unix.txt An alternative is to use the program hd2u which is a DOS < –> Unix convertor dos2unix -U 2006-12.md5...
Copy several files to a new filename
for f in *.dist; do cp $f
basename $f .dist
; done
Hardware support in linux
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...
nmap result as comma separated list, csv
grep "^[0-9*]" nmap.out|awk '{print $1 "," $2 "," $3 "," $4 "," $5}'
««
«
1
2
3
…
117
118
119
…
126
»
»»