Saturday, December 13, 2014

Delete directory in Linux

To delete a directory using console:
    rm -rf lampp

Eclipse error on Linux "Locking is not possible in the directory..."

   Error description: when trying to open eclipse it shows '
     Locking is not possible in the directory “/opt/eclipse/configuration/org.eclipse.osgi” '

   Solution:The error occurs when the user does not have the required permission to access the .fileTableLock file. This file is in the configuration directory for Installation Manager. This has to do with folder permission. It's necesary tu run:

   
   chmod -R 777 configuration

   For the configuration folder.


http://askubuntu.com/questions/346443/locking-is-not-possible-in-the-directory-opt-eclipse-configuration-org-eclipse

Saturday, November 15, 2014

How to fix permissions folder in Ubuntu

First, your username is needed.

1. Run in the terminal

    who am i

2. Then using the resulting username you type:

    sudo chown -R username:username /folder

How to Execute a .run file in Linux

 1. Open the terminal
 2. Move to the file's directory with "cd"
 3. Mark the file as executable with the chmod command:

      chmod +x file-name.run

  4. Now execute the file:

     ./file-name.run