Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
soc:2009:pravin:notes:start [2009/06/19 05:55] less1 |
soc:2009:pravin:notes:start [2009/12/27 06:18] (current) less1 |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== place to log useful random commands ====== | ====== place to log useful random commands ====== | ||
| + | |||
| + | Useful to find the dependency of given executable on other shared libraries. | ||
| + | <code> | ||
| + | ldd | ||
| + | </code> | ||
| + | |||
| + | ===== Useful information ===== | ||
| + | AndyTim: By the way, if you ever get the ^M problem again. | ||
| + | Try following it by a ^J | ||
| + | |||
| + | |||
| + | ===== Links to watch-out ===== | ||
| + | - [[http://unit.aist.go.jp/itri/knoppix/http-fuse/index-en.html|HTTP-FUSE-KNOPPIX]] someone has done if before also. | ||
| + | - [[http://paste.etherboot.org/?page=view&id=1239849078]] script to create automatic gpxe bootable USB | ||
| ===== For Shell script ===== | ===== For Shell script ===== | ||
| + | If you want to terminate execution of a shell script on encounter any error then | ||
| <code> | <code> | ||
| #!/bin/bash | #!/bin/bash | ||
| Line 19: | Line 34: | ||
| </code> | </code> | ||
| - | For pushing the first master repository from local to empty remote server repository, it can be done with | + | Adding remote head to cloned repository |
| + | <code> | ||
| + | git remote add master git+ssh://pravin@git.etherboot.org//pub/scm/people/pravin/BKO.git | ||
| + | </code> | ||
| + | |||
| + | For pushing the local master repository from local to remote server repository, it can be done with | ||
| <code> | <code> | ||
| git push master master | git push master master | ||
| </code> | </code> | ||
| + | |||
| Where you are pushing local branch called "master" onto remote branch called "master" | Where you are pushing local branch called "master" onto remote branch called "master" | ||
| + | |||
| + | ===== git submoduling ===== | ||
| + | |||
| + | to register the git submodules | ||
| + | <code> | ||
| + | git submodule init | ||
| + | git submodule update | ||
| + | </code> | ||
| ==== git bisect ==== | ==== git bisect ==== | ||