Tag Archive: Advanced


Record Shell Output to a File

There are times when you need to post the outcome of a particular command(s) from a shell on a forum or somewhere else. It might be for troubleshooting or demonstration. However, copy-paste is not exactly a good option if your shell is filled with tons of information. Not to mention, you would spend a lot of time just selecting the text & then pasting it into a word processor. Wouldn’t life be easy if there would be a script which would gather all the data from a terminal & save it to a file? It does exist.

Before starting to run the command(s) whose output you wish to capture, enter;

$script -a filename

You will get,

[shuttertux@localhost ~]$ script -a filename

Script started, file is filename

[shuttertux@localhost ~]$

Now one can begin entering the required commands. Once done, type;

$exit

You’ll get,

[shuttertux@localhost ~]$ exit

exit

Script done, file is filename

[shuttertux@localhost ~]$

Now you can view the output file simply by,

$cat filename

Wasn’t that easy? Just remember, the output file is saved in your present working directory.

Photographing wildlife needs the photographer to approach the subject stealthily. One needs immense patience & good presence of mind to get good photographs of wildlife. Often the birds, animals don’t entertain humans & at times they may even get on defense & counter-attack. Happened to me once. I was in a balcony shooting a small bird perched on a nearby power line. To get closer, I went into the balcony, crouched & just held my hand up. As I fired a shot, another shot the bird got furious & decided to attack the camera however it missed. As I got up to go inside, it again flew furiously just across my face. A split second delay in my reaction would have got me injured near or on my eye. Thankfully I was safe. So the point of telling you this short tale is that one needs to approach the wildlife in a way that it is unaware of you. When you are successful in doing so, you will get good shots as the wildlife won’t be scared or put on a defensive mode.

View full article »

A flash-gun can do wonders to your photography. Simply using a flash in your photos can elevate them to a new level altogether. However, flash in his primary form is very unattractive & often needs to be used along-with other accessories like reflector, diffuser, flash gels etc to create the desired effect in the photographs. In this article, I’ll talk about flash gels. About creating flash gel for yourself.

View full article »

DSLR cameras offer a flexible shooting experience for a photographer. Photographers can not only attach a host of lenses & accessories to enhance their shooting experience but even customize the camera further from the menus to ensure a rapid shooting experience. Here are some tricks by which you can get most out of your Canon DSLR. These tricks/techniques apply to most of the Canon DSLR cameras but certain might not be available/applicable to some Canon DSLR cameras. Some of the tricks discussed here might even apply to camera of other brands.
View full article »

Follow

Get every new post delivered to your Inbox.

Join 53 other followers

%d bloggers like this: