notes:c4eng
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
notes:c4eng [2019/09/27 12:39] – Added a few extra commands that are commonly used cspragu3 | notes:c4eng [2020/10/21 18:49] (current) – [Mercurial:] jwhitso2 | ||
---|---|---|---|
Line 26: | Line 26: | ||
* scp - secure copy to or from a remote machine via local host or remote host | * scp - secure copy to or from a remote machine via local host or remote host | ||
* scp fileName user@machine: | * scp fileName user@machine: | ||
- | * screen | + | |
- | | + | * whoami |
====Mercurial: | ====Mercurial: | ||
* fixrepo - repository reset | * fixrepo - repository reset | ||
Line 34: | Line 34: | ||
* hg commit -m " | * hg commit -m " | ||
* hg push - pushes files to repository | * hg push - pushes files to repository | ||
+ | * hg update -C - reverts uncommitted changes in the working directory | ||
+ | * hg merge - starts a merge between two heads | ||
====Raspberry Pi:==== | ====Raspberry Pi:==== | ||
*sudo shutdown -h now - shutdown Pi | *sudo shutdown -h now - shutdown Pi | ||
Line 39: | Line 41: | ||
*gpio mode pinNumber Status - sets the pin number to IN or OUT | *gpio mode pinNumber Status - sets the pin number to IN or OUT | ||
*gpio write pinNumber Status - sets the value of the pin number to 1(one) or 0(zero) | *gpio write pinNumber Status - sets the value of the pin number to 1(one) or 0(zero) | ||
+ | |||
+ | ====Lab 46 Shell:==== | ||
+ | *status desig - shows completed class tasks and upcoming due projects | ||
notes/c4eng.1569602361.txt.gz · Last modified: 2019/09/27 12:39 by cspragu3