BASH Aliases Flashcards

1
Q

cdgit

A

cd git path

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

cdwrite

A

cd writing path

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

cdfmri

A

cd fmri path

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

jekyllserve

A

open local jekyll server for inspecting website

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

weblocal

A

open website on local (localhost:4000)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

website

A

open website on www

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

s

A

open file or folder with Sublime Text

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

getbookends

A

download latest version of Bookends

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

matlab

A

open MATLAB

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

matlab_nodesktop

A

open MATLAB with no desktop

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

matlab_onethread

A

open MATLAB with multithreading disabled

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

explore

A

Opens current directory in MacOS Finder

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

c

A

Clear terminal display

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

back

A

cd last directory

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

sz

A

show size of files and folders

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

filetree

A

recursive display of files and folders

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

numfiles

A

count non-hidden files in current dir

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

lr

A

full recursive directory listing

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

ls

A

preferred ‘ls’ implementation (ls -FGlAhp)

20
Q

cp

A

preferred ‘cp’ implementation (cp -iv)

21
Q

mv

A

preferred ‘mv’ implementation (mv -iv)

22
Q

mkdir

A

preferred ‘mkdir’ implementation (mkdir -pv)

23
Q

less

A

preferred ‘less’ implementation (less -FSRXc)

24
Q

cd..

A

go back 1 directory level (for fast typers)

25
Q

.1

A

go back 1 directory level

26
Q

.2

A

go back 2 directory levels

27
Q

.3

A

go back 3 directory levels

28
Q

path

A

echo all executable Paths

29
Q

enabledarkmode

A

enable OS X dark mode

30
Q

show_options

A

display bash options settings

31
Q

showfiles

A

show hidden files

32
Q

hidefiles

A

hide hidden files

33
Q

restart

A

restart computer

34
Q

sleep

A

put computer to sleep

35
Q

powerdown

A

shutdown computer

36
Q

cic

A

make tab-completion case-insensitive

37
Q

emptytrash

A

empty the trash

38
Q

cleanup

A

recursively delete a bunch of crap from your finder

39
Q

cleanupDS

A

recursively delete .DS_Store files

40
Q

func

A

ssh into func (dentate)

41
Q

neuroecon

A

ssh into neurocon

42
Q

neuroecon_sftp

A

sftp into neuroecon

43
Q

ip

A

show your public IP

44
Q

localip

A

show your local IP

45
Q

DT

A

pipe content to file on MacOS Desktop