Wednesday, March 14, 2018

Linux command

To set new password for root in Ubuntu
> sudo passwd root


To locate a file
find / -name 'pg_hba.conf' 2>/dev/null


To add new user
> sudo adduser --home /home/demo --shell /bin/bash demo


No comments:

Post a Comment

free online comma separating tool

https://delim.co/#