Title | Week 1 - File and Text Manipulation Flashcards Quizlet |
---|---|
Author | krish cook |
Course | Introductory Accounting |
Institution | Harper College |
Pages | 3 |
File Size | 129.3 KB |
File Type | |
Total Downloads | 77 |
Total Views | 126 |
File and Text Manipulation...
8/19/2021
Week 1 - File and Text Manipulation Flashcards | Quizlet
Week 1 - File and Text Manipulation Terms in this set (4) In Bash, which of the following
cat
commands can you use to view the
less
contents of a document. Check all that apply. open cat less dog
Week 1 - File and Text Manipulation https://quizlet.com/467798674/week-1-file-and-text-manipulation-flash-cards/
1/3
8/19/2021
Week 1 - File and Text Manipulation Flashcards | Quizlet
In a Linux machine, you have the
grep fruit apple.txt chocolate.txt orange.txt
following files:
grep fruit *.txt
apple.txt banana.jpg chocolate.txt orange.txt What command can you use to search for the word "fruit" in the text files in the above directory? Check all that apply. grep fruit apple.txt chocolate.txt orange.txt grep fruit *.txt find fruit apple.txt chocolate.txt find fruit apple.txt chocolate.txt orange.txt
In a Linux machine, you have a file
echo trout >> types_of_fish.txt
named "types_of_fish.txt" and you want to append the word "trout" to the file contents. Which of the following commands can you use? echo trout < types_of_fish.txt echo trout > types_of_fish.txt echo trout >> types_of_fish.txt
Week 1 - File and Text Manipulation https://quizlet.com/467798674/week-1-file-and-text-manipulation-flash-cards/
2/3
8/19/2021
In a Linux machine, you want to list
Week 1 - File and Text Manipulation Flashcards | Quizlet
ls /home/ben/Documents | grep important
through a directory called /home/ben/Documents and search for the word "important" in the filenames in that directory. Which of the following commands can you use? ls /home/ben/Documents | grep important ls /home/ben/Documents >> grep important ls /home/ben/Documents < grep important ls /home/ben/Documents > grep important
https://quizlet.com/467798674/week-1-file-and-text-manipulation-flash-cards/
3/3...