Wednesday 7 January 2015

Backtrack Commands - Tut 3



kill

kill: kill. Eliminates the process we indicate with PID:
# Kill

Sometimes the process does not "die" at all, but you can force the system to safely kill him as follows:

# Kill -9
-------------------------------------------------- ---------------
sudo

super-user do: do as root. The user account in Ubuntu is relatively normal. Have administrator rights to half. I mean, it does, but every time you do something important and systemic risk, it must be done by the prefix "sudo" and then typing the password.

For example, something we have done many times in the tutorials is to make a backup of the xorg.conf file. It is located in the / etc/X11 and that any user can change or delete anything if you are not an administrator or have rights as such, thanks to sudo. So we always did:

# Sudo cp / etc/X11/xorg.conf / etc/X11/xorg.conf

Whenever we need to make a apt-get/aptitude update or install and actions of this kind, we have to put before the "sudo".
passwd

password: password. This command can change the password for our account. First we asked the current password as a security measure. Then prompts you to enter twice the new password.

# Passwd
his

super-user: root. By "their" we loguearnos as root. After writing it will ask for the root password and we as administrator.

# Su

This command also allows you to login with a different account. For example, imagine we have another account, besides root and ours, called "guest". To login as such would be sufficient to:

# His guest

and then enter the password for that account.

sudo passwd

Thanks to the combination of these two commands you can change the root password (the super-user).

# Sudo passwd 
__________________________
 
man

manual: manual.'s another powerful commands in linux. Program or command is normally comes with a complete help file on their use and their arguments. When desconozcáis how it is used and what arguments have a command or application you only have to type in console:

# Man named

Sometimes the information you provide us man can become excessive. Almost all commands and applications accept the argument "- help" to display more summarized some help. For example with aptitude:

# Aptitude - help

0 comments:

Post a Comment