TAILIEUCHUNG - Solaris 9 System Administrator Exam phần 4

hoặc phiên bản cao hơn của các miếng vá đã được cài đặt. ➤ Các kiến trúc của các bản vá và hệ thống không phù hợp. sau khi Bảng 8,4 Mô tả chức năng Chức năng tar crtux Tạo (ghi đè) một kho lưu trữ băng | File System Basics 135 rm examine files in directory test Solaris yes no y rm examine files in directory test Solaris 9 yes no y rm remove test Solaris 9 yes no y rm remove test Solaris yes no y rm remove test yes no y Normally if the rm command encounters a write-protected file it will prompt to confirm its removal. However if the -f command-line argument is specified write-protected files are removed without confirmation. The -f command-line argument cannot be specified with the -i command-line argument. Files Files can be copied moved or renamed and deleted as required. These operations are performed by the following commands cp 1 Copies one or more files. mv 1 Moves or renames files. rm 1 Removes one or more files. The following sections discuss each of these. Copying Files Using the cp Command The cp 1 command can be used to copy one or more files to another directory or be used to create a copy of an existing file with a different name. When copying one or more files the last command-line argument is the target directory and all preceding command-line arguments are the files to be copied. The files to be copied can be complete filenames multiple files selected using metacharacters or any combination. Multiple filenames are separated by spaces. For example the first two cp commands copy one file to a different filename. The third command copies several files into another directory. Note when copying multiple files that they cannot be renamed. ls -l total 224 -rw-r--r-- 1 root other 103306 Apr 13 20 48 file1 cp file1 ls -l total 448 -rw-r--r-- file2 1 root other 103306 Apr 13 20 48 file1 -rw-r--r-- 1 root other 103306 Apr 13 20 48 file2 cp file2 xfile 136 Chapter 6 ls -l total 672 rw-r- -r-- 1 root other 103306 Apr 13 20 48 file1 rw-r- -r-- 1 root other 103306 Apr 13 20 48 file2 rw-r- -r-- 1 root other 103306 Apr 13 20 48 xfile cp xfile file tmp ls -l tmp total 1496 rw-r- -r- 1 daemon other 19521 Apr 6 00 52 cache rw-r- -r- 1 root other 103306 Apr 6 02 10 comp

TỪ KHÓA LIÊN QUAN
TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã 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.