Linux common commands

  
        1. startx
switch to a graphical interface

2. shutdown -h -now
immediately shut down

3. Shutdown -r -now
restart your computer now

4. reboot
now restart command associated computer

5. logout
cancellation

6. vi editor
a) vi file name, Go to the file editing page
b) Type i to start the insert mode
c) esc key, exit the insert mode, return to the command line mode
d) : Start typing
e) wq, save and exit < Br> f) q! To exit without saving files in

7. ls
view the catalog, parameters:
& middot; -l, view file details
& middot; under -a, View Directory all files, including hidden files

8. javac
run the compiled java files

Copyright © Windows knowledge All Rights Reserved