Tag Info

New answers tagged

1

Google is often the quickest way. However, if you want to search man pages, you can use the following to list (-w) all man pages of user commands (section 1) containing the text .bashrc anywhere: man -w -s 1 -K .bashrc For a file like .bashrc, this will turn up a few false positives in the form of man pages that suggest adding an alias or other setting to ...


0

I recommend @akrafs answer, but if that is not detailed enough; you can set up auditd to log which file accessed the configuration file. More details in : http://www.la-samhna.de/library/audit.html


1

If you have a package manager, you can query, which package owns a given file. On Arch Linux, you can use pacman -Qo FILENAME On Ubuntu, Debian and other distributions with apt, you can use apt-file FILENAME To search man files, you can use zgrep cd /usr/share/man find -name *.gz | \ # List all *.gz files while read line; do # For each ...


0

How to determine which #channels are available on a server /list How to set a vhost vhosts are server-specific. You will need to check the documentation for the server on which you're interested in setting a vhost. vhosts can also be referred to as cloaks. You do not set this up on your machine, but instead request it from the irc server. Some servers ...


0

File to edit: /etc/apache2/apache2.conf Command to edit file: sudo nano /etc/apache2.conf For global servername you can put at top of file (outside of virtual host tags) First line looks like ServerName myserver.mydomain.com Then save and test the configuration with the following command apachectl configtest you should get Syntax OK Then you ...


1

unhash -mf "*" can be used to clear all functions. Since it will wipe out the standard zsh goodness functions you will need to reload /etc/zsh/zshrc. I have the following at the beginning of my .zshrc: # Clear all functions and aliases unhash -mf "*" unhash -ma "*" . /etc/zsh/zshrc # reload standard functions and aliases


0

Adding to Ikraav's answer: After using eix -tT, remove the comparison operators and the package version number. Your File can also be written as: dev-python/ipython ~amd64 # and many lines later package-cat/package ~arch This will guarantee that you will always get the testing versions of dev-python/ipython and package-cat/package


0

Try this for virtual users to enable write access: virtual_use_local_privs=YES


0

NOTE: I'm aware that this answer applies to the Virtual Mode of RealVNC rather than the Service Mode (vncserver-x11-serviced), but I think the Virtual Mode is generally more useful anyway, and it's the only one whose resolution can be changed dynamically. It's probably a pretty similar technique to change resolution for RealVNC when it's running in Service ...



Top 50 recent answers are included