Changes

Jump to: navigation, search

Tutorial2: Unix / Linux File Management

491 bytes added, 17:21, 10 January 2020
Part 3: Manage Text File Content
# Type the letter "q" to exit the more command.<br><br>
# Issue the following Linux command: less a.txt<br><br>Is there any difference between the more and less commands?<br>(again press q to quit)<br><br>
# Issue the following Linux command: cp a.txt b.txt<br><br># Issue one of the commands you learned to display the contents of the file called b.txt without editing.<br><br>What happened to this file?<br><br># Issue the following Linux command: mv a.txt a.txt.bk<br><br># Issue a Linux command to view the directory contents.<br><br>What happened to the file called a.txt? Why?<br><br># Issue the following Linux command: file b.txt<br><br>What sort of information did it provide?<br><br>
#In your Matrix account, issue the following command:<span style="color:blue;font-weight:bold;font-family:courier">~uli101/assign1</span><br><br>
# At the main menu, select menu option '''2''' labelled '''Basic Unix Commands'''.<br><br>NOTE: In the previous tutorial it recommended that you complete parts '''1''''''Bold text''', '''2''' and '''3''' from this section. You need to now complete parts '''4''', '''5''' and '''6''' in this section to learn about Linux commands that manage text file content.<br><br>
13,420
edits

Navigation menu