network server Setup, configuration and Management (2) Common Linux commands

Source: Internet
Author: User
Tags clear screen

common linux commands

Log in with the root user, modify the root user password with the passwd command, and modify a normal user password. Log in with an ordinary user and modify the user's password with the passwd command. ("#" is a system prompt for Superuser;"$" is a system prompt for a normal user)

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/4C/40/wKiom1Q55gfi67lCAAGmUY4oN6Y349.jpg "title=" 1.jpg " alt= "Wkiom1q55gfi67lcaagmuy4on6y349.jpg"/>

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/4C/40/wKiom1Q559uRKMr8AACIu9qeN5g427.jpg "title=" 23.jpg "alt=" Wkiom1q559urkmr8aaciu9qen5g427.jpg "/>

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/4C/41/wKioL1Q55j7w202vAAEOOhmFKlQ001.jpg "style=" float: none; "title=" 1.2.jpg "alt=" Wkiol1q55j7w202vaaeoohmfklq001.jpg "/>


Help displays a list of all commands that can be displayed through Help and is displayed in pagination. (If you want to exit the Help document halfway, press the "Q" key)

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/4C/41/wKioL1Q55j7Rnob9AABn_t9qV9A823.jpg "style=" float: none; "title=" 2.jpg "alt=" Wkiol1q55j7rnob9aabn_t9qv9a823.jpg "/>


the help for the LS command is displayed through the man command. ( Show manual page Help information for the specified command,650) this.width=650; "src="/e/u261/themes/default/images/spacer.gif "alt=" * "style=" Background:url ("/e/u261/lang/zh-cn/images/localimage.png") no-repeat center;border:1px solid #ddd; "/> Man display the information when the page is automatically paged, the user can use the space bar or the PageDown key to page back, press the PageUp key to page forward to paging. )

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/4C/41/wKioL1Q55j7iflS5AAA-qU0Z6EE089.jpg "style=" float: none; "title=" 4.jpg "alt=" Wkiol1q55j7ifls5aaa-qu0z6ee089.jpg "/>


Displays the current working directory.

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/4C/40/wKiom1Q55geiemeXAABR95SwkxA975.jpg "style=" float: none; "title=" 3.jpg "alt=" Wkiom1q55geiemexaabr95swkxa975.jpg "/>


Show file/etc/inittab with more command; use the less command to display the file/etc/inittab (More instructions can make more than one page of the file temporarily stay on the screen, waiting for the user to press any key after the display, that is, paging display file content. and less in addition to more features, you can also use the arrow keys to scroll up or down the file, so users browse, read the article, less is a very good choice. And more can only page back to view the file. )

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/4C/40/wKiom1Q55gegX97NAABiAKjEItY331.jpg "style=" float: none; "title=" 5.jpg "alt=" Wkiom1q55gegx97naabiakjeity331.jpg "/>

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/4C/41/wKioL1Q55j6AwVe2AABUOlt0vHg676.jpg "style=" float: none; "title=" 6.jpg "alt=" Wkiol1q55j6awve2aabuolt0vhg676.jpg "/>

Clear Screen

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/4C/40/wKiom1Q55gjSch6OAABZg0br6es957.jpg "style=" float: none; "title=" 7.jpg "alt=" Wkiom1q55gjsch6oaabzg0br6es957.jpg "/>


in the default way, the WC displays the number of rows, words, and bytes of the file/etc/inittab.

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/4C/41/wKioL1Q55j-hC5n9AABga-XiZlo081.jpg "style=" float: none; "title=" 8.jpg "alt=" Wkiol1q55j-hc5n9aabga-xizlo081.jpg "/>


Displays the user's information status identification and displays the header rows for each column.

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/4C/41/wKioL1Q55kCyw1j7AACaYXbZHzk983.jpg "style=" float: none; "title=" 9.jpg "alt=" Wkiol1q55kcyw1j7aacayxbzhzk983.jpg "/>


Query information for the last logged-on 5-bit user.

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/4C/40/wKiom1Q55grRaOlpAAELIjxSqPk518.jpg "style=" float: none; "title=" 10.jpg "alt=" Wkiom1q55grraolpaaelijxsqpk518.jpg "/>


Change the account as a normal user, and then become more super users. (su [options] Function: Change to the identity of other users, except for superuser, you need to type the user's password. )


650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/4C/41/wKioL1Q55kHy0XViAAB14kWfJ_4056.jpg "style=" float: none; "title=" 11.jpg "alt=" Wkiol1q55khy0xviaab14kwfj_4056.jpg "/>


Displays the contents of the file/etc/inittab by default (the first 10 rows by default)

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/4C/40/wKiom1Q55gvSV_uBAAE1tlqn3bE972.jpg "style=" float: none; "title=" 12.jpg "alt=" Wkiom1q55gvsv_ubaae1tlqn3be972.jpg "/>


Displays the first 5 lines of the file/etc/inittab.

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/4C/41/wKioL1Q55kKTUFq0AACjWNlbXO4147.jpg "style=" float: none; "title=" 13.jpg "alt=" Wkiol1q55kktufq0aacjwnlbxo4147.jpg "/>


The contents of the last section of the file/etc/inittab (the default after 10 lines) are displayed by default.

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/4C/41/wKioL1Q55kOSaGiQAAFH3KCJksE869.jpg "style=" float: none; "title=" 14.jpg "alt=" Wkiol1q55kosagiqaafh3kcjkse869.jpg "/>


Displays the last 5 lines of content specified in the file/etc/inittab.

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/4C/40/wKiom1Q55gyARfzDAAC_eRwP7Ic345.jpg "title=" 15.jpg "alt=" Wkiom1q55gyarfzdaac_erwp7ic345.jpg "/>


Displays the commands you entered in the last 5 times.

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/4C/41/wKioL1Q55kTh-IOzAACjVk4W90Y510.jpg "style=" float: none; "title=" 16.jpg "alt=" Wkiol1q55kth-iozaacjvk4w90y510.jpg "/>


clears the record.

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/4C/40/wKiom1Q55g3Qo3mIAABtZNJaotQ640.jpg "style=" float: none; "title=" 17.jpg "alt=" Wkiom1q55g3qo3miaabtznjaotq640.jpg "/>


Open the Calculator work environment and calculate 10/3 results, leaving 2 decimal places.

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/4C/41/wKioL1Q55kSyM_wZAAC8qfvQbKo037.jpg "style=" float: none; "title=" 18.jpg "alt=" Wkiol1q55ksym_wzaac8qfvqbko037.jpg "/>


Display this month's monthly calendar with the CAL command

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/4C/40/wKiom1Q55g6T_o1NAACVEY5M4YA793.jpg "style=" float: none; "title=" 19.jpg "alt=" Wkiom1q55g6t_o1naacvey5m4ya793.jpg "/>


Show March 2005 calendar with cal command

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/4C/41/wKioL1Q55kaziDVqAACX7HDQ5OM840.jpg "style=" float: none; "title=" 20.jpg "alt=" Wkiol1q55kazidvqaacx7hdq5om840.jpg "/>


Show this year's Almanac.

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/4C/40/wKiom1Q55g-B1rfEAABCih2FlFE463.jpg "style=" float: none; "title=" 21.jpg "alt=" Wkiom1q55g-b1rfeaabcih2flfe463.jpg "/>


Show current date

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/4C/41/wKioL1Q55kbynyX2AABf5UEzyko309.jpg "style=" float: none; "title=" 22.jpg "alt=" Wkiol1q55kbynyx2aabf5uezyko309.jpg "/>






This article is from "Happy to go Microsoft Road" blog, please be sure to keep this source http://dengbibi.blog.51cto.com/7593753/1562808

Network server Setup, configuration, and management (2) common Linux commands

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.