SAMS Teach Yourself Unix in 10 Minutes phần 3

Slice và dice ống lệnh dữ liệu • Sử dụng Editor vi • In trong môi trường UNIX • Và nhiều hơn nữa! Dù trình độ của bạn chuyên môn, Sams Teach Yourself UNIX trong 10 phút sẽ giúp bạn có được và chạy Bạn sẽ nắm vững các thành phần của chương trình | 36 in a file or executed from the terminal where you sit. In the next line of the example you will see a personal initialization file called HOME .X11defaults. .X11defaults is nothing more than a profile file that s it. You can edit your HOME . profile file by hand. We will learn how to do this in Part III File System Utilities where we will discuss editing files in Unix. Want to BASH Your Head into a Wall BASH is probably the most common Unix-based shell in use. Thanks to the worldwide use of Linux BASH users have grown to countless numbers. Most like to use BASH instead of sh because there are no history features and no aliases in sh which can become annoying. History is important when you do not want to retype the same command 100 times a day. With BASH simply press the up arrow on your keyboard to recall commands already used and stored in your system s memory. If you press the up arrow and all that is reported back is gibberish and unreadable commands you may be using an older shell. Your next step is to launch any applications you may want to use. When viewing the example .xinitrc file again you can see that programs such as an xterm window and xscreensaver are both launched in the background. Think about what other programs you may want to start during the boot-up of your system. Helpful suggestions for what you may want to eventually add include a window manager and perhaps your e-mail client. No matter what you decide the important thing to understand and learn here is how and where to make this change once you know how to edit files you can find things you want to launch and add them later. In our example the controlling process is the xterm window. When you close something that is designated as a controlling process doing so will close you out of your entire X Window System session. Let s look at another sample .xinitrc script bin sh xrdb HOME .Xprofile xsetroot -solid gray xclock -g 60x50-0 0 -bw 0 xterm -g 60X24 0 0 xterm -g 60x24 0-0 You can see that

Không thể tạo bản xem trước, hãy bấm tải xuống
TỪ KHÓA LIÊN QUAN
TÀI LIỆU MỚI ĐĂNG
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.