Aliases and local variables: Revision history

Jump to navigation Jump to search

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

2 December 2024

  • curprev 16:4316:43, 2 December 2024Honfi001 talk contribs 841 bytes +72 No edit summary
  • curprev 16:3516:35, 2 December 2024Honfi001 talk contribs 769 bytes +769 Created page with " * motivation for aliases and variables * ===Example ~/.bash_aliases=== ‎<pre> #!/bin/bash #Define editor editor='nano' #or vim # Bash files commands alias ebc="${editor} ${HOME}/.bashrc" alias sbc="source ${HOME}/.bashrc" alias eba="${editor} ${HOME}/.bash_aliases" alias sba="source ${HOME}/.bash_aliases" # ls aliases alias ll="ls -alth" alias sl='ls' #location variables export mySCRATCH=/lustre/scratch/GUESTS/$USER export myBKP=/lustre/backup/GUESTS/$USER expor..."