gyaresu.org

22 September 2007

Who’s got a new D80?

Who's got a new D80?

Filed under: linux — gyaresu @ 12:05 pm

Puppy Killer

Puppy Killer

Filed under: Uncategorized — gyaresu @ 11:51 am

13 September 2007

Extract single file from tar-archive without specifying the directory

http://princ3.wordpress.com/2007/06/11/extract-single-file-from-tar-archive-without-specifying-the-directory/

tar xvf some.tgz –no-anchored some.txt

When some.txt is in /some/dir/some.txt, some.txt gets extracted right there.

Filed under: linux — gyaresu @ 11:49 am

scp resume - rsync

http://joen.dk/wordpress/?p=34

scpresume=”rsync –partial –progress –rsh=ssh”

scpresume myFile remoteMachine:dirToPutIn/

Filed under: linux — gyaresu @ 11:47 am

Unfuck bash history

http://www.ukuug.org/events/linux2003/papers/bash_tips/

Specify this in .bashrc
Make Bash append rather than overwrite the history on disk:
shopt -s histappend
Whenever displaying the prompt, write the previous line to disk:
PROMPT_COMMAND=’history -a’
A new shell gets the history lines from all previous shells

Filed under: linux — gyaresu @ 11:39 am

Powered by WordPress