sudo apt update && sudo apt install pinta
&&
---
For Linux beginners, the double ampersand tells bash, the default shell program on Linux, to run the next command only after the previous command is complete
sudo apt-get update && sudo apt-get install pinta
-------------------------------------------------------------------------------------------------------------------
lsof:
------
rizvi@ronty-HP-ProBook:~/workspace/mittal_dev_web$ sudo lsof -i:8080
[sudo] password for rizvi:
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
java 1222 root 43u IPv6 20794 0t0 TCP *:http-alt (LISTEN)
rizvi@ronty-HP-ProBook:~/workspace/mittal_dev_web$ sudo kill -9 1222
lsof is a command meaning "list open files"
----------------------------------------------------------------------------------------------------------------------
&&
---
For Linux beginners, the double ampersand tells bash, the default shell program on Linux, to run the next command only after the previous command is complete
sudo apt-get update && sudo apt-get install pinta
-------------------------------------------------------------------------------------------------------------------
lsof:
------
rizvi@ronty-HP-ProBook:~/workspace/mittal_dev_web$ sudo lsof -i:8080
[sudo] password for rizvi:
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
java 1222 root 43u IPv6 20794 0t0 TCP *:http-alt (LISTEN)
rizvi@ronty-HP-ProBook:~/workspace/mittal_dev_web$ sudo kill -9 1222
lsof is a command meaning "list open files"
----------------------------------------------------------------------------------------------------------------------
No comments:
Post a Comment