Thursday, March 17, 2016

History with dates and time

Normally, we type the command for getting the command history in the terminal.

#history

You have to add the following line into the file  ~/.bashrc  to view the history with dates permanently.

export HISTTIMEFORMAT=”%d/ %m/ %y %T “
and then, from terminal run,

#source ~/.bashrc

Explanation of commands and switches.

history – GNU History Library
HISTIMEFORMAT – Environmental Variable
%d – Day
%m – Month
%y – Year
%T – Time Stamp
source – in short send the contents of file to shell
.bashrc – is a shell script that BASH runs whenever it is started interactively.

Monday, February 22, 2016

Simple Screen Recorder installation in Pinguy 14.04.3

One simple step to install this.
#sudo apt-get install simplescreenrecorder

Courtesy: http://linuxg.net/how-to-install-simple-screen-recorder-0-3-0-on-ubuntu-14-04-ubuntu-13-10-ubuntu-12-04-and-derivative-systems/

Installing new fonts in Pinguy 14.04.3

Step1: sudo apt-get install font-manager
Step2: Open font manager -> drag and drop new fonts into that and reload the font manager.

Saturday, February 13, 2016

Avidemux installation - Video editor for Pinguy 14.04.3

Type out the following commands to install down Avidemux

sudo add-apt-repository ppa:rebuntu16/avidemux+unofficial

sudo apt-get update

sudo apt-get install avidemux2.6-gtk avidemux2.6-qt4

Audacity & Flareget installation in Pinguy 14.04.3

Installing Audacity (audio editor)
#apt-get install audacity

Installing Flareget (download manager)
https://flareget.com/download

Add Android Lolipop 5.1 in Pinguy 14.04.3 Boot entry @ HP 15-ac122tu notebook

Step 1: root@pna-HP-Notebook:~# gedit /etc/grub.d/40_custom 
Step 2: Add these lines in the bottom of the file.
menuentry "Andriod Lolipop"{
set root='(hd0,3)'
linux /android-5.1-rc1/kernel quiet root=/dev/ram0 androidboot.hardware=android_x86 acpi_sleep=s3_bios,s3_mode SRC=/android-5.1-rc1
initrd /android-5.1-rc1/initrd.img}
Step 3: root@pna-HP-Notebook:~#chmod +x /etc/grub.d/40_custom
Step 4: root@pna-HP-Notebook:~#update-grub
Step 5: root@pna-HP-Notebook:~#reboot

Tuesday, February 9, 2016

Installation step of Chrome 48 in HP 15-ac122tu notebook

Do the following steps to install Google Chrome:

$ sudo sh -c 'echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list'

$ wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -

$ sudo apt-get update

$ sudo apt-get install google-chrome-stable