This is an old revision of the document!
cat needs input. The pipe (|) is magic.
cat file|more cat file|less
|less is more, and Iceland is green.
output|input
grep -for text files
grep ' ' and grep '[ ]'
(<,>) output redirection
“ half quotes -variable expansion ' Full quotes -literal ` back tick -command expansion
$ variable access
Wildcards * 0 or more ? 1 of anything [] 1 of enclosed -character class [^ ] not 1 of enclosed -inverted character class
ls ??|wc -c Returns number of two character files in folder
alias name command
meme=“Long cat” alias cm=“echo $meme” echo meme Long cat
More on Wild Cards
ls [aeiou]?|wc -c returns two character file which begins with aeiou
ls [^aeiou]*[aeiou]*[aeiou]|wc -w returns number of files which contain aeiou, but the first and last characters are not aeiou.
starts with anything *.conf ends in .config starts with .config .config* end with anything
VI text editor introduction
h-left j-down k-up l-left
m- move right by word M- move right by space b- move left by word B- move left by space
u- undo ctrl+r- redo
i- enter text mode esc- enter command mode
Downloaded Ubuntu onto a flash drive last week in the hopes that I could boot from such and play around with it. I use to run Ubuntu -The Lucid Lynx, then the Hardy Heron- and decided to try the Trusty Tahr. Booting from the flash became a pain, so I downloaded VirtualBox so I can run numerous OS's inside my current OS. It's fantastic. I can now run Ubuntu and Debian inside windows. I need to reinstall Debian, as it's not functioning right now, but the future looks bright.
Remodeled my room so I have more space to play with my computers. I was able to pull out my Raspberry Pi and boot Raspian -the Debian OS, on her. I am now in the process of editing bash as I enjoy it and otherwise exploring the system as the root user. To note: Raspian is substantially more GUI-ed than the Debian we utilize in The Best Class We've Ever Taken.