--------------------------------Virtual Machine Control---------------------------------
[[email protected] ~]$ Rht-vmctlstart Desktop//Open
[[email protected] ~]$ Rht-vmctlview Desktop//display
[[email protected] ~]$ Rht-vmctlreset Desktop//Reset
[[email protected] ~]$ Rht-vmctlfullreset Desktop//Full reset
[[email protected] ~]$ rht-vmctlstop Desktop//normal shutdown virtual machine
[[email protected] ~]$ Rht-vmctlpoweroff Desktop//forcibly closed
Student--student//General user
Root--redhat//Super User
-------------------------------GNOME General Operations-------------------------------
1.login
For GUI
For text
2.ctrl+alt+ | down//Switch work interface
3.ctrl+alt+l//Lock screen
4.shell Open Mode
Right jian applications--> commonly used---->shell
Set shortcut keys Gnome-terminal
5. System New Initialization
Shutdown Poweroff|init 0|shutdown-h Now
Restart Reboot|init 6 |shutdown-r now
Use commands----------------------------------the shell-----------------------------
[[Email protected] desktop]$//user @ Host name working directory identity prompt
Kiosk//Start bath who is the user
@foundation17//bath running on that mainframe.
Desktop//directory of your system
$//Command prompt $ represents a normal user #表示超级用户
gnome-terminal--Open bath with a command
User name existing in SU system--Switch User identity (Ctrl+d exit)
Reboot//restart
(1) command to enter after prompt
(2) command format: Command parameter target (eg:date-d +%m/%d)
Parameters are specified for the command function
-Abbreviations for parameters//words
--full spelling of parameters//words
(3) Help: Command--help
"Content"//Content Selection Plus
< content >//content must be added
Content ...//any number of content
(4) Ctrl +C//Undo non-executed commands
-----------------------------------passwd--------------------------------------
(1) Change password
Command format:
passwd username//change user password (only superuser root can)
passwd//Normal user to modify their own password
Ordinary users can only modify their own password, and must know their original password, the change password must be greater than 8 bits, can not be duplicated with the original password characters
(2) Change password information
Monitoring command: Watch-n 1 command
Monitoring Student Password Information
Wangtch-n 1 passwd-sstudent
passwd parameters
Passwd-s username//View password information
-D ....//Delete password information
-l ....//Lock
-u ....//unlock
-e ....//Let password expire immediately
-n ....//Minimum effective days
-X ....//Maximum effective days
-W ....//Change Password warning days
-I ....//Password Inactive days
----------------------------------file----------------------------------------
file //view file types
gedit file name //new file
Cat File name //view file all contents to the end of the file
Less file name //view file all contents from the beginning of the file, press Q to exit
Head-Number file name //file content before how much
tail-Digital File name //file contents How many
------------------------------------ WC-----------------------------------------
Wc-l file name//line number
-w//number of words
-m//number of characters
-c//number of bytes
-L//show the length of the longest line
TAB key
File names, commands, and command parameters that exist in the system
--------------------------------History Call----------------------------------------
! Number//How many commands to execute
! Keyword//execute most recent keyword command
ctrl+r+ keyword//execute keyword command
History//View historical commands
History-c//Clear History command
Up/down key//view forward or backward from the last command
---------------------------------shortcut Keys------------------------------------------
CTRL + A//cursor moves to the beginning of the line
+ E//cursor moves to end of line
+ u//cursor position deleted to beginning of line
+ k//cursor position deleted to end of line
+ R//Bring up the most recent command with a keyword
+ left | right//CURSOR moves in Word units
+ c/Undo to enter the command
+ d//close current environment
+ SHIFT + t//reopen a table in an existing shell
+ SHIFT + pageup|pagedown//Toggle Table
+ ALT + L//Lock screen
+ ALT + up | down//Switch work interface
+ ALT + F1|f7//Enter the graphical interface
+ ALT + F2-f6//Enter Virtual Console
This article is from the "12086808" blog, please be sure to keep this source http://12096808.blog.51cto.com/12086808/1855182
Basic Linux Learning