A graphical desktop access:
1. Activities - Folder - elsewhere - connected to the server - enter smb: // IP address / folder name
CentOS8
Ubuntu
II. Command access
1. Check whether the installation is not installed samba as the following commands:
#yum-yinstallsamba samba-client
2.
## lists all the shared directory
#smbclient -L10.0.0.99-U user name password%
## access to the shared directory
#smbclient //10.0.0.00/ folder name -U username% password
ls (show the directory file)
cd (access folder)
View the contents of the file has the following command:
cat、more、less
cat entire file contents are displayed at once, can also be connected together display a plurality of files, it is often used in conjunction with a redirection symbols for the case of low contents of the file
It features more and less than the contents of the file contents for displaying a screen and a flip provided
more: to provide paging function display
less: providing flip, jump, search and other command
more and less support: Use spaces to display the next page, press b Display the previous page