Changes

Jump to: navigation, search

Tutorial5: Redirection

303 bytes added, 13:20, 25 January 2020
INVESTIGATION 2: REDIRECTION USING PIPES
'''Perform the Following Steps:'''
# Confirm Change to your '''home''' directory and confirm that you are located now in your home directory.<br><br># Issue the ls command to view the '''contents of your ~/redirect''' directory.<br><br>These are all temporary files that you created in your previous investigation. The problem with creating temporary files, is that they take up space on your server, and should be removed.<br>
# Issue the following Linux command to remove all files in your ''redirect'' directory: <span style="color:blue;font-weight:bold;font-family:courier;">rm *</span><br><br>NOTE: You will be issuing a pipeline command which will use the pipe symbol "|" that will send the stdout from a command as stdin into another command.<br><br>
# Issue the follow Linux pipeline command: <span style="color:blue;font-weight:bold;font-family:courier;">ls /bin | more</span><br><br>What happened?<br><br>
13,420
edits

Navigation menu