linux 查看命令所在目录
1 | whereis git |
linux 查看文件信息
推荐三种方法1
2
3ll /usr/bin/git
ls -l /usr/bin/git
ls -lh /usr/bin/git
更改文件(夹)权限
1 | sudo chmod -R 777 filepath |
安装vscode.deb
1 | // ref https://code.visualstudio.com/docs/setup/linux |
node (tar.gz)
$ wget https://nodejs.org/dist/v8.9.3/node-v8.9.3.tar.gz
$ tar zxvf node-v8.9.3.tar.gz
$ ./configure
$ sudo make && sudo make install
node(tar.xz)
1 | $ wget https://nodejs.org/dist/v8.9.3/node-v8.9.3-linux-x64.tar.xz |
add below to you env1
2export NODE_HOME=/home/ubuntu/node-v8.9.3-linux-x64
export PATH=$NODE_HOME/bin:$PATH
linux 查看自己是否被 ping
1 | # view ip |
ssh 登录到 vm
sudo apt-get install openssh-server
ssh
how to install docker in ubuntu
https://docs.docker.com/engine/installation/linux/docker-ce/ubuntu/
tar.gz & tar.bz2
1 | #.tar.gz |