Git command for pulling source code of all git projects in a folder (parent) ls | xargs -P10 -I{} git -C {} pull ls: liệt…
![]()
Viết trong lúc rảnh rỗi – chia sẻ vài điều thú vị về nghề, cuộc sống và trải nghiệm.
Git command for pulling source code of all git projects in a folder (parent) ls | xargs -P10 -I{} git -C {} pull ls: liệt…
![]()
Add to Zsh Step 1. Add to Zshrc. Step 2. Apply change Add to Bash Step 1. Add to bash profile Step 2. Apply change
![]()
Move all files and folders in current folder to sub-folder archives.
![]()
> for pid in $(ps -aux | grep ‘java’ | awk {‘print $2’}); do sudo kill -9 $pid; done
![]()
#1. list all current cron jobs > sudo crontab -l #2. edit crontab > sudo crontab -e #3. cronjob format * * * * *…
![]()
#!/bin/bash if [[ $1 == ” ]]; then echo ‘missing directory’ exit fi du -a $1 | sort -n -r | head -n 20
![]()
Change default outgoing IP sudo ip route change default via 115.79.24.89 List all network interfaces ip a s ip link show ip addr Open route…
![]()