CONSOLE
CONSOLE allows you to access the computer through cryptic Linux commands.
HOW TO ENTER CONSOLE AND TO EXIT?
Keybord:
ctrl+alt+Fcualquiera (to enter, full screen)
ctrl+alt+t (to enter, no full screen)
ctrl+alt+F7 (to exit)
Screenshot from a linux computer of school.
BASIC COMMANDS:
- sudo shutdown 2 :shutdown and turns of the computer after 2 minutes.
- sudo shutdown –r 2 : shuts down and reboots in 2 minutes.
$ sudo shutdown 2
$ sudo shutdown –r 2
The mv command moves a file or renames it. Here the file name gets changed from first.txt to second.txt.
$ mv first.txt second.txt
- The exit command exits the current shell. When you hit enter, you’ll be taken out of the terminal.
$ exit
Comentarios
Publicar un comentario