Skip to content
cheatsheet
home
/
cv
/
weblog
/
cheatsheet
/
proxy
/
vpn
/
status
/
links
EN
RU
☾
New version available
reload
×
cheatsheet
/
linux
/
Открытые файлы процесса
Открытые файлы процесса
linux
Все файлы, сокеты, соединения открытые процессом
lsof -p <pid>
⎘ copy
#linux
#debug
more linux
all 133 commands →
Watch вывода команды
watch -n 2 'kubectl get pods -n <ns>'
Запустить в фоне
nohup ./script.sh > /tmp/out.log 2>&1 &
SSH туннель
ssh -L 8080:internal-service:80 user@bastion -N -f
Распаковать tar.gz
tar -xzf archive.tar.gz -C /target/dir/
Сгенерировать случайный пароль
openssl rand -base64 32