March 4, 2008, 1:26 pm

While talking to my friend stan I was quite surprised to see his non-tech ways of hiding porn from his girlfriend in his windows box. Which he thinks is a genius method. What he basically does is make a bunch of folders with different, confusing, not-so-interesting names and hide his stash deep deep inside the subfolders. Source
Continue reading ‘Steganography in Linux’ »
March 3, 2008, 5:22 pm

This will cover the basics of user and group management as well as touch on the abilities of super users.
Continue reading ‘User Management Basics’ »
March 3, 2008, 5:06 pm

In this session we are going to cover the basics of the linux file structure. I’ve attached an image I stumbled across on the net some time ago, as well as an explanation about each directory. Note the following file is distro independent. Enjoy.


Continue reading ‘Linux File Structure Cheat Sheet’ »
March 3, 2008, 4:37 pm

I wanted to upload some of the screen casts to Youtube. They don’t accept video files in Ogg Theora format at Youtube. I had to convert Ogg Theora file into Flash Video format to upload it to Youtube. I did some research on audio and video converters. FFmpeg was the solution to my problem. FFmpeg is a command line tool to convert one video file format to another.I used the below command to convert Ogg Theora file to .flv format.
ffmpeg -i in.ogg -b 384000 -s 640×480 -pass 1 -passlogfile log-file out.flv
in.ogg was the Ogg Theora file. The above command converted in.ogg to out.flv. I uploaded the out.flv file to Youtube and I was all set.
March 3, 2008, 4:33 pm

rtorrent is a command line bit torrent client for unix-based systems. It’s relatively simple to use. To install:
- on Suse I was unable to find anything in the repo’s. So i grabbed the source from here
- rpm -Uvh rtorrent-0.7.6-1.1.i586.rpm
- rpm -Uvh libtorrent-0.11.6-1.1.i586.rpm
(both packages are available at the link above)
run the application: rtorrent
Usage
To simply download a torrent do the following:
rtorrent http://extratorrent.com/download/666052/openSUSE-10+2-GM-DVD-i386-iso.torrent
For further options see the man page and the user guide.
March 3, 2008, 4:31 pm

mpg123 is a command line mp3 player for unix-based systems. It’s relatively simple to use. To install:
- on Fedora: yum install mpg123
- on Ubuntu: sudo apt-get install mpg123
- on openSuse: zypper in mpg123
- run the application:
mpg123 /home/username/song.mp3
or
mpg123 -C /home/username/music_folder/
Ta da.
By using the -C switch, keyboard controls are enabled and by default you can use ’s’ to stop, ‘p’ to pause, ‘f’ to jump forward to the next song, ‘b’ to jump back to the beginning of the song, ‘,’ to rewind, ‘.’ to fast forward, and ‘q’ to quit. Type ‘h’ for a full list of available controls.
March 3, 2008, 4:29 pm

ImageMagick is a software suite used for image manipulation and display, supporting many image formats. ImageMagick software mainly uses command line interface for image manipulation. You can use this software to do tasks such as rotate, scale, resize, flip, shear, display and many more. You can do the image manipulation job much faster using command line interface and it is easier to use.
Now, I will walk you through the steps to install ImageMagick software suite.
Continue reading ‘Manage Images with ImageMagick’ »
March 3, 2008, 4:27 pm

You can’t simply cp a CD image onto a new disk. For this task, you need the cdrecord program.
In the old command-line days, about the only way to write a CD-ROM on a Linux system was to know the set of commands that build an ISO filesystem and then copy it to a CD. Today, with the availability of GUI-based CD creation programs such as K3B, the old command-line method is pretty much forgotten.
Those GUIs are fine for building a CD from ordinary files stored on your hard disk–text, data, music and such–but sometimes you need to do the equivalent of copying a CD image onto a new CD. A common occurrence of this is with a Linux distribution. For example, Knoppix is distributed in this manner, as is the SuSE Live Evaluation.
You might think that using cp or dd would do the trick in this situation. After all, to us UNIX people, a file is a file. Unfortunately, that doesn’t work with creating CDs, because you can’t simply write bits to the CD and be home free.
Fortunately, there is a program that understands how to deal with writing CDs like this and isolates you from most of the pain. The program is cdrecord, and most GUI-based CD creation programs actually use cdrecord to do the actual writing.
Continue reading ‘Burn ISO’s to CD with cdrecord’ »
March 3, 2008, 4:21 pm

elinks is a command line web browser for unix-based systems. It’s relatively simple to use. To install:
- on Fedora: yum -install elinks
- on Ubuntu: sudo apt-get install elinks
- on Suse I was unable to find a suitable package. So i grabbed the source from here
- extract the package: tar -xjvf elinks-0.11.4rc0.tar.gz
- change to the directory: cd elinks
- configure: ./configure
- gain root access: su (and type admin password)
- make
- make install
- run the application: elinks
Usage
You’ll find the application immediately prompts you for a web address to go to. Use the arrow keys to jump from link to link. Use the Enter key once text boxes are selected to enter text within them. The Page Up and Page Down buttons will make scrolling through the pages easier.
If you’re using a terminal emulator and not just a straight terminal you’ll the links are clickable with the mouse. If you click the mouse at the top of the screen you’ll bring down the menu for the browser. You can access these menu’s with keyboard commands as well. Ctrl+F for the File menu, Ctrl+V for the View, Ctrl+L for Link, Ctrl+T for Tools, and Ctrl+S for Setup.
March 3, 2008, 4:17 pm

If you have been on the Internet for any amount of time, chances are that you have come across ASCII art (drawings made with the ASCII text characters) either in an email signature, a web site, or some other place. Good ASCII art can take time and talent to look just right, but you can skip through that effort with AAlib (http://aa-project.sourceforge.net/aalib), a library devoted to converting any image into an ASCII art equivalent. Since a movie is basically a system of moving images, MPlayer has added support for AAlib as a video output option. This means that each frame in the movie is converted to an ASCII equivalent and displayed on the screen. This hack describes the basic options needed to convert a video into ASCII art.To MPlayer, AAlib is yet another output format that it can support. Like with other output options, if you have compiled mplayer yourself, you will need to compile in support for AAlib. Many of the MPlayer packages out there already support AAlib, so if you use one of those, you should be fine.
Continue reading ‘Watch movies in the commandline’ »