Random commands

In Terminal:

  1. Change the title of terminal tabs: PROMPT_COMMAND='echo -ne "\033]0;$title\007"'
  2. Tar with gzip: tar -czvf $archive.tgz $files
  3. Untar: tar -xzvf $filename
  4. Download a file from a url: wget $url

VI:

  1. Delete a line: dd
  2. Undo: u
  3. Redo: ctrl-r
  4. Move to [$] screen: [top]H, [middle]M, [bottom]L
  5. Move to line n: :n (for the last line of the file: G)

Google:

  1. Music Search: -inurl:(htm|html|php) intitle:”index of” +”last modified” +”parent directory” +description +size +(wma|mp3) “$songname

HTML:

  1. Embed mp3:<br><embed type=“application/x-mplayer2″ src=$urlheight=45 width=280 autostart=false></embed><br>
  2. Embed real:<br><embed type=“audio/x-pn-realaudio-plugin” src=$urlheight=45 width=280 autostart=false></embed><br>

Windows File Sharing: http://handson.ca/tutorials/sharexpp.html

Leave a Reply

 

 

 

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>