Skip to content

Instantly share code, notes, and snippets.

View kazi331's full-sized avatar
🏠
Working from home

Kazi Shariful Islam kazi331

🏠
Working from home
View GitHub Profile
@kazi331
kazi331 / kill.sh
Last active March 18, 2025 09:04
check and kill running process in windows and linux
# for windows
PS C:\Users\sayem> netstat -aon | findstr :3000
TCP 0.0.0.0:3000 0.0.0.0:0 LISTENING 12008
TCP [::]:3000 [::]:0 LISTENING 12008
PS C:\Users\sayem> taskkill /PID 12008 /F
SUCCESS: The process with PID 12008 has been terminated.
PS C:\Users\sayem>
#for linux
lsof -i :3000
@kazi331
kazi331 / .bashrc
Last active January 14, 2025 07:43
minimal but clean and beautiful bashrcs | alternative to zsh
#aliases
alias x="exit"
alias c="clear"
#alias firefox='/opt/firefox/firefox'
alias pnd="pnpm dev"
alias nd="npm run dev"
alias ns="npm start"
alias nb="npm run build"