Useful linux shell commands and scripts
git remote -v | grep fetch
sudo apt install xcalib
xcalib -invert -alter
sudo apt-get install iftop
sudo apt-get install nvme-cli
sudo nvme smart-log /dev/nvme0
cifs install
sudo apt install cifs-utils
nfs-common install
sudo apt-get install nfs-common
mount to client
sudo mount.cifs //10.2.4.254/Rec_Call_To_1C/ /mnt/share/audio_master/ -o user=1CUser,pass=YOURPASS,vers=1.0
or
sudo mount -t cifs -o uid=$(id -u),gid=$(id -g),forceuid,forcegid, //192.168.1.11/storage/alex /home/alex/rig1/
follow instructions: https://cloud.yandex.ru/docs/compute/operations/serial-console/
or
after key generation
ssh-keygen -t rsa -b 2048
paste your .pub key in VM creating page
eval "$(ssh-agent -s)"
ssh-add ~/.ssh/id_rsa_yandex_cloud_kaggle
and simply connect ssh
ssh alex@my.pub.ip.addr
python3 -m pip install notebook
to grant to select conda environments as core of jupyter notebook
https://ipython.readthedocs.io/en/stable/install/kernel_install.html#kernels-for-different-environments
conda install nb_conda
source activate myenv
conda install pip
conda install ipykernel # or pip install ipykernel
source activate myenv
python -m ipykernel install --user --name myenv --display-name "Python (myenv)"
jupyter notebook
export PATH=$PATH:~/.local/bin/
gui 0
sudo apt-get install gdmap
gui 1
sudo apt-get install baobab
terminal 0
apt-get install ncdu
ncdu /
Too many authentication failures
nano ~/.ssh/config
# set IdentitiesOnly=yes:
Host *
IdentitiesOnly=yes
systemctl list-unit-files | grep enabled