Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
| Beide Seiten der vorigen Revision Vorhergehende Überarbeitung Nächste Überarbeitung | Vorhergehende Überarbeitung | ||
|
linux_stuff [2019/02/28 11:47] admin |
linux_stuff [2019/02/28 12:20] (aktuell) admin |
||
|---|---|---|---|
| Zeile 5: | Zeile 5: | ||
| This replaces path /mnt/sda with /home/x | This replaces path /mnt/sda with /home/x | ||
| + | |||
| + | |||
| + | ''sed -i "s/mnt.*/home\/x/g" file'' | ||
| + | |||
| + | This replaces all passges start with /mnt and any chars after it with /home/x | ||
| + | |||
| + | |||
| + | ''sed -i "s/rotate.*/rotate = flip/g" *'' | ||
| + | |||
| + | Replaces in all files in folder the passage rotate with any chard until end of line with rotate=flip | ||
| + | |||