My Development Favorite Commands Cheatsheet

my-development-favorite-commands-cheatsheet

CentOS 8

List any process listening to the given port: lsof -i:5000
To kill a process by ID: kill 12345

Nginx

Restart nginx server: service nginx restart

Python

Run python script in the background: nohup python3 /path/to/app.py &
Install packages based on requirements: pip3 install -r /path/to/requirements.txt

Visual Studio Code

Search Files: Command + shift + F

Copy line down: Shift + alt + Down arrow
Copy line up: Shift + alt + Up arrow

Delete line: Ctrl + shift + K

Plugin: Prettier
Format document: Shift + alt + F

Total
0
Shares
Leave a Reply

Your email address will not be published. Required fields are marked *

Previous Post
how-to-fix-capybara-webkit-installation-errors-on-ubuntu?

How to Fix Capybara-Webkit Installation Errors on Ubuntu?

Next Post
how-booking.com-tackled-a-data-quality-crisis:-nimit-bhardwaj-(data-product-manager)-–-product-unplugged

How Booking.com tackled a data quality crisis: Nimit Bhardwaj (Data Product Manager) – Product Unplugged

Related Posts