| Chủ đề phía trước :: Chủ đề kế tiếp |
| Tác giả |
Nội dung bài viết |
embéLiênXô Trứng cá hồi - Икра лососёвая

Tuổi: 42 Tham gia từ: 17 Jun 2005 Bài viết: 769 Đến từ: Nhà xây bằng gió lợp bằng mây
|
Gửi: 11-Jan-2006 10:26 pm Tiêu đề: Lệnh cơ bản ( basic command) của Linux
|
|
|
Xài linux tuy có giao diện GUI giống windoz nhưng vẫn nên biết 1 chút lệnh để xài trong Konsole (Terminal) chứ phải không, em có tài liệu 1 số lệnh cơ bản của Linux lấy từ site nước ngoài , lười dịch quá , paste lại thôi , mấy pác thông cảm nha
Đầu tiên là 1 số lệnh liên quan đến Terminal (Konsole)
=============================================
<Ctrl><Alt><F1>
Switch to the first text terminal. Under Linux you can have several (6 in standard setup) terminals opened at the same time.
<Ctrl><Alt><Fn> (n=1..6)
Switch to the nth text terminal.
tty
Print the name of the terminal in which you are typing this command.
<Ctrl><Alt><F7>
Switch to the first GUI terminal (if X-windows is running on this terminal).
<Ctrl><Alt><Fn> (n=7..12)
Switch to the nth GUI terminal (if a GUI terminal is running on screen n-1). On default, nothing is running on terminals
8 to 12, but you can run another server there.
<Tab>
(In a text terminal) Autocomplete the command if there is only one option, or else show all the available options.
THIS SHORTCUT IS GREAT! It even works at LILO prompt!
<ArrowUp>
Scroll and edit the command history. Press <Enter> to execute.
<Shift><PgUp>
Scroll terminal output up. Work also at the login prompt, so you can scroll through your bootup messages.
<Shift><PgDown>
Scroll terminal output down.
<Ctrl><Alt><+>
(in X-windows) Change to the next X-server resolution (if you set up the X-server to more than one resolution). For multiple resolutions on my standard SVGA card/monitor, I have the following line in the file /etc/X11/XF86Config (the first resolution starts on default, the largest determines the size of the "virtual screen"):
Modes "1024x768" "800x600" "640x480" "512x384" "480x300" "400x300" "1152x864"
<Ctrl><Alt><->
(in X-windows) Change to the previous X-server resolution.
<Ctrl><Alt><BkSpc>
(in X-windows) Kill the current X-windows server. Use if the X-windows server crushes and cannot be exited normally.
<Ctrl><Alt><Del>
Shut down the system and reboot. This is the normal shutdown command for a user at the text-mode console. Don't just press the "reset" button for shutdown!
<Ctrl>c
Kill the current process (mostly in the text mode for small applications).
<Ctrl>d
Log out from the current terminal. See also the next command.
<Ctrl>d
Send [End-of-File] to the current process. Don't press it twice else you also log out (see the previous command).
<Ctrl>s
Stop the transfer to the terminal.
<Ctrl>q
Resume the transfer to the terminal. Try if your terminal mysteriously stops responding.
<Ctrl>z
Send the current process to the background.
exit
Logout. I can also use logout for the same effect. (If you have started a second shell, e.g., using bash the second shell will be exited and you will be back in the first shell, not logged out.)
reset
Restore a screwed-up terminal (a terminal showing funny characters) to default setting. Use if you tried to "cat" a binary file. You may not be able to see the command as you type it.
<MiddleMouseButton>
Paste the text which is currently highlighted somewhere else. This is the normal "copy-paste" operation in Linux. (It doesn't work with Netscape and WordPerfect which use the MS Windows-style "copy-paste". It does work in the text terminal if you enabled "gpm" service using "setup".) Best used with a Linux-ready 3-button mouse (Logitech or similar) or else set "3-mouse button emulation"). _________________
| Ernesto Che Guevara viết: |
| Hạnh phúc không phải là cảm giác tới đích mà là trên từng chặng đường đi. |
|
|
| Trở về đầu trang |
|
 |
|
|
Bạn không thể gửi chủ đề mới Bạn không thể trả lời các chủ đề Bạn không thể sửa đổi bài viết của mình Bạn không thể xoá bài viết của mình Bạn không thể tham gia các bình chọn You cannot attach files in this forum You cannot download files in this forum
|
|