LINUX Redhat First unit exercises

Source: Internet
Author: User

1. Using student User Login System graphical interface

650) this.width=650; "Src=" http://img.blog.csdn.net/20170329172043211?watermark/2/text/ ahr0cdovl2jsb2cuy3nkbi5uzxqvc29saxr1zgvftq==/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/dissolve/70/gravity/ Southeast "/>

Use the command gnome-session-quit--force Log off the current interface into the login interface Click Student User then enter the password to login

2. Open a Bash

Select Open in Terminal the right mouse popup window

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

Root User:

Input Command passwd Student

650) this.width=650; "Src=" http://img.blog.csdn.net/20170329180448842?watermark/2/text/ ahr0cdovl2jsb2cuy3nkbi5uzxqvc29saxr1zgvftq==/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/dissolve/70/gravity/ Center "/>

Student Users:

Enter the command passwd enter the current password Authentication pass to change the password

650) this.width=650; "Src=" http://img.blog.csdn.net/20170329172801753?watermark/2/text/ ahr0cdovl2jsb2cuy3nkbi5uzxqvc29saxr1zgvftq==/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/dissolve/70/gravity/ Southeast "/>

4. Display the current system time

Enter a command date to see the time

5. Display the current system time, the display format is: "Hours: minutes: Seconds am/pm" (am/pm for the last afternoon logo)

Input command Date +%i%m%s%p

650) this.width=650; "Src=" http://img.blog.csdn.net/20170329173715656?watermark/2/text/ ahr0cdovl2jsb2cuy3nkbi5uzxqvc29saxr1zgvftq==/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/dissolve/70/gravity/ Southeast "/>

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

Enter Command File/usr/bin/clean-binary-files

650) this.width=650; "Src=" http://img.blog.csdn.net/20170329180603852?watermark/2/text/ ahr0cdovl2jsb2cuy3nkbi5uzxqvc29saxr1zgvftq==/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/dissolve/70/gravity/ Southeast "/>

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

Enter Command Wc/usr/bin/clean-binary-files

650) this.width=650; "Src=" http://img.blog.csdn.net/20170329180649420?watermark/2/text/ ahr0cdovl2jsb2cuy3nkbi5uzxqvc29saxr1zgvftq==/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/dissolve/70/gravity/ Southeast "/>



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

! Number: How many lines of command to execute
! Letter: Executes the most recent one that starts with this letter

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

Enter Command!date

650) this.width=650; "Src=" http://img.blog.csdn.net/20170329180727249?watermark/2/text/ ahr0cdovl2jsb2cuy3nkbi5uzxqvc29saxr1zgvftq==/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/dissolve/70/gravity/ Southeast "/>


LINUX Redhat First unit exercises

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.