2020-04-28, 15:46, Erik Auerswald:
You could consider using an alias, e.g.:

   alias ddusb "dd bs=4096 conv=fsync"

You could add this to your shell startup files, e.g., the ~/.bashrc file. Some GNU/Linux distributions read the file ~/.bash_aliases if it exists, with the intent to place alias definitions there.

This is a good suggestion. I would like to add, however, that an alias (or function) in $BASH_ENV instead of ~/.bashrc has an added benefit of being available for other programs when the shell is not interactive (as with vim's command line, for example).

Reply via email to