Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Newbranch #19

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
# cheatsheets
Quick lookup documents for commonly used tools

Comment 1: type git log to look at history of what you’ve done so far
3 changes: 3 additions & 0 deletions bioinformatics.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,6 @@ The final command looks like this:
```
findMotifsGenome.pl peaks.bed out_dir hg19 -bg background.bed -rna -len 4,5,6,7 -mset vertebrates -mis 1 -p 4
```
My new note: git checkout checks out (i.e., restores) an old version of a file


21 changes: 21 additions & 0 deletions unixcommandnotes.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
pwd: present working directory
~ : home directory
cd: change directory
ls: list directory contents (files)
man: manual for whatever command you specify
mkdir: make directory
cd ..: change back to home directory
touch file.txt: creat an empty file called "text"
cat: look at file's contents
echo "example" >> file. text: this will append "example" into the file "text"
wc: line count
mv: move (must specify origin and destination after)
cp: copy (must specify origin and destination after)
scp: secure copy
chmod: permissions
awk: extract lines based on desired specifications you input
git init: makes a directory a git repo
git add: tells git to start keeping track of something
git commit -m: tells git to record your changes
git diff: shows changes so you can review them