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/22 19:16] – [TOOLBOX] gsalcenotes: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**)
   * **sed**(**1**)   * **sed**(**1**)
   * **basenc**(**1**)   * **basenc**(**1**)
 +
 +  * **cat**(**1**) - Used to view the contents of a file.
 + 
 +  * **cut**(**1**) - Outputs part the specified amount of a file. Can use the `-c` modifier to specify how many columns across you would like to output.
 + 
 +  * **grep**(**1**) -
 +
 +  * **head**(**1**) - Outputs specified amount of a file. Can use the `-n` modifier to specify which rows starting from the top, to include.
 +
 +  * **paste**(**1**) - Outputs the contents of two files next to each other horizontally. Can specify paste -d "" file1 file2 to output the files without any spaces seperating them.
 +
 +  * **sort**(**1**) -
 + 
 +  * **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**) -
 +
 +  * **uudecode**(**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.1695410205.txt.gz · Last modified: 2023/09/22 19:16 by gsalce