The best way to memorize all linux commands and techniques used in Linux administration to gain Linux Professional Institute certificate is by practice. The following LPI sample exam should be taken as a middle way between reading a book and practice on command line. It includes questions from all topics required for LPIC 101 ( the first step in Linux certification progress ). Currently the test...
useradd
If you do not wish to add new user account to into your Linux system by using a GUI tools, you can do this task from a command line with useradd command.
useradd -mc "user name" -s /bin/bash john
The previous command will create a new user account for user john. -mc options instruct a useradd comment to put a comment about new user which is very often use to specify user's full name...
/etc/group file contains all groups available on the Linux systems. You can read all groups available with cat /etc/group command. To find out into which linux group you belong to you can use a following command:
groups
another way to access your personal group information is with id command:
id
id command will return group names you belong to as well as group numbers. to add a user to ...
Every process running on the linux system has a default priourity assined which tells the the system how much proccessing power should be deticated to each particular process. It is possible to change this priority value with nice or renice command. Here is a small example: Let's say that we have a very simple bash script which prints date and time to the file 1000 times.
#!/bin/bash
for i in ...
Every process which starts from a terminal is tied to shell as a child process from which it was executed. In the situation when a parent program gets terminated the child process will be terminated also as a result parent process termination.
This is not particularity desired behavior when a user needs to run a process remotely and let the process run after logout. Fir this reason a nohup comma...
|