<<< First unit exercises >>>
1. Using student User Login System graphical interface
650) this.width=650; "Src=" https://s1.51cto.com/wyfs02/M01/8F/5A/wKioL1jbo5rj53LvAAmv8IddeR4866.png-wh_500x0-wm_ 3-wmp_4-s_1161222953.png "title=" 234520170329200717.png "alt=" Wkiol1jbo5rj53lvaamv8idder4866.png-wh_50 "/>
2. Open a Bash
650) this.width=650; "Src=" https://s4.51cto.com/wyfs02/M00/8F/59/wKioL1jblenRGZ9NAAJ5x8FihuU219.png-wh_500x0-wm_ 3-wmp_4-s_1339371103.png "style=" Float:none; "title=" 234520170329175321.png "alt=" Wkiol1jblenrgz9naaj5x8fihuu219.png-wh_50 "/>
3. Modify the student password to update the password to "T3st1ngtlme" (host letters and numbers)
650) this.width=650; "Src=" https://s5.51cto.com/wyfs02/M00/8F/5B/wKiom1jblejx7m7oAAGue36CyHo704.png-wh_500x0-wm_ 3-wmp_4-s_667928962.png "style=" Float:none; "title=" 234520170329175301.png "alt=" Wkiom1jblejx7m7oaague36cyho704.png-wh_50 "/>
4. Display the current system time
650) this.width=650; "Src=" https://s4.51cto.com/wyfs02/M01/8F/5B/wKiom1jblery-75qAACEts70UHU369.png-wh_500x0-wm_ 3-wmp_4-s_848497073.png "style=" Float:none; "title=" 234520170329175334.png "alt=" Wkiom1jblery-75qaacets70uhu369.png-wh_50 "/>
5. Display the current system time, the display format is: "Hours: minutes: Seconds am/pm" (am/pm for the last afternoon logo)
650) this.width=650; "Src=" https://s1.51cto.com/wyfs02/M01/8F/5B/wKiom1jblerBdQmzAACt3cB9MjA908.png-wh_500x0-wm_ 3-wmp_4-s_248450270.png "style=" Float:none; "title=" 234520170329175451.png "alt=" Wkiom1jblerbdqmzaact3cb9mja908.png-wh_50 "/>
6. Display the file type of "/usr/bin/clean-binary-files"
650) this.width=650; "Src=" https://s4.51cto.com/wyfs02/M01/8F/59/wKioL1jbleug46ftAACira0xQGM808.png-wh_500x0-wm_ 3-wmp_4-s_1194000441.png "style=" Float:none; "title=" 234520170329175511.png "alt=" Wkiol1jbleug46ftaacira0xqgm808.png-wh_50 "/>
7. Statistics for "/usr/bin/clean-binary-files" File size
650) this.width=650; "Src=" https://s1.51cto.com/wyfs02/M00/8F/59/wKioL1jbleqBw0kLAAEFZnc4poQ001.png-wh_500x0-wm_ 3-wmp_4-s_2630381399.png "title=" 234520170329175435.png "style=" Float:none; "alt=" Wkiol1jbleqbw0klaaefznc4poq001.png-wh_50 "/>
8. Use a shortcut in the Shell to invoke the already executed the 4th Commandment
650) this.width=650; "Src=" https://s4.51cto.com/wyfs02/M01/8F/59/wKioL1jblevggSGyAADR3ngu_S8227.png-wh_500x0-wm_ 3-wmp_4-s_3867395439.png "title=" 234520170329175535.png "style=" Float:none; "alt=" wkiol1jblevggsgyaadr3ngu_ S8227.png-wh_50 "/>
9. Use the shortcut to perform the most recent article containing "Da te "keyword commands
650) this.width=650; "Src=" https://s5.51cto.com/wyfs02/M02/8F/5B/wKiom1jblezCflgGAAB2Qqjmpzk343.png-wh_500x0-wm_ 3-wmp_4-s_1206430021.png "style=" Float:none; "title=" 234520170329175604.png "alt=" Wkiom1jblezcflggaab2qqjmpzk343.png-wh_50 "/>
<<< Second unit exercise >>>
1. Create a file with commands and regular expressions as required
*) Create 12 files with one command Westos_classx_linuxy (the value range of x is 1-2,y 1-6)
*) These files are included in the study directory of the root user's desktop
650) this.width=650; "Src=" https://s2.51cto.com/wyfs02/M00/8F/5B/wKiom1jbleiiH2XFAAGa4I_vYps844.png-wh_500x0-wm_ 3-wmp_4-s_3249988248.png "style=" Float:none; "title=" 234520170329175219.png "alt=" Wkiom1jbleiih2xfaaga4i_ Vyps844.png-wh_50 "/>
*) Create 8 files with one command Redhat_versionx (the range of x is 1-8)
*) Redhat_virsionx These files are included in version in the/MNT directory
650) this.width=650; "Src=" https://s2.51cto.com/wyfs02/M01/8F/5C/wKiom1jbnyuQb-Q_AAD8MGT2XaM334.png-wh_500x0-wm_ 3-wmp_4-s_4010801010.png "title=" 234520170329194828.png "alt=" Wkiom1jbnyuqb-q_aad8mgt2xam334.png-wh_50 "/>
2. The requirements for managing the newly created documents are as follows
*) Copy the odd files in the Redhat_versionx with a single command
To a single in the desktop
650) this.width=650; "Src=" https://s1.51cto.com/wyfs02/M02/8F/59/wKioL1jble-i12U4AADEuWyjz8o389.png-wh_500x0-wm_ 3-wmp_4-s_46215852.png "title=" 234520170329175700.png "style=" Float:none; "alt=" Wkiol1jble-i12u4aadeuwyjz8o389.png-wh_50 "/>
*) copy files with even numbers in Redhat_versionx to/double with a single command
650) this.width=650; "Src=" https://s5.51cto.com/wyfs02/M02/8F/5B/wKioL1jbquvitkf4AADMKzLPlM4223.png-wh_500x0-wm_ 3-wmp_4-s_682090786.png "title=" 234520170329194247.png "alt=" Wkiol1jbquvitkf4aadmkzlplm4223.png-wh_50 "/>
*) move Class1 files in Westos_classx_linuxy to CLASS1 in the current user's desktop with a single command
650) this.width=650; "Src=" https://s2.51cto.com/wyfs02/M00/8F/5C/wKiom1jblfDCNpyMAAFIW1PLVRE373.png-wh_500x0-wm_ 3-wmp_4-s_3603570890.png "title=" 234520170329175734.png "style=" Float:none; "alt=" Wkiom1jblfdcnpymaafiw1plvre373.png-wh_50 "/>
*) move class2 files in Westos_classx_linuxy to CLASS2 in the current user's desktop with a single command
650) this.width=650; "Src=" https://s3.51cto.com/wyfs02/M01/8F/5C/wKiom1jbn4SDjP5PAADEvQhFeWU084.png-wh_500x0-wm_ 3-wmp_4-s_2519592167.png "title=" 234520170329195007.png "alt=" Wkiom1jbn4sdjp5paadevqhfewu084.png-wh_50 "/>
3. Back up all the files in the/etc directory with the names with numbers and end with. conf to the Confdir on the desktop
650) this.width=650; "Src=" https://s1.51cto.com/wyfs02/M01/8F/5A/wKioL1jbn8qjhcUIAAJMxskmT98612.png-wh_500x0-wm_ 3-wmp_4-s_3912019174.png "title=" 234520170329195117.png "alt=" Wkiol1jbn8qjhcuiaajmxskmt98612.png-wh_50 "/>
5. Delete all files you have just created or backed up
650) this.width=650; "Src=" https://s2.51cto.com/wyfs02/M02/8F/5A/wKioL1jbn_eS2NhIAAD8uJbwzk0739.png-wh_500x0-wm_ 3-wmp_4-s_1794304653.png "title=" 234520170329195204.png "alt=" Wkiol1jbn_es2nhiaad8ujbwzk0739.png-wh_50 "/>
<<< Fourth Unit exercise >>>
1. Execute the find/etc-name passwd command under the student user and manage its output requirements as follows:
* Show all correct output, mask error output
650) this.width=650; "Src=" https://s2.51cto.com/wyfs02/M02/8F/59/wKioL1jblgKAAdgWAACDtx1jRk8247.png-wh_500x0-wm_ 3-wmp_4-s_334740717.png "title=" "style=" width:500px;height:82px; "width=" height= "0" border= "0" Vspace= "0" alt= "wkiol1jblgkaadgwaacdtx1jrk8247.png-wh_50"/>
* Save correct number out to/tmp/find.out, error number out to/tmp/find.err
650) this.width=650; "Src=" Https://s2.51cto.com/wyfs02/M01/8F/5A/wKioL1jboVLyKPDIAAHbR9ockuU165.png-wh_ 500x0-wm_3-wmp_4-s_3159419004.png "title=" 234520170329195742.png "style=" text-align:center; "alt=" Wkiol1jbovlykpdiaahbr9ockuu165.png-wh_50 "/>
* Create/tmp/find.all file, and save all output to this file
650) this.width=650; "Src=" https://s4.51cto.com/wyfs02/M01/8F/5A/wKioL1jbqXrS0223AAJ6wWdCxyQ058.png-wh_500x0-wm_ 3-wmp_4-s_412224250.png "style=" Float:none; "title=" 234520170329202901.png "alt=" Wkiol1jbqxrs0223aaj6wwdcxyq058.png-wh_50 "/>
* Save all output to/tmp/find.all again, and keep the contents of the source file
650) this.width=650; "Src=" https://s1.51cto.com/wyfs02/M01/8F/5D/wKiom1jbrBjDdnAeAAEmHymKT9U225.png-wh_500x0-wm_ 3-wmp_4-s_25276636.png "title=" 234520170329203101.png "alt=" Wkiom1jbrbjddnaeaaemhymkt9u225.png-wh_50 "/>
* Block all output from this command
650) this.width=650; "Src= " https://s1.51cto.com/wyfs02/M00/8F/ 5d/wkiom1jbqx3bd6yiaaahh8y3q0a911.png-wh_500x0-wm_3-wmp_4-s_4225184008.png "title=" 234520170329203125.png "style = "Text-align:center;" alt= "Wkiom1jbqx3bd6yiaaahh8y3q0a911.png-wh_50"/>
* Show all output of this command and save output to any file on the desktop
650) this.width=650; "Src=" https://s5.51cto.com/wyfs02/M00/8F/5A/wKioL1jbqX7j_9_CAAGQ5Vrpb7Y147.png-wh_500x0-wm_ 3-wmp_4-s_3109927665.png "title=" 234520170329203156.png "style=" Float:none; "alt=" wkiol1jbqx7j_9_ Caagq5vrpb7y147.png-wh_50 "/>
* Save correct output to/tmp/find.out.1, mask error output
650) this.width=650; "Src=" https://s1.51cto.com/wyfs02/M02/8F/5B/wKioL1jbq9zg5NXWAACjW8Pg36Q033.png-wh_500x0-wm_ 3-wmp_4-s_214019782.png "title=" 234520170329203220.png "alt=" Wkiol1jbq9zg5nxwaacjw8pg36q033.png-wh_50 "/>
2. Processing documents in document/usr/share/mime/packages/freedesktop.org.xml requirements are as follows:
* Locate the line containing ICH in this file and save these lines to/root/lines
650) this.width=650; "Src=" https://s3.51cto.com/wyfs02/M00/8F/5A/wKioL1jblgSzuQ3gAALTpTlc9gY771.png-wh_500x0-wm_ 3-wmp_4-s_2825262110.png "title=" 234520170329180236.png "style=" text-align:center; "alt=" Wkiol1jblgszuq3gaaltptlc9gy771.png-wh_50 "/>
* Replace the space in/root/lines with vim, but keep the contents of the file
650) this.width=650; "Src=" https://s4.51cto.com/wyfs02/M00/8F/5C/wKiom1jblgPxuhCTAAIkQhRm0Do354.png-wh_500x0-wm_ 3-wmp_4-s_2860540441.png "style=" Float:none; "title=" 234520170329180210.png "alt=" Wkiom1jblgpxuhctaaikqhrm0do354.png-wh_50 "/>
Linux "1-4unit" exercises