Skip to content

Collections of shell aliases and functions, primarily designed for zsh and bash

License

Notifications You must be signed in to change notification settings

keuv-grvl/.shellutils.d

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

~/.shellutils.d/

Collection of shell aliases and functions.

Usage

Installation

cd $HOME/
git clone https://github.com/keuv-grvl/.shellutils.d.git

Then add the following to you .bashrc, .zshrc or .your_shellrc:

for F in $(ls $HOME/.shellutils.d/*.sh); do
  source $F
done;

Update

cd $HOME/.shellutils.d/
git pull
source ~/.$(cat /proc/$$/comm)rc

Features

Aliases

Alias Desc
l list files
la list files, including hidden ones
ll list files with details
lla list files with details, including hidden ones
clip CMD | clip put the output of cmd in the clipboard
cleantilde Delete cache files from Gedit
dl Download the given URL
htopu htop for the current user only
please sudo
plz sudo

Functions

Command Description
ret Get return code of last command
load Print load
memu Print memory usage
disku (<FOLDER>) Print disk usage (default: $HOME)
maxproc Print max number of "free" CPU
mkcd <FOLDER> Make a directory a move into it
cdmem Move to /dev/shm/$USER/
dl <URL> Download a file from its URL
extract <ARCHIVE> Extract any archive
hashall <FILES> Compute and store MD5 hash for a list of file
checkall <*.md5> Check multiple MD5 hash
pingssh Ping SSH servers from you $HOME/.ssh/config file
md2pdf <FILE.md Convert Markdown to PDF using pandoc
gpuload Print GPU usage for NVidia graphic cards
beep Play a sound (see beep list)

About

Collections of shell aliases and functions, primarily designed for zsh and bash

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages