Linux Learning notes--text

Source: Internet
Author: User

-------------------------------------------------------
-------------------Common Commands-------------------
-------------------------------------------------------
Mount-Parameter device name mount point "Mount command" Mount Optical drive Direct Mount/mnt/cdrom
Umount Device Name "Uninstall command"

DF Directory full path "see which partition a directory is in"
Df-l "View disk usage"
Fdisk-l "View system partition Details"

ls "List files and directories"
Ls-a "Show hidden Files"
Ls-l "Show long list format"
Ls-ahl "Viewing all groups of files"
Chown User name File name "Modify file owner"
CHGRP Group name File name "Modify file Group"

PWD "Show Current working directory"
CD "Change Directory"
mkdir "Create directory"
RmDir "Delete Empty directory"
More "Show file contents, with paging, space Next,"
Less "show file contents with pagination"
grep "Querying content in text"

Man ' help '
| The pipe command
-------------------------------------------------------
-----------------------User Management------------------------
-------------------------------------------------------
Useradd xiaoming "Add User Xiaoming"
passwd xiaoming "Change password for xiaoming"
Userdel xiaoming "Delete User Xiaoming"
Userdel-r xiaoming "Delete user and user home directory"

USERADD-G Group name User name "Create user and specify group"
USERMOD-G Group name User name "change user Group"
usermod-d Directory name User name "Change the initial directory of user login"
---Group command-----
Groupadd Group name "Add Group"
[Cat|vi]/ect/group "View all Groups"
[Cat|vi]/ect/passwd "View all user Information"
-------------------------------------------------------
----------------Linux partition---------------------
-------------------------------------------------------
/Boot points 100M
SWP swap partitions are typically twice times more than 256 of your physical memory.
/root partition as large as possible
-------------------------------------------------------
------------Modify the configuration error----------------------
-------------------------------------------------------
When entering the Grub boot interface, enter E
Select the second line, enter E
Enter 1 "Single User Level"
-------------------------------------------------------
--------Jdk/tomcat Installation----------
-------------------------------------------------------
1. Mount to Mount/mnt/cdrom
2. Copy the file to/home "CP File/Home"
3, switch to home under "Cd/home"
4, installation./???. Bin
5. View the Environment Profile/etc/profile
6.
-------------------------------------------------------
-----Eclipse/myeclipse Installation-----
-------------------------------------------------------
1. Copy the file to/home "CP File/Home"
2, switch to home under "Cd/home"
3, installation TAR-ZXVF???. tar.gz
4. Launch Eclipse "startx into GUI"

Linux Learning notes--text

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.