Favourite LS_COLORS Get link Facebook X Pinterest Email Other Apps By DeveloperM - June 28, 2023 Just wanna have my script files (Python script, Shell script) shows color in ls: LS_COLORS=$LS_COLORS:'*.py=0;94:*.sh=0;94' ; export LS_COLORS Read more
Watch git log automatically Get link Facebook X Pinterest Email Other Apps By DeveloperM - June 14, 2023 Linux one-liner to watch and refresh git log every 30 secs: watch --color -n 30 "git fetch; git log origin/master -30 --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --color=always" Read more
scp windows recursive copy problem Get link Facebook X Pinterest Email Other Apps By DeveloperM - June 05, 2023 In you encounter scp problem when doing a recursive copy from Windows to Linux, try adding the -O parameter. scp -r -O sample-files/ target-server:/target-path/ Read more