Changes

Jump to: navigation, search
INVESTIGATION 2: FILE PERMISSIONS
# Use the '''ls''' command to verify that those regular file's permissions have changed.<br><br>
# Using the nano or vi text editor, open the regular file '''~/documents/memos/memo1.txt'''<br>and type in some text and try to save your editing changes.<br>What happened?<br><br>
# To <u>abort </u> your editing session in '''vi, ''': type <span style="color:blue;font-weight:bold;font-family:courier;">:q!</span> to <br>To <u>abort</u> your editing changes in nano,<br>type "'''nnano''': type <span style=" followed by color:blue;font-weight:bold;font-family:courier;">ctrl-x</span>, press <span style="color:blue;font-weight:bold;font-family:courier;">n</span> and press '''ENTER''' when prompted to save editing changes<br><br>
# Issue the following Linux command to add write permissions for all files in the '''memos''' directory<br>for yourself (i.e. user): <span style="color:blue;font-weight:bold;font-family:courier;">chmod u+w ~/documents/memos/*</span><br><br>
# Repeat the previous '''step #19'''. What happened?<br><br>
13,420
edits

Navigation menu