User Tools

Site Tools


notes:unix:fall2023:projects:tpb1

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
notes:unix:fall2023:projects:tpb1 [2023/09/24 16:56] – [TOOLBOX] morcuttnotes:unix:fall2023:projects:tpb1 [2023/09/28 01:16] (current) – [TOOLBOX] jmerri10
Line 1: Line 1:
 ======TPB1====== ======TPB1======
 +
 +Begin by going to /var/public/fall2023/unix/gfo0/. You should go into your directory and copy the file/s that are there to your home directory. Make sure to also grab the README file. 
 +
 +
 +
 +======HINTS======
 +It can prove to be helpful to use piping and redirection in this project
 +
 =====TOOLBOX===== =====TOOLBOX=====
   * **file**(**1**)   * **file**(**1**)
Line 17: Line 25:
   * **sort**(**1**) -   * **sort**(**1**) -
    
-  * **tail**(**1**) - Similar to head but outputs rows of file from the bottom up+  * **tail**(**1**) - Similar to head but outputs rows of file from the bottom up. You can use the `-n` modifier to specify the number of lines from the bottom up you would like to be included.
  
   * **tr**(**1**) -   * **tr**(**1**) -
Line 24: Line 32:
  
   * **uniq**(**1**) -   * **uniq**(**1**) -
 +  *  Cat - Can use to merge 2 files vertically for example "cat AEIOU aeiou > test" so basically opposite of paste -d
 +  *sed - can be used to remove gap in line example : sed -i '/^$/d' file.txt
 =====VERIFICATION===== =====VERIFICATION=====
  
 ====MD5SUM==== ====MD5SUM====
notes/unix/fall2023/projects/tpb1.1695574593.txt.gz · Last modified: 2023/09/24 16:56 by morcutt