Locand – AND Search with Locate

Table of Contents Locand – AND Search with Locate Example Alias Source Locand – AND Search with Locate Search for files whose names contain all search terms. Requires locate so only works on Linux and other POSIX systems. Tested with … Continue reading

Posted in Old Site | Tagged , , , , , , | Comments Off on Locand – AND Search with Locate

Per User bin/

Per User bin/ Run your shell scripts just like any other command, without writing ./command. This article is a work in progress. $ mkdir $HOME/bin/ $ nano .bashrc Add as the last line PATH=$PATH:$HOME/bin To use, close and open shell. … Continue reading

Posted in Old Site | Tagged , , , , , | Comments Off on Per User bin/

Shell Scripting

Table of Contents Shell Scripting Hello world – lspwd See also Shell Scripting Shell scripting automates repeating actions. It is reliable, used in server startup scripts in Linux. It is fast to use, simply write the same commands as you … Continue reading

Posted in Old Site | Tagged , , , | 3 Comments

aboutusers

  #!/bin/bash # aboutusers – print information about human users # (Actually a bash shell scripting example program) # (c) 2006-03-06 Tero Karvinen www.iki.fi/karvinen # GNU General Public License version 2   for DIR in /home/* do USER=$(basename $DIR); echo … Continue reading

Posted in Old Site | Tagged , , , | 1 Comment