Category: Linux
Scripting
Read More
Erstatt alle forekomster av “ord1” med “ord2” i ei fil
# sed -i ‘s/ord1/ord2/g’ filnavn
Scripting
Read More
Dump/image CDROM to ISO file
To create an ISO image from your CD/DVD, place the media in your drive but do not mount it. If it automounts, unmount it. # dd if=/dev/cdrom of=/path/til/ISO-fil To make an ISO image from files on your hard drive, create a directory which holds the files you want. Then use the mkisofs command # mkisofs […]