First, experimental hours: 2 hours second, the purpose of the experiment
V is familiar with the Redhat_linux user interface and makes common system settings.
V Master the Common shell commands.
Third, the experimental environment
V A computer running an operating system such as Windows xp\2000\2003;
V VMware virtual machine running Redhat Enterprise 5
Iv. Experimental Process
- Click the VMware folder on your desktop to find the VMware shortcut icon.
- 2. Double-click the shortcut icon to start the virtual machine, select the Redhat Enterprise 5 virtual machine and start.
- Experiment with the user interface on Redhat Enterprise 5 after virtual machine startup.
- Experiment with shell commands in the terminal window of the Redhat Enterprise 5 after the virtual machine is started.
V. Contents of the Experiment
1 into the Redhat Enterprise 5 virtual machine environment, and network settings, so that the virtual machine can access the Internet.
2 Landing into the system, into the interface operating environment.
3 in the user interface to display the system time and modification time operation.
Shell command operation under 4-character interface.
Six, the experimental steps: 1, through the VMware shortcut icon into the Open Redhat Enterprise 5 interface, and click the Green Small triangle icon to start the virtual machine.
2 Enter the user name root, password sias@123 into the virtual machine.
3 graphical user interface for Shell command operations
3.1 Show system time and modification time
1) Log in as root user
"Applications"-"accessories"-"terminal"
2) Enter date to display the system time
3) Enter Date 121700002008 (month (2), date (2), hour (2), Minute (2), Year (4)), modification time
3.2 View May 10, 2009 is the day of the week
Enter Command Cal 2009 to view the calendar.
3.3 View ls command
1) Use man ls to view the information in the Help manual to see the syntax structure of LS
2) Enter Q Exit Help manual
3) Ls–help can also be used to view help information
4) Use the LS command to view/etc Directory contents:
CD/ETC//Switch to/etc directory
Ls-al//Display all file and subdirectory information
Shell command operation under 4-character interface
4.1 View current directory
4.2 viewing files and creating files with Cat
1) Create a file named Me
2) to see if the file is generated, use the LS command
3) View the contents of the file Me
4) Add content to the file
5) Use the Cat command to see if the contents of the file increase
4.3 Counts the number of lines, words, and characters of a file, and stores the statistics in the Count file
4.4 pagination Displays information about the/etc directory
4.5 Show only the first 15 files and subdirectories in the/etc directory
4.6 Clear Screen Contents
4.7 use of wildcard characters
Displays all files and directories in the/bin/directory with the C-letter
ls/bin/c*//* as a string of characters
Ls/bin/c?? ? to one character
Experiment one user interface with Shell commands