What is mean by these linux commands
Hello,
Code:
useradd 8618718235810 //user added Best regards |
Line by line...
It creates a new user with the username "8618718235810" - which is a very odd username indeed It creates a home directory for that new user It changes the permissions of that directory to belong to the new user It copies some directory called "tg" from root's home directory into this new user's home directory It switches to the "8618718235810" user It executes some file called telegram-cli located in ~/tg/bin in the new user's home directory |
Thanks from the bottom of my heart
|
How to uninstall software in CentOS
Hello,
I installed one API using the following commands Code:
git clone --recursive https://github.com/vysheng/tg.git Best regards |
Code:
chown 8618718235810:8618718235810 /home/8618718235810 |
Quote:
Because root created the directory "/home/8618718235810", it is then owned by root:root. For the user 8618718235810 to be able to login, this folder needs to be owned by him and his group (user:group). If you don't understand, what a command is doing, type Code:
man <command> Code:
man chown |
Thank again from the bottom of my heart
|
All times are GMT -5. The time now is 06:59 PM. |