login-Linux will learn 60 commands

1. Role

Login role is to log into the system, its use rights for all users.

2. Format

login [name] [- p] [- h hostname]

3. The main parameters

-p: notice to maintain the current login environment parameters.

-h: used to transfer between remote login user name of.

If you choose to log on Linux command line mode, then see the first Linux command is login :.

General interface like this:

Manddrake Linux release 9.1(Bamboo) for i586

renrel 2.4.21-0.13mdk on i686 / tty1

localhost login:root

password:

The above code, the first line is the Linux distribution version number, the second line is the kernel version number and login Virtual Console, we enter a login name in the third line, press "Enter" key to enter the account password in the Password, you can log in system. For security reasons, when entering the account password characters are not echoed on the screen, the cursor does not move.

After logging you will see the following screen (to the super user):

[root@localhost root]#

last login:Tue ,Nov 18 10:00:55 on vc/1

Shown above is to log week, month, date, time, and use the virtual console.

4. application skills

Linux is a true multi-user operating system, can accept multiple users log on at the same time, also allows a user to log in multiple times. This is because many versions of Linux and Unix as the virtual console provides access mode, allowing users to log in multiple times from the console (system console is connected directly to the system monitor and keyboard) at the same time. Each virtual console can be seen as a stand-alone workstation, the table can be switched between. Switch virtual consoles can be achieved by pressing the Alt key and a function key, typically using F1-F6.

For example, after a user logs on, press the "Alt + F2" key, the user can see the "login:" prompt appears above, indicating that the user sees the second virtual console. Then simply press "Alt + F1" key, you can return to the first virtual console. A newly installed Linux system allows users to use "Alt + F1" to "Alt + F6" key to access the former six virtual console. Virtual Console most useful is that when a program error caused system deadlock, you can switch to other virtual console work, close the program.

Guess you like

Origin www.cnblogs.com/fanweisheng/p/11106966.html