Linux Basic Learning First unit exercise

Source: Internet
Author: User

First unit Exercises

1. Using student User Login System graphical interface

650) this.width=650; "Src=" Http://s4.51cto.com/wyfs02/M01/88/6D/wKiom1f3Q4vQYLu6AAA2pXjasP4099.png-wh_500x0-wm_3 -wmp_4-s_3850511351.png "title=" screenshot from 2016-10-06 14_54_48.png "alt=" Wkiom1f3q4vqylu6aaa2pxjasp4099.png-wh _50 "/>

2. Open a Bash

650) this.width=650; "Src=" Http://s2.51cto.com/wyfs02/M01/88/69/wKioL1f3Q6Xw43exAABHRbocqRE970.png-wh_500x0-wm_3 -wmp_4-s_3658231313.png "title=" screenshot from 2016-10-06 15_01_17.png "alt=" Wkiol1f3q6xw43exaabhrbocqre970.png-wh _50 "/>

3. Modify the student password to update the password to "T3st1ngtlme" (host letters and numbers)

650) this.width=650; "Src=" Http://s1.51cto.com/wyfs02/M00/88/6D/wKiom1f3Q7rxrYWkAACPAOIBteQ371.png-wh_500x0-wm_3 -wmp_4-s_1687158244.png "title=" screenshot from 2016-10-06 15_05_29.png "alt=" Wkiom1f3q7rxrywkaacpaoibteq371.png-wh _50 "/>

4. Display the current system time

650) this.width=650; "Src=" Http://s3.51cto.com/wyfs02/M02/88/69/wKioL1f3RBrCh4MGAABMlGUedRQ807.png-wh_500x0-wm_3 -wmp_4-s_1235707091.png "title=" screenshot from 2016-10-06 15_08_02.png "alt=" Wkiol1f3rbrch4mgaabmlguedrq807.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=" Http://s1.51cto.com/wyfs02/M01/88/69/wKioL1f3RCvCJGDXAAAsYqyA3w8916.png-wh_500x0-wm_3 -wmp_4-s_1392830680.png "title=" screenshot from 2016-10-06 15_16_53.png "alt=" Wkiol1f3rcvcjgdxaaasyqya3w8916.png-wh _50 "/>

6. Display the file type of "/usr/bin/clean-binary-files"

7. Statistics for "/usr/bin/clean-binary-files" File size

650) this.width=650; "Src=" Http://s3.51cto.com/wyfs02/M02/88/6D/wKiom1f3REKQ6JkyAAFsVFADkRA701.png-wh_500x0-wm_3 -wmp_4-s_651958009.png "title=" screenshot from 2016-10-06 15_49_10.png "alt=" Wkiom1f3rekq6jkyaafsvfadkra701.png-wh_ "/>

wherewc-l/usr/bin/clean-binary-files shows the number of rows in the file;

Wc-w/usr/bin/clean-binary-files Displays the number of words in the file;

Wc-c/usr/bin/clean-binary-files shows the number of bytes of the file;

Wc-m/usr/bin/clean-binary-files Displays the number of characters in the file;

8. Use a shortcut to invoke the 4th command that has been executed in the shell

650) this.width=650; "Src=" Http://s1.51cto.com/wyfs02/M01/88/6D/wKiom1f3RHGDsoAeAABF33dTMOU876.png-wh_500x0-wm_3 -wmp_4-s_26041724.png "title=" screenshot from 2016-10-06 15_50_57.png "alt=" Wkiom1f3rhgdsoaeaabf33dtmou876.png-wh_ "/>

9. Use a shortcut to execute the most recent command with the "date" keyword

650) this.width=650; "Src=" Http://s5.51cto.com/wyfs02/M02/88/69/wKioL1f3RH-ipVRWAAAxb-S_J64756.png-wh_500x0-wm_3 -wmp_4-s_2025411080.png "title=" screenshot from 2016-10-06 15_53_15.png "alt=" Wkiol1f3rh-ipvrwaaaxb-s_j64756.png-wh _50 "/>

Linux Basic Learning first unit exercise

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.