echo -n "Hello"
ls -lahF ./
git commit -m "wip"
curl -fsS https://example.com/
sudo apt-get install ...
vps-adduser
ssh-pubkey
git commit --amend
node --version
go build --help
"always end your paths in a slash"
https://example.com/
Demo/
git <command> [<args>]
caddy <command> [<args...>]
<!DOCTYPE html>
<html>
<head>
<meta>
<title>
<body>
<table>
</meta>
</title>
</head>
</table>
</body>
</html>
env PATH="$PATH"
echo "$HOME"
“there’s always a space before dot slash”
npm publish ./ --access public
serviceman add ./server.js
items[i];
COMMAND [FLAGS] [OPTIONS] [--] [PATHS]
["foo", "bar", "baz"]
(points up and left, towards the escape key)
\" \' \\
\n \ \t
# TODO write a script
ls ~/Downloads/
ls /Volumes
ls /mnt
ls /app
// TODO write some code
func echo(args ...string) {
return args
}
echo("Beyond Code", "Bootcamp")
“you’re missing a close paren”
a && (b || c);
6 * (8 - 1);
“mustache”, “handlebars”
{{ .name }}
{
let mut greeting = "Hello, World!"
}
ls | xargs echo
echo "$HOME" | grep 'Users'
{ "name": "bob", "age": "20" }
if (error) {
return error;
}
cat - > 2020-Jun.txt
curl https://example.com/ > example.html
psql < init.sql
remainder := 56 % 10
0 == i % 100
#!/bin/bash
#!/usr/bin/env node
vim: “go to the end of the line”
$
vim: “go to the beginning of the line”
“find lines that begin with a comment”
/^#.*/gm
/air.*plane/
prettier --write '*/**.{md,js,json,css,html}'
git add '*.{md,js}'
/*
TODO: Write program
- should take an argument
- and print to the screen
*/