Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Q
quick-refs
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Michael Alan Marsh
quick-refs
Commits
3d48a740
Commit
3d48a740
authored
3 years ago
by
Michael Marsh
Browse files
Options
Downloads
Patches
Plain Diff
added a README/table of contents
parent
9752bb28
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+83
-0
83 additions, 0 deletions
README.md
with
83 additions
and
0 deletions
README.md
0 → 100644
+
83
−
0
View file @
3d48a740
# Quick References
This repository contains a number of quick reference guides to various
basic and not-so-basic topics. These are not intended to be
comprehensive in any way, and you will likely find your favorite
search engine a great way to supplement this information, once you
know the basic terms to include.
Much of the information here is Linux-specific or C-specific. This is a
feature.
Here's a brief summary of what's in each file:
## [admin.md](admin.md)
*
The
`root`
administrator account
*
Running programs as a different user
*
Managing users and groups
## [bash.md](bash.md)
*
Shell variables
*
Parameter expansion
*
Single vs. double quotes
*
Different ways to execute commands
*
Positional parameters
*
Math in bash
*
File descriptors, like STDIN and STDOUT
*
"Here" documents
*
Pipelines
*
Control flow, including conditionals and loops
*
Functions
*
Command aliases
*
**Writing scripts, including the "shebang" line**
## [filesystem.md](filesystem.md)
*
The many ways of listing directory contents
*
Changing directories. Number 4 may surprise you!
*
Moving, copying, and extracting pieces of files. This includes fancy
commands like
`dd`
and
`xxd`
.
*
**File permissions**
, including making your scripts executable!
*
Examining disk usage
*
Special files, and where they live
*
**Finding things**
with
`locate`
,
`find`
,
`grep`
, and
`ack`
## [misc.md](misc.md)
*
Manual pages
*
Killing processes
*
The
`true`
and
`false`
commands
*
The
`yes`
command
*
Generating numeric sequences (great for loops in scripts!)
*
The
`tar`
command that you in theory already know
*
Splitting lines of text with
`cut`
*
When
`cut`
doesn't cut it, the
`awk`
command
## [network.md](network.md)
*
Examining your network configuration (lots of commands and details)
*
Testing connectivity with
`ping`
and
`traceroute`
*
Finding IP addresses for hostnames
## [numbers.md](numbers.md)
*
Explicitly-sized integer types, like
`uint64_t`
*
Big-endian vs. little-endian byte order
*
Host vs. network byte order
*
Converting between different byte orders, including a handy table!
## [python.md](python.md)
A brief tour of the language, which should help you orient yourself.
This includes a complete script to generate random numbers, in
[
example.py
](
example.py
)
## [python-scapy.md](python-scapy.md)
*
Capturing network packets
*
Examining network packets
*
Creating network packets
This really only scratches the surface.
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment