« Home « Kết quả tìm kiếm

UNIX Essentials Featuring the Solaris


Tóm tắt Xem thử

- in the U.S.
- 5-1 Fundamentals of the vi Editor.
- 8-2 Limitations of the Basic UNIX Permissions.
- Use components of the desktop system.
- Viewing and Using Components of the Desktop System.
- Lecture – The instructor presents information specific to the objective of the module.
- Activities – The activities take on various forms, such as an exercise, self-check, discussion, and demonstration.
- Visual aids – The instructor might use several visual aids to convey a concept, such as a process, in a visual form.
- The statement, “The system has 64 Mbytes of memory,” refers to the amount of RAM installed on the computer.
- You can use the desktop environment to access most of the functions of the computer..
- Figure 1-3 Role of the Kernel.
- Figure 1-4 Role of the Shell.
- Bash – The GNU project’s Bourne-Again shell is a.
- Z shell – The Z shell most closely resembles the Korn shell, but it includes many other enhancements..
- TC shell – The TC shell is a completely compatible version of the C shell with additional enhancements..
- Using the Desktop Environment.
- You can use the Sessions Option to select any of the following sessions:.
- Note – The root user has the ability to unlock the desktop login screen without the user’s password..
- To change the name of the workspace that is currently active, complete the following steps:.
- Note – The initial screen contents of the Help Viewer window depend upon the manner in which you start the viewer.
- To identify components of the computer, complete the following steps:.
- Core of the Solaris OS.
- Perform the following steps:.
- Core of the Solaris OS a kernel b.
- A shell prompt appears at the beginning of the command line.
- By default, when you perform the uname command, the name of the current.
- The following example shows the use of the uname command with separate options:.
- The -s option shows the name of the operating system.
- The following example of the uname command with the -a option shows information currently available from the system:.
- The syntax of the man command is:.
- You can search within a specific section of the man pages by using the man command with the -s option..
- List the functions of the -s and -r options to the uname command..
- The -s option prints the name of the operating system..
- To list the contents of the user1 directory, perform the ls command..
- You can view a hierarchy of the files and directories in the /export/home/user1 directory, as Figure 3-2 shows..
- file.1 dir5.
- To view detailed information on the contents of the dir1 directory, perform the ls -l dir1 command from the user1 directory..
- You can use the ls -R command to display the contents of a directory and the contents of all of the directory’s subdirectories.
- To view a recursive list of the contents of the dir1 directory, perform the ls -R dir1 command..
- The following example shows the output of the ls -F command..
- The output from the file command can be one of the following:.
- You can move up multiple levels of the directory hierarchy by using the cd.
- Note – The directory named /export/home is the default directory that contains the home directories of regular users.
- configure systems to use the /home directory, instead of the.
- character in front of the user name.
- Note – The ~ character is a shell facility and is not available in all shells..
- The syntax of the more command is:.
- To display the first screen of the dante file, perform the more command..
- The -n option displays n lines from the end of the file.
- The +n option displays the file from line n to the end of the file..
- Table 3-7 describes the information in the status response of the lpstat command..
- Display a long list of the contents of the current working directory..
- Display the contents of the fruit file by using the cat command..
- directory contents of the Solaris OS.
- Caution – The cp command is a destructive command if not used with the correct option..
- You can use the cp command with options and modify the functions of the command.
- Caution – The mv command is a destructive command if not used with the correct option..
- Caution – The rm command is a destructive command if not used with the correct option..
- A yes response completes the removal of the file..
- Note – The * symbol used in the previous example is a wild card character, and it is described in more detail in Module 6, “Using Commands Within the Shell.”.
- The target_file variable refers to the name of the symbolic link.
- Using a single command, copy the files file.1 and file.2 to the practice1 directory..
- Recursively list the contents of the practice1 directory..
- Using the vi Editor.
- Describe the fundamentals of the vi editor.
- Fundamentals of the vi Editor.
- while in the command mode.
- Although most of the vi commands are available, you cannot save changes to the file..
- Note – The vi editor is case sensitive.
- A Appends text at the end of the line.
- e To the end of the current word.
- To the end of the line.
- 0 (zero) To the beginning of the line.
- G Goes to the last line of the file.
- 1G Goes to the first line of the file.
- D Deletes the line from the cursor to the right end of the line..
- n Searches for the next occurrence of the string .
- N Searches for the previous occurrence of the string .
- :n,n m n Moves Lines n – n to Line n .
- Some of the shell metacharacters have specific path name functions.
- character represents the home directory of the current user.
- It is a substitution that equates to the absolute path name of the user..
- Note – The tilde.
- LOGNAME Sets the login name of the user..
- To ignore the special meaning of the dollar sign metacharacter, perform the following command:.
- Note – The echo utility writes arguments to the standard output..
- To interpret the special meaning of the dollar sign metacharacter, perform the following command:.
- echo “The user is currently in the $(pwd) directory.”.
- Note – The Korn shell stores command history in a file specified by the HISTFILE variable.
- Using the r Command.
- perform the following command:.
- To rerun the most recent occurrence of the ps command, perform the following command:.
- Use the vi editor to turn on and enable the shell history editing feature with one of the following commands:.
- Note – The key sequence presented previously applies only to the vi mode of command-line editing..
- The shell completes the remainder of the file name, displaying:.
- If the file exists, the redirection overwrites the contents of the file..
- Note – The semicolon.
- perform the command:.
- Note – The /etc/profile file is a separate, system-wide file that the system administrator maintains.
- Note – The /etc/.login file is a separate, system-wide file that the system administrator maintains

Xem thử không khả dụng, vui lòng xem tại trang nguồn
hoặc xem Tóm tắt