Difference between revisions of "Teaching Notes"
Jump to navigation
Jump to search
(Created page with "==A little note about typographic conventions you'll see here== If you see something that looks a bit like *<code>ls -l</code> It is likely a command line. You can triple-click it, then copy & paste it directly into a terminal. If there is a part that's '''ALL-CAPS & BOLD''', this is a part of the command line you'll probably need to edit for your particular useage. i.e.: *<code>cp '''FOO.BAR''' '''FOO.BAR'''.bak</code> Sometimes, there'll be whole scripts to past...") |
|||
(7 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
==A little note about typographic conventions you'll see here== | == A little note about typographic conventions you'll see here == | ||
If you see something that looks a bit like | If you see something that looks a bit like | ||
*<code>ls -l</code> | *<code>ls -l</code> | ||
It is likely a command line. You can triple-click it, then copy & paste it directly into a terminal. | |||
If there is a part that's '''ALL-CAPS & BOLD''', this is a part of the command line you'll probably need to edit for your particular usage. | |||
If there is a part that's '''ALL-CAPS & BOLD''', this is a part of the command line you'll probably need to edit for your particular | |||
i.e.: | i.e.: | ||
*<code>cp '''FOO.BAR''' '''FOO.BAR'''.bak</code> | *<code>cp '''FOO.BAR''' '''FOO.BAR'''.bak</code> | ||
Sometimes, there'll be whole scripts to paste into a file on your machine. (I like [[HowTo -_vi{{!}}vi]] as an editor, but use whatever editor you like.) When a script is posted, it'll be formatted like this: | |||
<syntaxhighlight lang="sh" line="1"> | |||
# This is a rather silly little bash script... | # This is a rather silly little bash script... | ||
Line 19: | Line 19: | ||
echo | echo | ||
echo "In fact, it just tells you it's silly..." | echo "In fact, it just tells you it's silly..." | ||
</syntaxhighlight> | |||
Just copy the whole thing & paste it into your editor in a terminal... | Just copy the whole thing & paste it into your editor in a terminal... | ||
==The actual lessons== | == The actual lessons == | ||
===How to Linux=== | === How to Linux === | ||
*[[HowTo_-_sh{{!}}sh]] - Actually sh/bash/whatever shell scripting. (This is gonna take a while & be HUGE.) | |||
*[[HowTo_-_ssh{{!}}ssh]] - Remote control of Linux machines | |||
*[[HowTo -_ssh#Transferring_files{{!}}scp]] - copying files between machines securely (technically, this is just a part of [[HowTo - ssh{{!}}ssh]]) | |||
*[[HowTo_-_rsync{{!}}rsync]] - Copying files (including remotely) with a bunch of control | |||
*[[HowTo_-_vi{{!}}vi]] - Editing files... on damn near ANY Linux machine | |||
*[[HowTo_-_cron{{!}}cron]] - Make things happen on a schedule | |||
*[[HowTo_-_systemctl{{!}}systemctl]] - Managing services | |||
*[[HowTo - Filesystem Mounting{{!}}Filesystem Mounting]] from the command line | |||
*[[HowTo - Setting file/folder permissions{{!}}Setting file/folder permissions]] | |||
*[[HowTo - SAMBA{{!}}SAMBA]] | |||
*[[HowTo - GIT & GitHub{{!}}GIT & GitHub]] | |||
*[[Setting up NFS for file sharing{{!}}Setting up NFS for file sharing]] | |||
=== How to ESXi === | |||
=== How to Wiki === | |||
=== How to pfSense === | |||
===How to pfSense=== | |||
* [[ | * [[pfSense{{!}}My existing pfSense notes]] | ||
===How to SQL=== | === How to SQL === | ||
*[[SBN - Database Server Notes#Useful Things | *[[SBN - Database Server Notes#Useful Things{{!}}Some useful things]] | ||
===How to Internet=== | === How to Internet === | ||
*[[How internet addressing really works]] | *[[How internet addressing really works]] | ||
===How to Coding in General=== | === How to Coding in General === | ||
*[[A Tarduino example done properly]] | *[[A Tarduino example done properly]] |
Latest revision as of 11:41, 19 October 2022
A little note about typographic conventions you'll see here
If you see something that looks a bit like
ls -l
It is likely a command line. You can triple-click it, then copy & paste it directly into a terminal.
If there is a part that's ALL-CAPS & BOLD, this is a part of the command line you'll probably need to edit for your particular usage.
i.e.:
cp FOO.BAR FOO.BAR.bak
Sometimes, there'll be whole scripts to paste into a file on your machine. (I like vi as an editor, but use whatever editor you like.) When a script is posted, it'll be formatted like this:
# This is a rather silly little bash script...
echo "This script is silly."
echo "It doesn't do much."
echo
echo "In fact, it just tells you it's silly..."
Just copy the whole thing & paste it into your editor in a terminal...
The actual lessons
How to Linux
- sh - Actually sh/bash/whatever shell scripting. (This is gonna take a while & be HUGE.)
- ssh - Remote control of Linux machines
- scp - copying files between machines securely (technically, this is just a part of ssh)
- rsync - Copying files (including remotely) with a bunch of control
- vi - Editing files... on damn near ANY Linux machine
- cron - Make things happen on a schedule
- systemctl - Managing services
- Filesystem Mounting from the command line
- Setting file/folder permissions
- SAMBA
- GIT & GitHub
- Setting up NFS for file sharing