Last active
November 12, 2024 03:17
-
-
Save WebSofter/9f2cecf4672ae37c57a46237f4476c4f to your computer and use it in GitHub Desktop.
LINUX:CONSOLE #linux
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"name":"netstat --tcp --listening --program", | |
"description":"Выводит PID всех запущенных процессов" | |
}, | |
{ | |
"name":"kill %pid%", | |
"description":"Убивает процесс по номеру PID" | |
}, | |
{ | |
"name":"kill -9 %pid%", | |
"description":"Убивает процесс принудительно по номеру PID" | |
}, | |
{ | |
"name":"netstat -ntlp | grep LISTEN", | |
"description":"Вывод всех процессов и их занятых портов" | |
} | |
, | |
{ | |
"name":"lsof -Pni :3306", | |
"description":"Вывод процесса по номеру порта" | |
} | |
, | |
{ | |
"name":"$ lsof -i tcp:3000 | |
$ kill -9 PID", | |
"description":"Убиваем процессы, занимающие порт:Node.js Port 3000 already in use but it actually isn't?" | |
} | |
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"name":"php [keys] script.php", | |
"description":"Выполняет php - код из файла", | |
"keys":[ | |
{ | |
"name":"-f", | |
"description":"Печатает все варнинги, ошибки и заметки выполнения в консоль" | |
} | |
] | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment