To make it easier for you to review your memory, we will summarize the hadoop commands of today's experiment for later viewing.Note: The following commands are performed in hadoop/bin.1. hadoop FS-ls \-> View All the following directories.2.
directory.2. Perform sh bin/hadoop jar/home/admin/hadoop/job.jar [jobmainclass] [Jobargs]
Kill a running jobSuppose job_id is: job_201005310937_00531. Enter the Hadoop_home directory.2. Perform sh bin/hadoop job-kill job_201005310937_0053
More Hadoop commandsThe operation comman
Unix has been used for some time. However, I still ignore some commands. I hope I can find these commands several years ago. LearningUNIX Process CommunicationTutorial.
1. Man ASCII
This command prints the ASCII code table of octal, hexadecimal, and decimal. I couldn't believe that I knew the command a month ago. I always use Google to query ASCII code tables. Th
V. Accumulated Linux/UNIX operation commands (cp, mv, cat, grep, and ps]
In Linux/UNIX, users often use the text interface to set the system or operating system. The author is constantly in touch with this command during his work, therefore, this article has been specially developed, prepared, and started. This article mainly records some of the operating
Commands for interchange of date, time, and Unix timestamps in Linux Command lines
At work, you often need to get the current Unix timestamp or convert the given timestamp to a date format that we can recognize, on the linux Command Line terminal, you can easily solve the problem by using several commands.
1. convert a
experiment 3:unix/linux permissions and file management commands
1. Experimental purposes
Unix/linux permissions and file management commands;
The use of Unix/linux file system;
Other commands related to file system administrati
files and two library files LS and LL.There is no explicit definition of constant NULL in UNIX systems, so we use the following macro definition when we want to define a null string:
Stringname=
Make command
Not only do macro definitions appear after the make command, but you can also follow other command-line arguments that specify the target files that need to be compiled. Its standard form is:
Target1 [Target2 ...]:[:][dependent1 ...] [;
Article title: The most common network commands in Linux and Unix systems. Linux is a technology channel of the IT lab in China. Including desktop applications, Linux system management, kernel research, embedded systems, open source and other basic categories are undoubtedly, Linux and Unix are the most powerful command line operating systems. Although we can als
under the use of Linux/unix, often use the text interface to set up the system or operating system, the author himself in the process of work is also constantly in touch with this command, so for This special brewing, preparation, began the writing of this article.This paper mainly records some of their usual linux/unix under the operation of commands, record an
Functions of Unix/Linuxsync commands
Write cache command -- sync
After the unix system is started with the reboot command, the system prompts an error message, and some applications cannot work normally. After carefully checking the system files and comparing them with the initial correct backup, we found that some files were indeed damaged and we could not fin
between files and devices
File: Determine the type of a document
Stat: View file status
TAC: Output The file contents from the last line, and the cat output is the opposite
Shuf: Random selection of data on a file by row
Comm: Compare an ordered file by row
HD and BVI: Output or edit binary files
Strings: Viewing the contents of a binary file
TR: Character translation or manipulation of characters
Iconv or Uconv: converting encoded strings
Split and Csplit: Partitioning file
[terminal]
Note: The machine architecture used by both parties must be the same when talking to each other using talk. After the other party gives the response talk command, both terminals will display
[Connect established]
Both parties can communicate in duplex mode. Both parties can input at any speed from the keyboard, and talk will display one line of your input on the screen of you and the other party. Quit talk.
Use mesg to reject and allow receiving packets
The mesg command allows or re
Sublime selecting tags and their contentsCtrl+shift+a Continuous Press two timesGit undo AddResets the specified file for staging area, consistent with the last commit, but the workspace remains the samegit reset [file]Undo CommitResets the specified file for staging area, consistent with the last commit, but the workspace remains the samegit reset [file]Reset staging area to workspace, consistent with last commitgit reset--hardView git historygit logExit Press the Q keyNpm-saveAnd save-dev can
the compressed file.-V Displays the instruction execution process or displays version information.-V Saves the file properties of the VMS operating system.-W in the file name if the version number, this parameter is only valid under the VMS operating system.-x-X does not save additional file attributes.-Y saves the symbolic connection directly, not the file that the connection points to, and this parameter is only valid under systems such as UNIX.-Z
commands in the Hadoop process:1. View the process
Linux under View process: $ PS Linux View Java process: $ jps
2. View Hadoop-related commands
$ hadoop (using such as: $ Hadoop namenode–format)
3. Vi
5. Accumulated Linux/UNIX operation commands (cp, mv, cat, grep, ps) and cpgrep
In Linux/UNIX, users often use the text interface to set the system or operating system. The author is constantly in touch with this command during his work, therefore, this article has been specially developed, prepared, and started. This article mainly records some of the operating
Summary of Common Unix commands...
Special key combinations:
CTRL + H delete a character from the command line.
CTRL + u delete a row from the command line.
Press Ctrl + D to exit the command and tell the shell that the input is complete.
Ls
Ls-l lists the file information in the directory in detail, sorted by file name.
Ls-T lists the file information in the directory, sorted by the modification date.
Ls-L
FreeBSD is an important branch of UNIX systems, and its commands are mostly common to Linux, and few of them are unique.
1:man online query man ls2:ls Viewing directories and Archives Ls-la3:ln creating a linked file ln-fs/usr/local/apache/etc/httpd.conf/etc/httpd.conf4:more page show more file names5:CD Switch Directory Cd/usr/local/apache6:mkdir creating a new directory Mkdir/usr/temp7:rmdir Deleting
Htop: improved version of top
Last: logon history
W: Current Login User
ID: view User/group representation Information
SAR: Tools for viewing historical system statistics
Iftop or nethogs: view the network utilization of the socket or process
SS: View statistics
Dmesg: startup or system error message
(Linux) hdparm: displays or sets disk parameters.
(Linux) lsb_release: view the release version of the Linux System
(Linux) lshw: View hardware information
Fortune, ddate, and SL: It de
UNIX ar commandsCommon options
After the source code file is compiled, the corresponding target file (. o file) is generated. Generally, the process of creating a static library is to package these. o files into a libXXXX. a file.The meanings of several common commands for ar commands are as follows:-R format: ar-r libXXXX. a 1.o 2. o Note: When the lib file does
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.