Powered By Blogger

Friday, 16 May 2014

If you messed up with bashrc file then How to reload skeleton bashrc ?

To do so follow the next steps:
  1. Backup your current .bashrc file:
    cp ~/.bashrc ~/.bashrc.bak
  2. Copy the skeleton .bashrc file over yours:
    cp /etc/skel/.bashrc ~/
  3. Afterwards, load the new one:
    source ~/.bashrc

Saturday, 19 April 2014

Ubuntu 12.04 - Not able to open software center

Try following commands -

sudo rm -rf /var/lib/apt/lists

sudo apt-get update


Then try opening ubuntu software center.

Comments would be appreciated  :)

Thursday, 6 February 2014

If Below error occurred

 
 
 
 

 


Then follow below steps 
 

sudo apt-get clean
cd /var/lib/apt
sudo mv lists lists.old
sudo mkdir -p lists/partial
sudo apt-get clean 
sudo apt-get update
 
 Courtesy:http://ubuntuforums.org/showthread.php?t=1983220#8
 

Sunday, 3 February 2013

Friday, 1 February 2013

Clear Recent files in ubuntu

sudo apt-get install activity-log-manager

Clear Recent files in ubuntu

sudo apt-get install activity-log-manager

Friday, 25 January 2013

Ubuntu 12.04 is not shutting down properly?

Try this

open terminal

sudo gedit /etc/default/grub

In this file replace

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
 
 by

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi=force"


Then restart.

See the list of drives in ubuntu with UUID

sudo blkid -c /dev/null

then mount into it

sudo mount -t type /dev/sdb1 /mnt/drive2

Install User manage group UI

sudo apt-get install gnome-system-tools

Sunday, 20 January 2013

Adding apache www dir to php eclipse workspace

http://superuser.com/questions/426133/change-workspace-directory-of-eclipse-to-www

Wednesday, 23 March 2011

Thursday, 3 March 2011

delete specific directory by finding in folders

FOR /F "tokens=*" %%G IN ('DIR /B /AD /S *.svn*') DO RMDIR /S /Q "%%G"

Cpoty this text in a batch for windows or ina sh file on linux and just put this file into a folder in which you want to search and delete the directory.

Friday, 18 February 2011

Install Quanta on UBUNTU

sudo apt-get install quanta kompare kxsldbg cervisia

Thursday, 17 February 2011

permissions

Octal digit   Text equivalent   Binary value Meaning
0 --- 000 All types of access are denied
1 --x 001 Execute access is allowed only
2 -w- 010 Write access is allowed only
3 -wx 011 Write and execute access are allowed
4 r-- 100 Read access is allowed only
5 r-x 101 Read and execute access are allowed
6 rw- 110 Read and write access are allowed
7 rwx 111 Everything is allowed





644 owner: read and write permissions,
group: only read permissions,
others: only read permissions. 
755 owner: read, write and execute permissions,
group: read and execute permissions,
others: read and execute permissions. 


Tuesday, 1 February 2011

How to install .bin file

1. chmod a+x binFileName

2.   ./binFileName

Tuesday, 14 December 2010

CREATE FOLDER SHORTCUT

 sudo ln -s /home/username/FOLDER_NAME  /home/username/LINK_NAME