Tag Info

Hot 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 ...


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 ...


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



Only top voted, non community-wiki answers of a minimum length are eligible