List Processes: ps
List Storage: free
List Storages: lsblk
Mount/Unmount drive: mount -a / $ umount -a
Network scanner: nmap
HTTP request: curl
Secure copy: scp
List packages: pip list
Activate vm: source MYENV/bin/activate
Start/stop site: sudo a2ensite/a2dissite SITE_NAME
Restart/reload apache: sudo systemctl restart/reload apache2
List current users: netstat -ant | grep -E ':80|:443'
List last 100 website accesses: tail -100 /var/log/apache2/access.log
Frequency of IP's: awk '{ print $1}' /var/log/apache2/access.log | sort | uniq -c | sort -nr | head -n 10
List current rules: sudo ufw status
Add rule: sudo ufw add allow/deny/reject/limit PORT
Remove rule: sudo ufw delete RULENUM
npm init: Initializes a new Node.js project and creates a package.json file interactively.
npm install: Installs dependencies listed in the package.json file.
npm install package-name: Installs a specific package.
npm install --save package-name: Installs a package and adds it as a dependency in the package.json file.
npm install --save-dev package-name: Installs a package as a development dependency, typically used for testing, building, or other development-related tasks.
npm uninstall package-name: Uninstalls a specific package.
npm update: Updates the installed packages to their latest versions according to the version constraints specified in the package.json file.
npm outdated: Checks for outdated packages in your project.
npm run script-name: Executes a script defined in the scripts section of the package.json file.
npm list: Lists all the installed packages.
npm search package-name: Searches the npm registry for packages with the given name.
npm info package-name: Displays detailed information about a specific package.
npm publish: Publishes a package to the npm registry.