• Increase font size
  • Default font size
  • Decrease font size

Linux Commands

Setting processor affinity for a certain task or process using taskset command

  •  taskset is used to set or retrieve the CPU affinity of a running process given its PID or to launch a new COMMAND with a given CPU affinity. However taskset is not installed by default. You need to install schedutils (Linux scheduler utilities) package.Install schedutils

    Debian Linux:
    # apt-get install schedutils
    Red Hat Enterprise Linux:
    # up2date schedutils
    OR
    # rpm -ivh schedutils*
    Under latest version of Debian / Ubuntu Linux taskset is installed by default using util-linux...

     

    Changing file permissions : chmod

     You can change the permissions of your files (or other people's files if you're the root superuser) by using the command "chmod". The syntax is very simple. For instance if George decides to give write permissions to the administrators, he will type:

    chmod g+w myfile

    g represents the group of the file (administrators).
    w represents the write permission.
    + represents the fact that the permission is added.

    If George then lists the permissions using ls -l he obtains:

    ls -l...

     
    • «
    •  Start 
    •  Prev 
    •  1 
    •  2 
    •  3 
    •  4 
    •  5 
    •  6 
    •  7 
    •  8 
    •  9 
    •  10 
    •  Next 
    •  End 
    • »
    Page 1 of 38