Skip to content

Instantly share code, notes, and snippets.

@jsstrn
Last active February 16, 2016 01:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jsstrn/bf10064e054372fd09de to your computer and use it in GitHub Desktop.
Save jsstrn/bf10064e054372fd09de to your computer and use it in GitHub Desktop.
Notes for WDI SG 2

$ ping google.com

Copy the IP address and paste it into a browser.

$ traceroute google.com

$ man traceroute

breakdown of a URL - scheme:[//[user:password@]host[:port]][/]path[?query][#fragment] see link

$ curl -i http://github.com

wiki web browser comparisons

HTTP response codes

semantic HTML <section>, <article>, <main>

aria in HTML

chmod a-w my-file.txt to remove write permissions for all user groups

Copy a file into a parent folder and rename the file at the same time.

cp old-file-name.txt my-directory/new-file-name.txt

Move multiple files into a folder (if there is a pattern file1.txt file2.txt..)

mv file*.txt my-directory

Remove contents of a directory, but not the directory itself

rm my-directory/* or rm -rfv my-directory/*

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment