Thursday, April 10, 2014

Ubuntu 12.04 tips

1. Enable super user account password on Ubuntu

$ sudo passwd root
[sudo] password for :
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully

With with the new password you can login as super user with su command

2. For anyone also wanting to liberate their system, this is one of the solution

load the Terminal
type: sudo passwd root
input your user's password when prompted
create UNIX password when prompted
type: sudo sh -c 'echo "greeter-show-manual-login=true" >> /etc/lightdm/lightdm.conf'
reboot the system
At the login screen there is now an option to login manually.

3. To install skype:

sudo add-apt-repository "deb $(lsb_release -sc) partner"
sudo apt-get update
sudo apt-get install skype

4. To see hidden files in the particular directory, Press Ctrl + H.
5. To install chrome using  deb package:

sudo dpkg -i google-chrome-stable_current_i386.deb
google-chrome-stable : to open the chrome.

6. To change the ownership of all files and directories inside of directory and directory itself:
groups //to get the user group
sudo chown -R username:group directory

7. Install sqlite browser

Go to development.sqlite3 {file with .sqlite3} extension. Right click the file. Select open with other application. Select  search from internet to find the applicable software.System will search for SQLiteman.   Install SQLiteman.
8.  command to kill process running in  ror localhost 3000 .
    lfos| grep 3000
    kill -9 5252 [ex]

No comments:

Post a Comment