User Tools

Site Tools


notes:c4eng

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
notes:c4eng [2019/09/27 12:39] – Added a few extra commands that are commonly used cspragu3notes: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 -r - move back in to created screen (our chat) +  make builds program based on a make file 
-   cntrl + a then d moves back to original terminal outside of screen+  whoami returns the current user
 ====Mercurial:==== ====Mercurial:====
   * fixrepo - repository reset   * fixrepo - repository reset
Line 34: Line 34:
   * hg commit -m "message" - commits to repository with a message   * hg commit -m "message" - commits to repository with a message
   * 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