Learn about linux commands for hadoop administration, we have the largest and most updated linux commands for hadoop administration information on alibabacloud.com
decompress, just replace the above command TAR-CVF/TAR-ZCVF/TAR-JCVF "C" in the "X".Shut down/Restart the machineShutdown-R shutdown Restart-H shutdown does not restartNow turn the machine off.Halt shut down the machineReboot restartLinux PipelinesUse the standard output of one command as the standard input for another command. That is, the combination of several commands to use, the latter command in addition to the results of a previous command.Exa
NameAddUser User NameGroupadd Group NameGroupdel Group Namepasswd root sets the password for rootSu RootSu-root/etc/profile System Environment variablesBash_profile User Environment variables. BASHRC User Environment variablesSU user switches the user and loads the configuration file. bashrcSu-user switch User, load configuration file/etc/profile, load Bash_profileUser and user groups for changing filessudo chown [-r] Owner[:group] {file| Directory}For example: Also take jdk-7u21-
If your application doesn't work, or you want to find more information, these 20 commands will be useful.In this new tool and a diverse development environment, it is necessary for any developer or engineer to learn some basic system administration commands. Specific commands and toolkits help developers organize, trou
Tags: inter apt integrates man tap status Chown secure ServerMany people wonder when they are learning Linux: How can they be defined by so many Linux names? How did Linus make such a large and varied order? This article may help you solve your doubts today. # # 1. Directory abbreviationsAbbreviations | Full name | Description-| -| -|/bin | BINaries | Binary executable
row selection mode, select Done, press Y to copy, press p to pasteFind and replace (entered in command mode in the bottom line)%s/sad/88888888888888 effect: Find all sad in file, replace with 88888888888888/you effect: Find you in the file and navigate to the first found place, press N to navigate to the next matching position (press N to the previous one)Copy filesCP somefile.1/home/hadoop/View File ContentsCat somefile Full output of file contents
--help //ls--helphelp //helplsman // Man lsinfo //info lsSecond, the Linux system command Ps-af//List all Processes Ps-efNetstat-anop//list all network processesNano 1.txt //put the Nano 1.txt in the backgroundJobs//View current task processfg%1//put process number 1th in front of the foreground .bg%1//put it in the backgroundKill [-9] PID//kill Process, [9] Optional: Strong killWC 1.txt//Word statistics for 1.txt content, separated by inv
Restart Network Services
Root permissions under Service network restartTurn off Firewall service iptables stopTurn off firewall auto start chkconfig iptables off
To modify the default boot level for a system
Vi/etc/inittab
# 0-halt (Don't set Initdefault to this)# 1-single User mode# 2-multiuser, without NFS (the same as 3, if you don't have networking)# 3-full Multiuser mode# 4-unused# 5-x11# 6-reboot (Don't set Initdefault to this)#Id:3:initdefault:~
Start a fully functional character i
decompress, just replace the above command TAR-CVF/TAR-ZCVF/TAR-JCVF "C" in the "X".shut down/ Restart the machineShutdown-R shutdown Restart-H shutdown does not restartNow turn the machine off.Halt shut down the machineReboot restartVim UseVim three modes: Command mode, insert mode, edit mode. Use ESC or I or: to toggle the mode.Command mode:: Q exit: q! Force exit: Wq Save and exit: Set number Displays line numbers: Set Nonumber hidden line number/apache find Apache in the document press N to
============= mount and Login commands ========================================Mount: Mount command. For example, mount the optical drive Mount/dev/cdrom/mnt/cdrom, you can view the contents under the directory/mnt/cdrom, you want to exit the disc, you must use the Umount command, otherwise the optical drive will remain in the deadlock state: #umount/mnt/cdrom. You can also mount the drive letter, such as Mount-t vfat/dev/uba1/mnt, you can switch to/m
Description: Start learning Linux system, in order to facilitate viewing, special reprint a Linux common Operation command, reprint address: http://www.cnblogs.com/laov/p/3541414.htmlBody:Introduction to Linux and Ubuntu InstallationCommon directivesSystem administration CommandsPackaging compression-related commandsSh
-get: Used to automatically find the installation software, update software, generally require root permissions. So the format is sudo apt-get install (installation), sudo apt-get remove (uninstall), sudo apt-get upgrade (upgrade). If the xx file is missing when compiling, you need to re-download the Linux kernel and use apt-get install Linux-source.Add-apt-repository: The script adds the PPA to the current
copy 5.6 rsync: File Sync Tool 6. Linux User management and User Information Query command 6.1 useradd: Create user 6.2 Usermod: Modify user Information 6.3 Userdel: Delete User 6.4 Groupadd: Create a new user group 6.5 Groupdel: Delete a user group 6.6 passwd: Modify User Password 6.7 chage: Change the validity period of user name Password 6.8 chpasswd: Bulk Update user name password 6.9 su: Switch user 6.10 sudo: Execute command as another user 6.1
/inittab# 0-halt (do not set Initdefault to this)# 1-single User mode# 2-multiuser, without NFS (the same as 3, if you don't have networking)# 3-full Multiuser mode# 4-unused# 5-x11# 6-reboot (do not set Initdefault to this)#Id:3:initdefault:~Start the full-featured character interface with Level 3View information about the current process connection networkNetstat-nltpV. Common TOOLS directiveWC Statistical text information (number of lines, number of words, characters)Date and time when the sy
directory of MySQL
Which MySQLFind the MySQL running directory
VI ~ /. Add alias idea = "CD ~ to bashrc ~ /Idea117/bin; nohup./idea. Sh "Alias idea
Quick Start
[Root @ admaster ~] # Vi/etc/sysconfig/NetworkHostname = yourname[Root @ admaster ~] # Vi/etc/hosts127.0.0.1 localhost. localdomain localhost172.17.33.169 yourname // modify the hostname here[Root @ admaster ~] # Hostname supervisor2[Root @ admaster ~] # Su[Root @ supervisor2 ~] #
Modify the Linux
group.The-O is used in conjunction with the-G option, and the user group's new GID can be the same as the GID of the user group already in the system.-N New user Group change user group name to new nameExample 1:Copy CodeThe code is as follows:# GROUPMOD-G 102 Group2This command modifies the group ID number of group group2 to 102.Example 2:Copy CodeThe code is as follows:# groupmod–g 10000-n Group3 group2This command changes the identification number of the group group2 to 10000 and the group n
Linux Command lines attract most Linux enthusiasts. A normal Linux User generally has about 50-60 commands to process daily tasks. Linux commands and their conversion are the most valuable treasures for
For Linux commands here is a simple explanation (simple description Oh!!) )
For Linux and Windows Basic operation is to switch directories, because only to enter the directory, you can see the content (for Linux This is not very accurate must have LS!) But now not introduced to the LS and other
Commands required to maintain linux
Lsof (list open files) is a tool used to list open files in the current system. Lsof-I 4 # list IP V4 lsof-I tcp list all TCP network connections lsof-I list all network connections lsof-I: 80 # Check the process of port 80, lsof-I udp: 53 # Check udp, port 53 lsof-u zhangy lists all files opened by a user, lsof/usr/sbin/httpd, and finds out who is using a file, lsof-p 3
Tags: commandsNote: This document only records the most commonly used commands and the parameters under the command, more commands please refer to the Linux documentation or use the command Help, man, info for the corresponding queryCommon file Directory operation instructionsls parameter file displays the file or directory (represents the current directory when
1 Linux directory Structure
/bin: (binaries) The directory where the system commands are stored, which can be performed by all users.
/sbin: (super User binaries) Save the commands associated with the system environment settings, only the superuser can use these commands, and some
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.