Category Archives: Important for LPI 117-101

Cropping Multiple Images in the Same Way

‘Getting the right cropping values using GIMP In 5 steps: Where to find the cropping values 1. Open up GIMP. 2. Open one of the images in GIMP. 3. Using the Rectangle Select Tool (hotkey “R”), select the area you … Continue reading

Share
Posted in Important for LPI 117-101 | Leave a comment

Creating an mpeg with mencoder that plays on Windows Media Player

‘Let’s have a look at a rather simple mencoder command that should create a WMP-compatible MPEG file: [rechosen@localhost ~]$ mencoder -oac lavc -ovc lavc -lavcopts acodec=mp2:vcodec=mpeg2video:mbd=1:vbitrate=1800 -of mpeg -o Replace “ ” with the video source (for example a file … Continue reading

Share
Posted in Important for LPI 117-101 | Leave a comment

If Condition in Bash Script

‘If you use bash for scripting you will undoubtedly have to use conditions a lot, for example for an if … then construct or a while loop. The syntax of these conditions can seem a bit daunting to learn and … Continue reading

Share
Posted in Important for LPI 117-101 | Leave a comment

How to Prevent damage after system lockup?

No matter how stable the Linux kernel is, things like hardware failures can still lock up your system quite effectively. If you ever encounter a case like that, rebooting is pretty much the only option. However, there is rebooting and … Continue reading

Share
Posted in Important for LPI 117-101 | Leave a comment

Bash Script – Full Tutorial

If you use bash for scripting you will undoubtedly have to use conditions a lot, for example for an if … then construct or a while loop. The syntax of these conditions can seem a bit daunting to learn and … Continue reading

Share
Posted in Important for LPI 117-101 | Leave a comment

How to translate, squeeze and delete characters using tr in Linux

Translate, squeeze, and/or delete characters from standard input, writ- ing to standard output. -c, -C, –complement first complement SET1 -d, –delete delete characters in SET1, do not translate -s, –squeeze-repeats replace each input sequence of a repeated character that is … Continue reading

Share
Posted in Important for LPI 117-101 | Leave a comment

mysql command

The mysql program provides a curses-based interface to the SQL-based database server daemon, mysqld(1). Full fuller documentation, refer to the HTML documents installed with the package. OPTIONS -B|–batch Print results with a tab as separator, each row on a new … Continue reading

Share
Posted in Important for LPI 117-101 | Leave a comment

mzip command

The mzip command is used to issue ZIP disk specific commands on Linux, Solaris or HPUX. Its syntax is: mzip [-epqrwx] Mzip allows the following command line options: e Ejects the disk. f Force eject even if the disk is … Continue reading

Share
Posted in Important for LPI 117-101 | Leave a comment

anemone command

anemone [-display host:display.screen] [-visual visual] [-window] [-root] [-delay number] [-arms number] [-finpoints number] [-width number] DESCRIPTION Wiggling tentacles. OPTIONS -visual visual Specify which visual to use. Legal values are the name of a visual class, or the id number (decimal … Continue reading

Share
Posted in Important for LPI 117-101 | Leave a comment

alsactl – advanced controls for ALSA soundcard driver

alsactl is used to control advanced settings for the ALSA soundcard drivers. It supports multiple soundcards. If your card has features that you can’t seem to control from a mixer application, you have come to the right place. INVOKING alsactl … Continue reading

Share
Posted in Important for LPI 117-101 | Leave a comment