Sometimes I need to get some screenshoots while I'm running live CD's without screenshoots applications, I solved this problem using the xwd command:
In a terminal window or in a virtual console you can run the following command:
# xwd -root > screenshoot.xwd
This is a preview of
How to obtain an X screenshoot from the terminal.
.
Read the full post (99 words, estimated 24 secs reading time)
This script allows you to convert from img files to iso files. To work it needs two standard commands included in most of Linux distribution:
After dos2unix using vim, here is dos2unix using sed
in bash you could type the following command:
# sed 's/^M$//' input.txt > output.txt
or you can convert UNIX to DOS by typing the following command:
# sed 's/$'"/`echo \\\r`/" input.txt > output.txt
Latest comments