Command

Aus de.wiki.proxlab.fr
Zur Navigation springen Zur Suche springen


Debian \ Proxmox


Get temp

apt-get install lm-sensors
watch sensors

Get SATA Link Speed

dmesg | grep -i sata | grep 'link up'

Get NVME firmware revision

apt-get install nvme-cli
nvme list

Monitor processor and memory

apt-get install htop
htop

Network test

apt-get install python-pip
pip install speedtest-cli
speedtest-cli

Git

git clone http://ip/root/repo.git
git diff
git add .
git commit -m "commit title"
git push http://ip/root/repo.git master
git checkout master && git fetch && git reset --hard master && git status
git remote -v
git remote set-url origin http://ip/root/repo.git
git checkout master && git pull origin



Windows


Diskpart

list disk
select disk x
clean
rescan
list partition

Git

for /f "tokens=*" %a in ('dir /ad /b') do cd %a & git status & cd ..