A good practice is add "nodatacow" option to database volume in /etc/fstab
Run
mount <mount-point> -o remountto apply the edited mount options.
mount <mount-point> -o remountto apply the edited mount options.
% (sh myscript.sh 3>&2 2>&1 1>&3) 2>/dev/null
I'm stderr
% (sh myscript.sh 3>&2 2>&1 1>&3) >/dev/null
I'm stdout
test and [ are builtins.&& and || instead of-a and -o and there's a regular expression matching operator =~.$ var="abcde"; echo ${var%d*}abcsed$ var="abcde"; echo ${var/de/12}abc12$ default="hello"; unset var; echo ${var:-$default}hello
find . -type f -exec stat --format '%Y :%y %n' {} \; | sort -nr | cut -d: -f2- | head
find -L . -type f -exec stat --format '%Y :%y %n' {} \; | sort -nr | cut -d: -f2- | head
find . -mtime n
.---------------> ! data ! ! data ! etc / +------+ !------+ ! permbits, etc ! data addresses ! +------------inode---------------+
.--------------> ! permbits, etc ! addresses ! / +---------inode-------------+ ! filename ! inode # ! +--------------------+
! filename ! inode # ! +--------------------+ \ >--------------> ! permbits, etc ! addresses ! / +---------inode-------------+ ! othername ! inode # ! +---------------------+
sed 's/^\(.\+\s\+\)\([0-9]\+ *\)$/\2 \1/'
__git_files () {
_wanted files expl 'local files' _files
}
compdef -d svn
g++ hello-world.cpp -o hello-world \
-I /usr/local/include/opencv -L /usr/local/lib \
-lm -lcv -lhighgui -lcvauxc++ find_obj.cpp -o o -I /usr/local/include -L /usr/local/lib -lopencv_core -lopencv_imgproc -lopencv_highgui -lopencv_ml -lopencv_video -lopencv_features2d -lopencv_calib3d -lopencv_objdetect -lopencv_contrib -lopencv_legacy -lopencv_flann
alias grep='GREP_COLOR="1;37;41" LANG=C grep --color=auto'