User Tools

Site Tools


journal:spring2020:acliteur:week4

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
journal:spring2020:acliteur:week4 [2020/02/11 20:18]
acliteur
journal:spring2020:acliteur:week4 [2020/02/12 20:25] (current)
acliteur
Line 2: Line 2:
 This week we went over a new text editing tool, vim. There are many more shortcuts to vim than nano, which makes it useful for typing in code and navigating the text. There are two modes, command, and insert. Command does what the name suggests, it is not simply inputting text as insert does. To get to insert, press '​i'​. :wq quits vim. This week we went over a new text editing tool, vim. There are many more shortcuts to vim than nano, which makes it useful for typing in code and navigating the text. There are two modes, command, and insert. Command does what the name suggests, it is not simply inputting text as insert does. To get to insert, press '​i'​. :wq quits vim.
  
-After last class, I was able to understand more of how to use wildcards. I wasn't quite sure in class but messed around and got used to it. The four wildcards we went over were: *, ?, [ ], and [* ]. The asterisk allows one or more characters. The question mark only allows one character. Brackets allow one of any of the characters listed. The brackets with an asterisk do not allow the character listed in the brackets. For example, in class+After last class, I was able to understand more of how to use wildcards. I wasn't quite sure in class but messed around and got used to it. The four wildcards we went over were: *, ?, [ ], and [* ]. The asterisk allows one or more characters. The question mark only allows one character. Brackets allow one of any of the characters listed. The brackets with an asterisk do not allow the character listed in the brackets. For example, in class we went through some bin files and had to find files with certain criteria such as the 2nd letter being '​d';​ you to this by using '?​d*'​ 
 + 
 +In pbx1, I had to learn multiple new commands such as: head, tail, cut, and paste. Head displays the first 10 lines of a file, tail displays the last 10 lines of a file. Using -n lets you decide how many lines to show. The cut was used to split text in a file using a delimiter. An example of a cut command is: cut -d" " -f1 file. This splits the file up from every space, then shows the first field. Paste strings together respective lines from two files.  
 + 
 +AR is another form of archive other than TAR. ar -x extracts the files.
 ====MONTH Day, YEAR==== ====MONTH Day, YEAR====
 02/11/2020 02/11/2020
journal/spring2020/acliteur/week4.txt · Last modified: 2020/02/12 20:25 by acliteur