------ some details of the point of linux command

Create a folder / file command and clear mode

mkdir + folder name
touch + file name
-fr delete files, folders rm -f forcibly remove -r is recursive

 

Under linux query all started threads: PS -ef | grep the Java

 

Hadoop under the log file logs the content, (located /opt/bigdata/hadoop-3.2.1/logs/hadoop-hadoop-namenode-node1.log),

Use More hadoop-hadoop-the NameNode-node1.log open file information. Press the space bar to turn pages.

less hadoop-hadoop-the NameNode-node1.log open file information, according to a forward and backward flip, press q to exit.

 

Details Note:

1) How to withdraw from the ping linux? Ctrl + Z

2) Hadoop2.x default port number: http://192.168.200.11:50070

3) Hadoop3.x default port number: http://192.168.200.11:9870

4) linux install Desktop words, how to start the desktop: startx

 

rwx are the value of 421 755 = r_x 777 = rwx For details, please check the official documentation.

Guess you like

Origin www.cnblogs.com/lojun/p/11236841.html