lsof | tail -3
# for a user
lsof -u milad | tail
# within a directory
lsof +D ~/Documents
pgrep jupyter -a
ps -f 6050
# process
lsof -p 6050 | tail
# only shows process ids so we can pass it to something like kill
lsof -u milad -t | tail -4
lsof -u^root -c clem | tail -5 # reverse user
lsof / | tail -5
lsof -a -u milad -c clem | tail -2 # a makes an and
python2 -m SimpleHttpServer
lsof -i TCP:8000
ipynb
format: https://github.com/ravexina/linux-notes. html
exports of project available at: https://ravexina.github.io/linux-notes.Linux Notes by Milad As (Ravexina) is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.