Using a sudo account would prevent deleting if you accidentally would try to and did not add sudo to the command. Using a root sessions allows you to delete anything from that system without any restrictions. If you change the way you save maps, you’ll have to download the map again. I would advice to not use root on command line as Ubuntu is made to be used with a sudo account user and limited exposed elevated privileges. Step 1: Download a map to use offline Tip: You can save maps on your device or a SD card. Mind though that since you are using root ~ will point to the home of "root" and that is /root. It now is short for "Unix System Resources" so not related to a user ) /home/$USER is where you find personal files. Over 220 countries and territories mapped and hundreds of millions of businesses and places on the. When I go into "usr" on Ubuntu, it doesn't display the expected filed as "Users" in Windows. Navigate your world faster and easier with Google Maps. There are more: $USER for instance will replace with the current user but also $HOME for the home dir or $SHELL for the shell used ( echo can be used to show the content: echo $USER will show the current username). To get to the current users Documents you can use: cd /home/$USER/Documents/īut there is a shorthand version: ~ points to your home, so cd ~/DocumentsĪlso works. ![]() In Windows it is something like c:\Users\%USER%\. ![]() Main difference: each user has its own place in Linux where files are stored: /home/$USER/ and within that are personal directories. Windows used to be a single user system and was/is also set up like that. ![]() Linux is a multi-user system and is set up as such. For example, when I go to the top most directory and list the files, this is what I get in Ubuntu:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |