Difference between revisions of "Terminal Commands"

(Created page with " '''If you add the -p flag, you can create a directory with subdirectories in a single command''' <source> mkdir -p parentdir/childdir/etc </source>")
 
 
Line 4: Line 4:
 
<source>
 
<source>
 
mkdir -p parentdir/childdir/etc
 
mkdir -p parentdir/childdir/etc
 +
</source>
 +
 +
'''Web server failed to start. Port 8080 was already in use'''
 +
<source>
 +
lsof -i :<portNumber> | grep LISTEN
 
</source>
 
</source>

Latest revision as of 05:21, 22 July 2019


If you add the -p flag, you can create a directory with subdirectories in a single command

mkdir -p parentdir/childdir/etc

Web server failed to start. Port 8080 was already in use

lsof -i :<portNumber> | grep LISTEN