MX on Linux: Difference between revisions

42 bytes added ,  06:42, 31 August 2020
m
Line 35: Line 35:
The tilde symbol '''~''' denotes the home directory for the current user.  Sub-directories within the current user's folder can be identified by '''~/documents''' or similar notation. To reference a folder in root or any other area, the prefix is always '''/'''.
The tilde symbol '''~''' denotes the home directory for the current user.  Sub-directories within the current user's folder can be identified by '''~/documents''' or similar notation. To reference a folder in root or any other area, the prefix is always '''/'''.


To see what files and folders are in the current directory, type <tt>dir</tt>.
To see what files and folders are in the current directory, type <tt>dir</tt> for just names or <tt>ls</tt> for details.


To make a new folder in the current directory, type <tt>sudo mkdir folder_name</tt>.  To give a folder and all its sub-folders and files full permissions (think carefully whether you really want to do this) type something like <tt> sudo -R ugo+rw /var/www/html</tt>.
To make a new folder in the current directory, type <tt>sudo mkdir folder_name</tt>.  To give a folder and all its sub-folders and files full permissions (think carefully whether you really want to do this) type something like <tt> sudo -R ugo+rw /var/www/html</tt>.
5,838

edits