Check These Out
kpartx can be found inside of the multipath-tools package
-a adds the mappings and -d deletes them
swap out "80" for your port of interest. Can use port number or named ports e.g. "http"
Shows all block devices in a tree with descruptions of what they are.
accomplishes the same thing without unzipping the whole file, and while i have never seen a log.tar.gz file that was a binary, i will concede that it might happen, so add the -a in there:
$zgrep -ia "string" log.tar.gz
it's still shorter/easier to type...
Friday is the 5th day of the week, monday is the 1st.
Output may be affected by locale.
If you are using an xterm emulation capable terminal emulator, such as PuTTY or xterm on Linux desktop, this command will replace the title of that terminal window. I know it is not nice to have seventeen terminals on your desktop with title PuTTY, you can not tell which one is connected to which server and doing what.
Even though the string between the quotes is typed as literals, it needs a little more finesse to make it work. Here is how it is done key-by-key:
echo "( ctrl-v then ctrl-[ )0;Enter_Title_String_Here( ctrl-v then ctrl-g )"( enter )
ctrl-v : means hold down ctrl key and hit v at the same time like you are pasting in windoze ; also please don't type the parentheses, i.e., ( and )
In this example, the docx gets converted to Open Document .odt format.
For other formats, you'll need to specify the correct filter (Hint: see "Comments" link below for a nice list).
http://public-dns.info gives a list of online dns servers. you need to change the country in url (br in this url) with your country code. this command need some time to ping all IP in list.
Note: you'll want to set up pub-key ssh auth. Gives you a quick means of changing volume/tracks/etc for rhythmbox on a remote machine. E.g.:
rc --next # Play next track
rc --print-playing # Grab the name
rc --volume-down
rc --help