Automagically set titles to boxes you ssh in screen.

Posted by suvi under Command line

I use GNU Screen a lot – as in basically all the time, and when I SSH somewhere I like to set the title of the screen I’m in, so I can easily keep track of loads of them.
To do this I’ve come up with a script which can be executed by SSH when it
Read [...]

No Comments

MPlayer play music recursively in a directory.

Posted by suvi under Multimedia

It’s quite often I have directories full of media files (specifically music) and subdirectories within them also with music files, and though the manual for MPlayer is thicker than the Chinese phonebook I have not been able to find any option for it.
I did however find a method which isn’t exactly the guru one-liner, but [...]

No Comments

Rip audio from a flash file

Posted by suvi under Multimedia

Well folks, here’s another quick tech tip that I use once in a while. How do you rip only the audio from an .FLV file? .FLV files, or Flash Video files are the format used in browser-embedded videos, common on video-sharing sites such as YouTube or Vimeo (and Eadrax!) For whatever reason if you have
Read [...]

No Comments

Exploring VIM configurations

Posted by suvi under Software

Below are a few configurations of your vimrc
Essential .vimrc configuration items
For whatever reason, the following options are not set by default, but they should be.
Turn on hiddenDon’t worry about the name. What this does is allow Vim to manage multiple buffers effectively.
The current buffer can be put to the background without writing to disk;
Read [...]

No Comments

Find files modified at a certain time

Posted by suvi under Other

To find all files that was modified since a specific time ago (i.e an hour ago, a day ago, 24 hours ago, a weeks ago and so on) in Unix environment, the find command will come in handy.
To find all files modified in the last 24 hours (last full day) in current directory
Read more at [...]

No Comments

How to use samba on the command line

Posted by suvi under Samba

Just a short how to access samba shares via the command line.
smbtree – finds windows machines and samba shares. See example below:
~$ smbtree
Password:
WORKGROUP
MSHOME
\\MYTH-DESKTOP myth-desktop server (Samba, Mythbuntu)
\\MYTH-DESKTOP\videos Videos
Workgroup and MSHOME are two workgroups found [...]

No Comments