Sun Fundamentals of Solaris 7 Student Guide With Instructor Notes phần 8

Các máy chủ với các trang web thiết lập để tải các tập tin Đôi khi Cung cấp tài khoản ftp vô danh năm để người dùng có thể kéo các tập tin ra khỏi máy chủ. Đối với loại tài khoản, tại dấu nhắc tên, từ vô danh được đăng IS THAY | 14 The sort Command Using sort on Different Fields Within a File ls -Id f list cat list -rw 1 melissao staff 218 Jul 15 16 47 feathers -rw 1 melissao staff 218 Jul 15 16 48 feathers_6 -rw--- 1 melissao staff 1696 Oct 19 1998 file1 -rw--- 1 melissao staff 105 Oct 19 1998 file2 -rw--- 1 melissao staff 218 Oct 19 1998 file3 -rw--- 1 melissao staff 56 Mar 7 09 52 fruit -rw--- sort cat 1 melissao -rn 4 list -o staff 57 Mar 7 09 53 fruit2 -rw--- 1 melissao staff 1696 Oct 19 1998 file1 -rw--- 1 melissao staff 218 Oct 19 1998 file3 -rw--- 1 melissao staff 218 Jul 15 16 48 feathers_6 -rw--- 1 melissao staff 218 Jul 15 16 47 feathers -rw--- 1 melissao staff 105 Oct 19 1998 file2 -rw--- 1 melissao staff 57 Mar 7 09 53 fruit2 -rw--- sort cat 1 melissao 5M 6n list -o staff update. 56 list Mar 7 09 52 fruit -rw--- 1 melissao staff 56 Mar 7 09 52 fruit -rw--- 1 melissao staff 57 Mar 7 09 53 fruit2 -rw--- 1 melissao staff 218 Jul 15 16 47 feathers -rw--- 1 melissao staff 218 Jul 15 16 48 feathers_6 -rw--- 1 melissao staff 105 Oct 19 1998 file2 -rw--- 1 melissao staff 218 Oct 19 1998 file3 -rw--- 1 melissao staff 1696 Oct 19 1998 file1 The first example represents beginning a sort on some field other than the first and shows a numeric reverse-order example. The sort command line would read as Do a reverse order numeric sort on the fifth field of the data in the file list and place the output into a file called . The second example represents a multilevel sort showing how the M option would work. This command would read as Do a Month order sort beginning with the sixth field. Do a second-level sort in numeric order and begin on the seventh field this will sort the numeric day of the month correctly name the output file . 14-30 Fundamentals of Solaris 7 Copyright 1999 Sun Microsystems Inc. All Rights Reserved. Enterprise Services August 1999 Revision D 14 Exercise Using File and .

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.