5,838
edits
m (→nano) |
m (→~ and /) |
||
Line 37: | Line 37: | ||
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 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 chmod -R ugo+rw /var/www/html</tt>. See next sub-section for explanation. | ||
=== nano === | === nano === |
edits