Learn about linux commands for hadoop administration, we have the largest and most updated linux commands for hadoop administration information on alibabacloud.com
Transferred from: http://www.cnblogs.com/laov/p/3541414.html#zhilingIntroduction to Linux and Ubuntu InstallationCommon directivesSystem administration CommandsPackaging compression-related commandsShut down/Restart the machineLinux PipelinesLinux Package ManagementVim useUser and User group managementFile Rights ManagementDaniel Notes-www.weixuehao.comFrom: HTTP://WWW.WEIXUEHAO.COM/ARCHIVES/25Introduction
Tags: System shutdown ALT + block tar.bz2 passwd change POS software toolIntroduction to Linux and Ubuntu InstallationCommon directivesSystem administration CommandsPackaging compression-related commandsShut down/Restart the machineLinux PipelinesLinux Package ManagementVim useUser and User group managementFile Rights ManagementDaniel Notes-www.weixuehao.comFrom: HTTP://WWW.WEIXUEHAO.COM/ARCHIVES/25Introduc
Bash_profileUser and user groups for changing filessudo chown [-r] Owner[:group] {file| Directory}For example: Also take jdk-7u21-linux-i586.tar.gz as an example. belongs to user Hadoop, group HadoopYou want to switch the users and groups to which this file belongs. You can use commands.sudo chown root:root jdk-7u21-linux-i586.tar.gzFile Rights ManagementThree b
document press N to jump to the next, Shift+n previousYYP Copy the cursor line, and pasteH (move left one character ←), J (next line ↓), K (previous line ↑), L (move right one character →)User and User group management/etc/passwd Storing user accounts/etc/group Storage Group Account/etc/shadow Store password for user account/etc/gshadow Password to store user group accountUseradd User NameUserdel User NameAddUser User NameGroupadd Group NameGroupdel Group Namepasswd root sets the password for r
chown [-r] Owner[:group] {file| Directory}For example: Also take jdk-7u21-linux-i586.tar.gz as an example. belongs to user Hadoop, group HadoopYou want to switch the users and groups to which this file belongs. You can use commands.sudo chown root:root jdk-7u21-linux-i586.tar.gzFile Rights ManagementThree basic permissionsR read value represented as 4The W write
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
/ABC.TAR.BZ2/HOME/ABC packaged and compressed with bzip2Of course, if you want to 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
machineShutdown-r 关机重启-h 关机不重启now 立刻关机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.Example: Grep-r "Close"/home/* | More in the home directory to find all files, including close files, and paging output.Linux
privileges)3, the composition of the orderCommand parameter target-S represents the abbreviation for a word--size represents the whole wordThree, virtual machine management commands通常使用虚拟机进行操作,防止不小心删除linux的重要文件,在虚拟机里面可以随便操作,如果出现问题只需重置虚拟机即可,非常方便。 1、rht-vmctl start desktop \server 开启2、rht-vmctl poweroff desktop\server 关闭 3、rht-vmctl view desktop \ server 显示Mouse click Not liste
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
/etc/group Storage Group Account/etc/shadow Store password for user account/etc/gshadow Password to store user group accountUseradd User NameUserdel User 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/profi
document press N to jump to the next, Shift+n previousYYP Copy the cursor line, and pasteH (move left one character ←), J (next line ↓), K (previous line ↑), L (move right one character →)User and User group management/etc/passwd Storing user accounts/etc/group Storage Group Account/etc/shadow Store password for user account/etc/gshadow Password to store user group accountUseradd User NameUserdel User NameAddUser User NameGroupadd Group NameGroupdel Group Namepasswd root sets the password for r
course, if you want to 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
1. Linux system directory
/ : root directory
/bin : command to execute files under Linux, which is equivalent to exe execution files under Windows
Extensions:Big Data Framework-software-install/Unpack compressed Packages-bin folder
/sbin : admin command, root user use
Extensions:Big Data Framework-software-install/Unpack compressed Packages-Sbin folder
/ etc : Store
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
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
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
HTPASSWD: Managing User files for Basic authentication Httpd:apache Hypertext Transfer Protocol Server MAILQ: Display message queue to be sent Client tools for Mysql:mysql server Mysqladmin:mysql Server Administration Tool Msqldump:mysql Server Backup tool Mysqlimport:mysql database import Tool Mysqlshow: Display MySQL database, table, and field information Nfsstat: Show Network File system Status SendMail: E-mail delivery agent Showmount:
Displays line numbers: Set Nonumber hidden line number/apache find Apache in the document press N to jump to the next, Shift+n previousYYP Copy the cursor line, and pasteH (move left one character ←), J (next line ↓), K (previous line ↑), L (move right one character →)User and User group management/etc/passwd Storing user accounts/etc/group Storage Group Account/etc/shadow Store password for user account/etc/gshadow Password to store user group accountUseradd User NameUserdel User NameAddUser U
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
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.