Added commands 'lsof -i :<PORT>' and 'kill <PID>' (#18782)
Added command which helps to detect process which is using the port you want to use, and command which terminates a process with process ID you found using the previous command
This commit is contained in:
committed by
Quincy Larson
parent
785f29c181
commit
6d251f37b6
@ -68,6 +68,12 @@ Use the following syntax to delete a file
|
||||
|
||||
**rm _#PATH_TO_FILE_**
|
||||
|
||||
#### Detect which process is using the port you want to use
|
||||
``` lsof -i :<PORT> ```
|
||||
|
||||
#### Terminate the process which uses the port you want to use
|
||||
``` kill <PID> ```
|
||||
|
||||
# iTerm2
|
||||
|
||||
iTerm2 is an alternative to the legacy terminal in Mac OS. iTerm2 brings some new features such as:
|
||||
|
Reference in New Issue
Block a user