Free virtual machine software:VMware server
switch to root user under Ubuntu:
1,su
2, Sudo-s
3, sudo+ command
switch to general users under Ubuntu:
Su Chennan
Installation of the package:
sudo apt-get update
sudo apt-get Install
Ubuntu Default Editor:gedit
Find file Contents:grep a b( find ain file b )
View files:cat more Less
List file directories:dir
Use of wildcard characters:* ?
View version information:uname-a
View kernel information:uname-r
Users and user groups
sudo groupadd work
sudo usersdd-g work Chennan
sudo passwd Chennan
To delete a file:
rmdir/test/ Delete Empty directory
RM test/*.php Delete all php files for a folder
RM-RF test/Remove all php files for the folder recursively
SOURCE Installation:
1,tar-zxvf myplayer.tar.gz
TAR-JXVF myplayer.tar.bz2
2,./ocnfigure--prefix=usr/local/myplayer/bin
3,make
4.sudo make Install
Process:
PS aux viewing process
Kill ID End Process
Monitoring process:PS command
Trace process:top command
Network configuration:
sudo ifconfig eth0 192.168.1.12 netmask 255.255.255.0 up configuration network
sudo ifconfig eth0 down network
Ifconfig viewing network information
Netstat-r Viewing routing information
Host name and IP address mappings in the /etc/hosts file
Vi/etc/hosts
SSH -based file Transfer protocol:sftp SCP
Secure FTP:sftp
Copying files using ssh :SCP
Telnet
One:linux to Linux
Install Openssh software first on remote linux ,Openssh is linux SSH Server / Client Tools
1 installing sudo apt-get install ssh
2 starting sudo/etc/init.d/ssh start
Telnet Server: If the chennan user exists under a remote server
1 Login : ssh-l chennan 192.168.10.1
2 Login port:ssh-l chennan-p 192.168.10.1
3 login comes with graphical interface: ssh-x-l Chennan 192.168.10.1
Also use the VNC graphical interface to log in: If VNC software is installed on the remote host
1 Remote Host installation graphical:sudo apt-get install Vnc4-common vnc4server
4 Local host using VNC Login:vncserver
5 Local use of VNC Browse:vncviewer 127.0.0.1:1(install vncviewerfirst)
Two:windows to Linux:
Ssh client:Putty client:pietty client
Three:windows to Windows:
Talent Client
Four:Linux to Windows:
Method 1:software that can install VNC server onWindows
Method 2: install rdesktop on the local Linux , open the shell terminal,
Rdesktop-u Chennan 192.168.80.1
Use of Ssh
1 generate key pair:
SSH-KEYGEN-T RSA
2 Log on to the remote host:ssh 192.168.80.1-l Chennan
3 Copy the local key to the remote host:
mkdir. SSH
chmod. SSH
scp/home/chennan/.ssh/id_psa.pub [Email Protected]:/home/chennan/.ssh/authorized_keys
Ubuntu Learning Note 3-summary of book Knowledge points