linux:nyttige_kommandoer
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| linux:nyttige_kommandoer [2016/06/10 11:22] – larserik | linux:nyttige_kommandoer [2018/10/20 23:00] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 172: | Line 172: | ||
| < | < | ||
| rename 's/ /_/g' * | rename 's/ /_/g' * | ||
| + | </ | ||
| + | |||
| + | OBS! Dette virker bare med perl-rename. IKKE linux-util rename! | ||
| + | |||
| + | ==== Rename filer med prefix ==== | ||
| + | < | ||
| + | mv {, | ||
| + | </ | ||
| + | |||
| + | ==== Fikse ecrpytfs automount ved servermigrering ==== | ||
| + | < | ||
| + | ln -s / | ||
| + | ln -s / | ||
| + | </ | ||
| + | |||
| + | ==== Konvertere putty-nøkler til authorized_keys ==== | ||
| + | < | ||
| + | $ ssh-keygen -i -f putty-key.pub >> ~/ | ||
| </ | </ | ||
| Line 203: | Line 221: | ||
| < | < | ||
| [[https:// | [[https:// | ||
| + | |||
| + | ===== vim ===== | ||
| + | ==== Lagre med sudo ==== | ||
| + | < | ||
linux/nyttige_kommandoer.1465550521.txt.gz · Last modified: (external edit)
