The basic usage of ubuntu-12.04.2-ubuntop-i386.isoand universal-usb-installer-1.9.2.7.exe are currently used for installation. First install the latter boot disk burner. Before executing the command, insert a large enough USB flash drive, and then install all the iso content. The basic usage of Ubuntu is ubuntu-12.04.2-ubuntop-i386.isoand universal-usb-installer-1.9.2.7.exe. First install the latter boot disk burner. Before executing the task, insert a large-sized USB flash drive, then burn all the iso content into the USB flash drive, set the boot sequence of the computer to the USB flash drive, and the process will be normal. Resource usage top memory usage free system time uptimeSSH sub-client openssh-client and openssh-server if you just want to log on to another machine for SSH, you only need to install openssh-client (ubuntu has default installation), if no, sudo apt-get install openssh-client). to enable the SSH service on the local machine, install openssh-serversudo apt-get install openssh-server and check whether sshserver is enabled: ps-e | grep ssh if you see sshd, it indicates that the ssh-server has been started. If not, start sudo/etc/init. d/ssh start or service ssh startssh-server configuration file is located in/etc/ssh/sshd_config. here you can define the SSH service port. the default port is 22, you can define other port numbers, such as 222. Then restart the SSH service: sudo/etc/init. d/ssh stopsudo/etc/init. d/ssh start then use the following method to log on to SSH: ssh username@192.168.1.112 username is the user on the 192.168.1.112 machine, you need to enter the password. By default, Ubuntu cannot directly log on with the root user. the root permission must be obtained from the first user created through su or sudo. Run the command pwd ls cd cat under shell to close common sudo halt files and directories. run the command pwd ls cd cat to show the file content. grep: find a character in the file. cp copy file. touch a.txtcreate a new file. a.txt cp a.txt B .txtw.a.txt in cat B .txt> c.txtadd B .txt content to c.txt cat a.txt display a.txt content grep-iH Gong a.txt B .txt c.txt in the file abc, search for the Gong string without case sensitivity and display the file name. Rm a.txt B .txt: delete and compress files. take tar as an example to create a tar file tar-cvf file.tar direc/file dir/file2 and extract a tar file tar-xvf file.tar to create a compressed tar file, the j attribute must be added to the parameter, at the same time, change the extension to tbz shutdown and restart reboot to check the current program execution ps program execution and memory use top to terminate a process kill the management User and set up the permission chmod u/g/o/a + /- r/w/x file command su is used to switch between the user's online query command man command, locate, whatis command file read command head tail less more active observation tail-f file Network command transfer file ftp remote login telnet borrow books link bye remote login rlogin detection host ping display network status netstat
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.