Different Commands

  • To change permissions of a file,command is:
sudo chmod 777 filename
Here,777 refers to read,write and execution permissions to user,group and others.
Similarly,you can use 4 for read , 2 for write , 1 for execution or with combitions like- 6 for read and write permissions.
It can be represented as this:
    User                                  
 /     |     \
R    W   X
|      |      |
4     2     1
  \    |     /
       7

   Group                              
 /     |     \
R    W   X
|      |      |
4     2     1
  \    |     /
       7
     
  Others                                 
 /     |     \
R    W   X
|      |      |
4     2     1
  \    |     /
       7
  • To run a website in command line , command is:
     w3m (space) 'address of the website'
for example:
                  w3m gndec.ac.in

  • To install latest flash player :
    sudo apt-get install flashplugin-nonfree