-
What is GIT? GIT–Version Control System
What is GIT? Git is a popular Version Control System. The aim of Git is to manage software development projects, and its files, as they are changing over time. Git stores this information in a data structure called a repository! A git repository is a central place where developers store, share, test and collaborate on web projects. A repository is kind of like an enhanced Unix directory, or folder, but with the additional ability to track changes to every file and subdirectory. The way to create a new repository with Git is with the “init” command (short for “initialize”_, which creates a special hidden directory called “.git”, where Git stores…
-
Moving Around (pushd & popd): Notes: List of Terminal Commands
Moving Around (pushd & popd) pushd (push directory) & popd (pop directory) let you temporarily go to a different-directory, and then come back, easily switching between the two!! pushd–lets you save your current location and go to a new location. The “pushd” command takes your current directory and “pushes” it into a list for later, then it ‘changes’ to another directory. It’s like saying, “Save where I am, then go here.” popd–lets you return to the saved location. The “popd” command takes the last directory you pushed and “pops” it off, taking you back there. Note: On Unix-machines “pushd“, if you run it by itself with no arguments, will switch…
-
Understanding Permissions: Notes: List of Terminal Commands
ls -l -pulls up ‘long-listing’ of info –Once we pull up the ‘long-listing’ of info, the first column gives us specific info on the directory or file. It tells us what you are, or are not allowed to do with that directory or file. (i.e.–permissions). Ex. sample permission string: d rwx rwx rwx The ‘d‘ tell us it’s a directory. A hyphen (–) would denote a file. “User“–The first set of ‘rwx‘ refers to the “User“, or the person that “owns” that resource (as listed in Column 3 of the ‘long listing’). “Group“–The second set of ‘rwx‘ refers to the “Group” and designates what the “group” is able to do.…
-
Notes: List of Terminal Commands
List of Terminal Commands: Note: These were for Windows but some commands work on Mac/Linux). pwd print working directory hostname my comuter’s network name mkdir make a new directory cd change directory forward cd.. change to previous directory (or ‘cd../../..‘ to go back 3 times, etc.) ls list storage (list directory) ls -l -long listing (gives more info with the ‘-l’ flag option) rm remove a file rmdir remove directory rm -rf<dir> to force remove, if needed. pushd push directory popd pop directory cp copy a file or directory robocopy robust copy mv move (rename) a file or directory more (or cat) page through a file type print the whole…