1, LS
Ls-l |grep "^-" | Wc-l display the current folder file number
Ls-a Show hidden files
Ls-l *.log View the details of the specified suffix name file
2, check the size and usage of the partition
Df-h
3, Ubuntu 16.04 in the common way to access the service is SSH, check whether the server can be accessed via SSH to ask the solution is as follows:
(1) SSH localhost
Appears: Ssh:connect to host localhost Port 22:connection refused
(2) Installing sudo apt-get install Openssh-server
(3) Ps-e|grep ssh check
4. Copy and download server and client files
(1) Copy native/home/username/test Entire directory to the specified directory of the remote host user 192.168.0.172
sudo scp-r/home/username/test/[email protected]:/home/user/test
(2) Remote file/folder download
sudo scp-r [email protected]:/home/user/test/home/username/
(-r Copy folder, otherwise copy file)
5. Nvidia-smi View video card information
6, Conda Info--envs can find the path of Acaconda installation TensorFlow
7, Python; Import TensorFlow as TF; tf.__version__ (view version); tf.__path__ (view path)
8. SSH Login server: SSH [email protected] Address
Ubuntu Common Commands