Be Thông thường thiết lập để "Có" trên một máy chủ cho tất cả Các người khác trên mạng của bạn. os cấp = 65 Các tùy chọn "os cấp" xác định liệu giá trị của ITS Phần mềm máy chủ (File Sharing Network Services) 2 Chương 1 | 5 Exercise Accessing Files and Directories Exercise Solutions Use Figure 5-3 on page 5-32 to identify the pathnames for the following objects 1. Specify the absolute pathnames for user2 home user2 coffees home user2 dir1 coffees dir4 home user2 dir4 Assume home user2 is the current directory for the next two questions. 2. Specify the relative pathnames for dir3 dir3 flowers dir4 flowers recipes dir2 recipes 3. Specify the relative pathnames for the dir1 subdirectories and files. dirl coffees dirl coffees nuts dirl coffees beans dirl fruit dir1 trees Fundamentals of Solaris 7 Copyright 1999 Sun Microsystems Inc. All Rights Reserved. Enterprise Services August 1999 Revision D 5-38 5 Exercise Accessing Files and Directories Exercise Solutions Using Figure 5-3 on page 5-32 as reference perform each of the following tasks on your system. Use pathname abbreviations whenever possible. 4. Change to your home directory . cd or cd 5. Change to the dirl directory. cd dirl 6. Change to the fruit directory. cd fruit or cd dir1 fruit 7. Change to the planets directory. cd dir3 planets or cd . . dir3 planets 8. Go back to your home directory . cd or cd 9. Change to the etc directory. cd etc 10. Change to the recipes directory. cd dir2 recipes or cd home user2 dir2 recipes 11. Change to the flowers directory. cd . . dir4 flowers or cd dir4 flowers Accessing Files and Directories 5-39 Copyright 1999 Sun Microsystems Inc. All Rights Reserved. Enterprise Services August 1999 Revision D 5 Exercise Accessing Files and Directories Exercise Solutions Use the Is and cd commands to complete the following steps. Refer to Figure 5-3 on page 5-32 for the first six steps as needed. 12. Return to your home directory. cd or cd 13. Change to the dirl directory. cd dirl 14. List the contents of the dirl directory. Is 15. Display a recursive listing of the contents of the dir2 directory. Is -R . dir2or Is -R dir2 16. Use the Is command to display a detailed listing of your home directory including