Pario TechnoBlob
About
Posts
Posts
someprog > /dev/null 2>&1
The first part, “> /dev/null” means send standard output to the ‘bit bucket” or in other words, throw it away. The second part, “2>&1” means “redirect standard error...
Dump/image CDROM to ISO file
dd if=/dev/cdrom of=/path/til/ISO-fil
Replace all instances of one word with another in a file
sed -i 's/ord1/ord2/g' filnavn
Remove comments and blank lines from a file
sed -i '/.
#/d;/^
$/d' filnavn
««
«
1
2
3
…
116
117
118
…
126
»
»»