Back to marketplace

Git Bash cmds - Unix like (Wk 2 UCSD)

No description yet. This curated deck is ready for daily study.

Total cards: 11•Content version: v3•Public deck•Updated: 8/1/2026

Card preview (11)

#1
Front (Question)

pipe the output of cat foo.txt to wc command input

Back (Answer)

cat foo.txt | wc

#2
Front (Question)

what is a filter command

Back (Answer)

takes inputs and transforms, placed after unix pipe

#3
Front (Question)

count the number of files in a dir w/ the word fruit in them

Back (Answer)

ls | grep fruit | wc -l

#4
Front (Question)

count the number of unique lines in a txt file using pipes

Back (Answer)

uniq file.txt | wc -l

#5
Front (Question)

command to report process status

Back (Answer)

ps (has multiple options)

#6
Front (Question)

useful commands for text analysis

Back (Answer)

cat, grep, wc, sort, uniq, head, tail, cut, sed, find

#7
Front (Question)

head command

Back (Answer)

listing the first n lines of a text file

#8
Front (Question)

tail command

Back (Answer)

lists the last n lines of a text file or input stream

#9
Front (Question)

cut sommand

Back (Answer)

cut a portion of each line in a file

#10
Front (Question)

SED command (stream editor)

Back (Answer)

basic text transformations on an input stream

#11
Front (Question)

find command

Back (Answer)

quick searches in our file sys hierarchy