Java and CLI Syntax

Primary tabs

No Description Set

Subjects: 

Bookmark to learn: Login to use bookmarks.

Bookmark to learn: Login to use bookmarks.

Add to collection ... add Java and CLI Syntax to your collections:

Help using Flashcards ...just like in real life ;)

  1. Look at the card, do you know this one? Click to flip the card and check yourself.
  2. Mark card Right or Wrong, this card will be removed from the deck and your score kept.
  3. At any point you can Shuffle, Reveal cards and more via Deck controls.
  4. Continue to reveal the wrong cards until you have correctly answered the entire deck. Good job!
  5. Via the Actions button you can Shuffle, Unshuffle, Flip all Cards, Reset score, etc.
  6. Come back soon, we'll keep your score.
    “Repetition is the mother of all learning.”
  7. Signed in users can Create, Edit, Import, Export decks and more!.

Bookmark to learn: Login to use bookmarks.

Share via these services ...

Email this deck:

Right: #
Wrong: #
# Right & # Wrong of #

(CLI Syntax)
pwd
cd
ls
ls - al

Print Working Directory
Change Directory
List (files and folders)
List all and long (files and folders)

(CLI Syntax)
mv
cp
cp -r
mkdir

move (files or folders)
copy (files)
copy (folder)
mk dir (make directory)

(CLI Syntax)
rm
rmdir
touch

remove (filr)
remove (folder)
create blank file, or change date stamp on a file

(Git Syntax)
git commit
git commit -a
git commit --amend

Git commit saves changes to files, (and creates a snapshot of the changes) in your local repository.
-a includes all changed files in the commit
-amend rewrites the most recent commit (do NOT do if you've pushed already)

(Git Syntax)
git commit -m " "
git add --all

git commit -m saves changes to files locally, and adds a message
git add --all stages changed files for a commit

What does the 'final' modifier do to a variable?
final double pi = 3.14;

a final variable is CONSTANT, and does not change.

(Java Syntax)

if if/else statement

if (condition) {
statement or block performed if condition is true
} else {
statement or block performed if condition is not true
}

(Java Syntax)

Ternary Operator

conditional ? true_value : false_value

(Java Syntax)

Basic Method structure

Back image: 
Subjects: