It's an often used pattern when setting up to first make a directory with mkdir
and then immediately moving into the new directory with cd
.
mkdir my_dir
cd my_dir
Byobu is a suite of enhancements to tmux, as a command line | |
tool providing live system status, dynamic window management, | |
and some convenient keybindings: | |
F1 * Used by X11 * | |
Shift-F1 Display this help | |
F2 Create a new window | |
Shift-F2 Create a horizontal split | |
Ctrl-F2 Create a vertical split | |
Ctrl-Shift-F2 Create a new session |
#!/usr/bin/env bash | |
set -e | |
tmpdir=$(mktemp -t -d advcp.XXXXXX) | |
cd ${tmpdir} | |
wget https://aur.archlinux.org/packages/ad/advcp/advcp.tar.gz | |
tar xf advcp.tar.gz | |
source advcp/PKGBUILD |
#include "stdio.h" | |
int InBlock[81], InRow[81], InCol[81]; | |
const int BLANK = 0; | |
const int ONES = 0x3fe; // Binary 1111111110 | |
int Entry[81]; // Records entries 1-9 in the grid, as the corresponding bit set to 1 | |
int Block[9], Row[9], Col[9]; // Each int is a 9-bit array |