Difference between revisions of "Command"

From en.wiki.proxlab.fr
Jump to navigation Jump to search
m (v0000001)
(No difference)

Latest revision as of 20:56, 4 December 2019

Software Category Command
Debian \ Proxmox Get temp apt-get install lm-sensors
watch sensors
Get SATA Link Speed grep -i sata | grep 'link up'
Get NVME firmware revision dapt-get install nvme-cli
nvme list
Monitor processor and memory apt-get install htop
Network test apt-get install python-pip
pip install speedtest-cli
Git 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
list partition
git for /f "tokens=*" %a in ('dir /ad /b') do cd %a & git status & cd ..
ipconfig ipconfig /all
ipconfig /flushdns
Gitlab gitlab-ctl gitlab-ctl reconfigure
gitlab-ctl restart
gitlab-rake gitlab-rake gitlab:backup:create
gitlab-rake gitlab:backup:restore BACKUP=$BACKUP_PATH force=yes