MISC: How to grep several strings at once
It is needed to use the Extended Regular Expressions (ERE), which can be done by add the -g
argument to the grep command. Here's an example:
grep -E 'foo|bar' /var/log/messages
It is needed to use the Extended Regular Expressions (ERE), which can be done by add the -g
argument to the grep command. Here's an example:
grep -E 'foo|bar' /var/log/messages
To create a customized Debian image, we'll use live-build. Reading the Live Systems Manual is also a good idea.
We're going to do this from a running Debian Stretch system, it'll be simpler.
To "prepare" the environment (here a Stretch system w/ contrib & non-free repos enabled:
lb config -d stretch --archive-areas "main contrib non-free" --debian-installer live
If you need some special packages installed in your Live environment, the lists are in config/package-lists/
(1 package name per line)
Finally, to build the image:
lb build
If you did this on a x86_64 system, the image will by default be named live-image-amd64.hybrid.iso
. To put it on a USB stick, you can use dd
the normal way.
If you swapped hard drives, installed an UEFI OS on the new one and put the old one back, changes are you won't be able to boot. To repair that (on Debian at least), boot on a liveusb (or CD if you live in the past), mount your boot partition and do:
grub-install --efi-directory /boot/efi
Reboot and you should be on your old OS.
Here's a list:
tar xf $foo
)./Config
into the new archive foldermake && make install
./unrealircd restart
And voilà!
So I don't know why but I tried to remaster the Archlinux install iso to get some custom stuff on it, and I couldn't use `su` while logged in as my user. An error about creating groups. It's just that I did not have the right uid set for this file, I corrected it by doing this:
chmod u+s /bin/su
And it's now fine.
So here are the packages I had from php5:
And here are the packages I needed to get Roundcube to work with php7:
Because if you don't, root's gonna have your use env variables, and if you compile kernels and such, you're potentially gonna have a bad time. Especially if you changed your umask.
While on a security level it may be tempting to put both value at 'encrypt', it may prevents some mails from being delivered to you. Best use it to put 'may' as a value.
https://github.com/pret/pokered
https://github.com/pret/pokeyellow
In your i3 config file "bar" block:
bar { # remove workspaces numbers strip_workspace_numbers yes }