start new:
tmux
start new with session name:
tmux new -s myname
| for node in node1 node2 node3;do | |
| multipass launch -n $node | |
| done | |
| # Init cluster on node1 | |
| multipass exec node1 -- bash -c "curl -sfL https://get.k3s.io | sh -" | |
| # Get node1's IP | |
| IP=$(multipass info node1 | grep IPv4 | awk '{print $2}') |
| // To unzip the epub, move the ePub to a folder, cd to it then simply: | |
| unzip MyEbook.epub | |
| // To zip up an epub: | |
| 1. zip -X MyNewEbook.epub mimetype | |
| 2. zip -rg MyNewEbook.epub META-INF -x \*.DS_Store | |
| 3. zip -rg MyNewEbook.epub OEBPS -x \*.DS_Store | |
| Some explanations necessary here. We start each line with two flags: |