find -s ~/Downloads -iname "*.pdf" -newermt 2023-10-31 -exec ls -mltr {} +
find -d */ -iname '*sample*.*'
find $PWD -d -name '*lab-2*'
ls * |less
ls -l |less
cd ~ To root
Rename
mv 'old_file' new_file
alias copypath = 'pwd|pbcopy'
ls -ld */ Lists dir only ( -ldt datewise)
ls -l -t List date timewise
ls -ldtr */ Reverse order
ls -lsHr Order by size reverseda
ls * Lists all sub directories
ls * |less
ls -l *.csv
find $PWD -d -name '*lab-2*'
ls * |less
ls -l |less
cd ~ To root
Rename
mv 'old_file' new_file
alias copypath = 'pwd|pbcopy'
ls -ld */ Lists dir only ( -ldt datewise)
ls -l -t List date timewise
ls -ldtr */ Reverse order
ls -lsHr Order by size reverseda
ls * Lists all sub directories
ls * |less
ls -l *.csv
ls * -lt "*.pdf"
ctrl + L = Clear the terminal
ctrl + A = Cursor at the start of the line
ctrl + E = Cursor at the end of the line
cat sample.csv
head sample.csv
tail sample.csv
cd /Applications --> ls -ltr -->open PyCharm\ CE.app/
cd /Applications --> ls -ltr -->open PyCharm\ CE.app/
Start postgres server :
pg_ctl -D /usr/local/var/postgres -l /usr/local/var/postgres/server.log start
Stop:
pg_ctl -D /usr/local/var/postgres stop -s -m fast
https://stackoverflow.com/questions/7975556/how-to-start-postgresql-server-on-mac-os-x
pg_ctl -D /usr/local/var/postgres -l /usr/local/var/postgres/server.log start
Stop:
pg_ctl -D /usr/local/var/postgres stop -s -m fast
https://stackoverflow.com/questions/7975556/how-to-start-postgresql-server-on-mac-os-x
No comments:
Post a Comment