rsync certain files, excluding the rest, ignoring .svn/ directory, recursively
I’m using rsync to copy some files from a share to another.
I’m using rsync to copy some files from a share to another.
This question is quite similar to this one, but I can’t understand the solution. I also know this tutorial, but still I am unable to understand what I am doing wrong.
/proc/sys/vm/swappiness is nice, but I want a knob that is per process like /proc/$PID/oom_adj. So that I can make certain processes less likely than others to have any of their pages swapped out. Unlike memlock(), this doesn’t prevent a program from being swapped out. And like nice, the user by default can’t make their programs less likely, but only more likely to get swapped. I think I had to call this /proc/$PID/swappiness_adj.
Can some one please explain in an easy to understand way the concept of controlling terminal in unix and unix like systems ? Is it related to a session ? If yes, then how ?
I mistakenly deleted the /boot folder from my filesystem, rebooted, and all I get now is this:
After upgrading to a new release version, my bash scripts start spitting errors:
I am new at scripting … I can do very basic stuff, but now I need a hand.
I have this input:
If I open a terminal like xterm I will have a shell. Then if I use ssh or zsh I will have another “level” of shell. Is there a way to know how many times I have to Ctrl+D or type exit to exit all of them? My real intention is to exit everything except the “root” shell.
I have installed MySQL on my Arch Linux server. I moved the data directory to a place under /home, where my RAID volume is mounted. I noticed that mysqld will not start in this configuration by default since the systemd unit contains the setting ProtectHome=true.