Mind Flow Productions

Systems & Productivity

Create an alias for grepping history

alias gh=’history | grep ‘

gh cat
gh mkvirt
gh pip

To create a symlink:

ln -s /path/to/file /path/to/symlink

To redefine the target:

ln -fs /path/to/file2 /path/to/symlink

in the directory where the symlink is, type this to see the change:

ls -l symlink

To remove a symlink use rm or sudo rm

  devops