User Tools

Site Tools


user:jvandrig:start

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
user:jvandrig:start [2017/08/26 00:23] jvandriguser:jvandrig:start [2017/09/10 19:17] (current) jvandrig
Line 1: Line 1:
-=====Classes 1 and 2=====+=====Notes=====
 ==Unix Philosophy== ==Unix Philosophy==
 1) Do one thing and do that one thing extremely well 1) Do one thing and do that one thing extremely well
 +
 2) Small is beautiful 2) Small is beautiful
 +
 3) Everything is a file. 3) Everything is a file.
   - 3 Types of Files   - 3 Types of Files
Line 22: Line 24:
   - 0 - nothing   - 0 - nothing
 ==Commands we learned so far== ==Commands we learned so far==
-[Command] [Name] [What it does] +  - [Command] [Name] [What it does] 
-man: Manual: Gives an index of a command. Format: man [command] [options] +  man: Manual: Gives an index of a command. Format: man [command] [options] 
-ls: list: Gives a list of all non-hidden items in the current directory. Format: ls [options] +  ls: list: Gives a list of all non-hidden items in the current directory. Format: ls [options] 
-cd: change directory: changes the current directory. Format: cd [directories in current directory/.. (go up one parent)/a specific directory if you know the location] +  cd: change directory: changes the current directory. Format: cd [directories in current directory/.. (go up one parent)/a specific directory if you know the location] 
-mv: move: (not sure what it does, man mv showed that it changes cursor location) +  mv: move: (not sure what it does, man mv showed that it changes cursor location) 
-cp: copy: copy files over from one location to another. Format: cp [source] [destination] +  cp: copy: copy files over from one location to another. Format: cp [source] [destination] 
-mkdir: make directory: creates directories. Format: mkdir [name of new directory] (can make it in specific directories, or just in the current one)+  mkdir: make directory: creates directories. Format: mkdir [name of new directory] (can make it in specific directories, or just in the current one) 
 +  - echo: echo: overwrite files with written text/prints whatever you say after it. Format: echo [> (overwrite)/>> (add to) + filename] [What you wish to write] 
 +  - cat: cat: reads targeted file. Format: cat [filename] 
 +  - unzip: unzip: unzips .zip 
 +  - gzip: gz unzip: removes .gz from compressed files. 
 +  - tar: tar: extracts tar files, used like this : tar -xf (add a z to that if gz is still there, j if it's a bz2) filename 
 +  - tr: translate: changes characters in a file from One char into another Format: tr "X" "Y"
  
user/jvandrig/start.1503707021.txt.gz · Last modified: 2017/08/26 00:23 by jvandrig