Month: October 2014
-
[Fix] Disable RHEL7 tmux auto pane renaming in tmux
In .tmux.conf: set -g automatic-rename off set -g allow-rename off
-
Split files to loop devices
FILE=file_name; CHUNK=$((64*1024*1024)); SIZE=$(stat -c “%s” $FILE); for ((i=0; i < $SIZE; i+=$CHUNK)); do losetup --find --show --offset=$i --sizelimit=$CHUNK $FILE; done via http://www.commandlinefu.com/commands/view/13735/split-a-large-file-without-wasting-disk-space