Unit 6B – Basic Linux on the Raspberry Pi
Name(s): ______________________________________________
List the commands for each step and the results of these commands
- What directory are you in?
- Go to the home directory
- From the home directory create a directory called IT205
4. Within that subdirectory create two subdirectories called TEST and TESTAGAIN
5. Prepare a file called NAMES.TXT that includes the names of each person in your group in the IT205 directory (hint: cat, CNTRL D to finish)
- Copy the file to the TEST directory
- Display the TEST directory contents
- Modify the NAMES.TXT file in the TEST directory to include a title that says “Class IT205” and second line that says today’s date
9. Make a second copy of the NAMES.TXT file to the TESTAGAIN directory
- Display the contents of NAMES.TXT on the screen without opening up the editor
- Rename the TESTAGAIN directory to REAL
- Find the number of words in the NAMES.TXT file(hint: wc command)
- Navigate to the root directory and get a list of its contents stopping after each page
- Create a script file (AGAIN.BAT) that prints out your name and your student ID on different lines. Show the commands you used. Run it and see that it works.
-
Find out what version of Linux kernel you are running using a DOS, list the command and the results (hint: uname)