This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// main.c | |
// Binary Search | |
// | |
// Created by Shahin on 2015-03-10. | |
// Copyright (c) 2015 98% Chimp. All rights reserved. | |
// | |
#include <stdio.h> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// main.c | |
// Box | |
// | |
// Created by Shahin on 2015-03-10. | |
// Copyright (c) 2015 98% Chimp. All rights reserved. | |
// | |
#include <stdio.h> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// main.c | |
// Adam | |
// | |
// Created by Shahin on 2015-03-09. | |
// Copyright (c) 2015 98% Chimp. All rights reserved. | |
// | |
#include <stdio.h> | |
#include <stdbool.h> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
history | grep "cat" | wc -l | |
cat /usr/share/dict/words | grep "$a" | wc -l | |
cat /usr/share/dict/words | grep "$a" | wc -l | |
curl -o lighthouse.html http://www.lighthouselabs.ca/index.html |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pwd: print working directory - Return working directory name | |
cd ~/: functionally the same as the command cd /home/username | |
ls -al: list files including hidden ones in long format | |
echo hello world: prints the phrase "hello world" on the screen | |
print: prints the current date and time (e.g., Mon 9 Mar 2015 11:33:03 PDT) | |
hostname: prints the current host name on the screen (e.g., Joojeh.local) | |
arch: outputs the underlying architecture | |
uname -a: Displays system information (e.g., Darwin Joojeh.local 14.3.0 Darwin Kernel Version 14.3.0: Thu Feb 12 18:38:33 PST 2015; root:xnu-2782.20.34~3/RELEASE_X86_64 x86_64) | |
uptime: The length of time a user can work on a computer or network without interruption (e.g., 11:51 up 23:22, 2 users, load averages: 4.27 4.46 4.40) | |
whoami: an existential question that has perplexed philosophers and scientists from the dawn of consciousness (e.g., Q. who am I? A.98% chimp!); this command also pr |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ls | |
cd | |
mkdir | |
rm | |
cp | |
mv | |
touch | |
cat | |
more | |
pwd |
NewerOlder