Posts

Error while Expunging folder

Just started experimenting with Evolution and the 'Trash' was not able to empty itself when asked to 'Empty Trash'.And an error similar to following occurred,for the folder 'bad-folder ' that was created by mistake and was added to trash. ------------------------------------------------------------------------------------------------------------------------------------------------------------- Error storing `~/.evolution/mail/local/bad-folder (mbox)': Summary and folder mismatch, even after a sync ------------------------------------------------------------------------------------------------------------------------------------------------------------- Tried a lot and finally after goggling a lot finally got an idea to try out deleting the entry for the folder 'bad-folder' from the Evolution profile itself. So first listed all of the entries for it in the profile directory. [ssharma@l_ssharma ~]$ ll ~/.evolution/mail/local/z-bad* -rw-rw-r-- 1 ssharma...

Brasero : CD / DVD Burning Application

Brasero is a revolutionary application to burn CD/DVD for the Gnome users. It's simple to use and have some unique features to enable users to create their discs easily and quickly. Few of the good features - Supports multi session - CD/DVD image creation and dumping to hard drive. - Check for file integrity. - Edition of silences between tracks in Audio CD's - Erase CD/DVD - Can save/load projects - A customisable GUI - Drag and Drop / Cut'n'Paste from nautilus. Fore more info: http://projects.gnome.org/brasero/

Cron and Crontab commands

The cron command starts a process that schedules command execution at specified dates and times. crontab - maintain crontab files for individual users.Similar to other commands this to have options . -u It specifies the name of the user whose crontab is to be tweaked. -l The current crontab will be displayed on standard output. -r The current crontab will be be removed. -e This option is used to edit the current crontab using the editor specified by the VISUAL or EDITOR environment variables. Usage : #crontab -u [user_name] - e An entry under crontab for user specified by the user_name will be made and saved automatically on exiting the editor. #crontab -u [user_name] - l Shows the cron jobs for the user specified. The cron jobs deceleration needs to be done in a 5 column format consisting of minute (0-59) hour (0-23) day of the month (1-31) month of the year (1-12) day of the week (0-6 with 0=Sunday) Taking the example that if the 'root' user desires to setup ...

Shorthand at the Linux CLI

Some of the very useful shortcuts of the CLI are / :- root directory ./ :- current directory ./command_name :- run a command in the current directory when the current directory is not on the path ../ :- parent directory ~ :- home directory $ :- typical prompt when logged in as ordinary user # :- typical prompt when logged in as root or superuser ! :- repeat specified command !! :- repeat previous command ^^ :- repeat previous command with substitution & :- run a program in background mode [Tab][Tab] :- prints a list of all available commands. This is just an example of autocomplete with no restriction on the first letter. x[Tab][Tab] :- prints a list of all available completions for a command, where the beginning is ``x'' [Alt][Ctrl][F1] :- switch to the first virtual text console [Alt][Ctrl][Fn] :- switch to the nth virtual text console. Typically, there are six on a Linux PC system. [Alt][Ctrl][F7] :- switch to the first GUI console, if there is one running. If the graph...

Adobe Flash Plugin

All of the following steps should be done as ROOT user in terminal. 1] Download the package for yum repository configuration on your machine,using wget http://linuxdownload.adobe.com/adobe-release/adobe-release-i386-1.0-1.noarch.rpm You can get the lates one from here 2] Once the download is complete,run command # rpm -ivh adobe-release-i386-1.0-1.noarch.rpm 3] Now your box is configured to use flash plufuns available from ADOBE 4] To install flash ,just type in # yum install flash-plugin -y 5] Restart Firefox. 6] Verify that flash have installed close the browser instances and reopen them and browse the following link .

Root Login Not Possible

Few wrong settings that can prevent the 'Root' user to login to the linux box are 1) The Shell Check for the login shell that the system is offering to the 'Root' user. Steps for checking this i) Log in to the system in a single user mode. Help ii) Check for login shell under the /etc/passwd using following # grep root /etc/passwd in the results look for the line starting with 'root' check for the last entry considering ':' as a delimiter. iii) If the entry is '/sbin/nologin' that means the root user is not being provided a shell that enables a user to login to the system and perform tasks.We need to change this shell to /bin/bash so that user is allowed to login. iv) To change this we need to fire a single command. # usermod -s /bin/bash root this command will change the shell for the root user to /bin/bash as desired. v) The new shell can be cross checked by running the command used previously in step ii. # grep root /etc/passwd this time the l...

single user mode

Steps for entering the single user mode. i) Reboot the machine,at GRUB [Boot Loader] there will be the listing of the Kernel selection. ii) Select the version of the kernel that you wish to boot and type e for edit. A list of items in the configuration file for the Kernel you just selected will show up. iii) Select the line that starts with kernel and type e to edit the line. iv) At the end of this line, giving the Space type-in 1 . Press [Enter] to exit edit mode. v) Once back at the GRUB screen, type b to boot into single user mode.