Alternative to the rm Command in Linux

Posted on May 02, 2019 in OS • Tagged with Linux, Shell, rm, Trash, mv

Things under legendu.net/outdated are outdated technologies that the author does not plan to update any more. Please look for better alternatives.

** Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement! **

As is know to all, it can be …


Continue reading

Programming in Shell

Posted on Oct 22, 2020 in Computer Science • Tagged with Computer Science, Shell, Bash, programming, script

Things under legendu.net/outdated are outdated technologies that the author does not plan to update any more. Please look for better alternatives.


Batch File Renaming Using "rename"

Posted on May 12, 2016 in OS • Tagged with Linux, rename, shell, tip

Things under legendu.net/outdated are outdated technologies that the author does not plan to update any more. Please look for better alternatives.

** Things under legendu.net/outdated are outdated technologies that the author does not plan to update any more. Please look for better alternatives. **

It is suggested that …


Continue reading

Environment Variables in Shell

Posted on Jun 24, 2020 in Computer Science • Tagged with Computer Science, shell, bash, environment variable, export, unset

Things under legendu.net/outdated are outdated technologies that the author does not plan to update any more. Please look for better alternatives.

Fish Shell is preferred to Bash/Zsh. The following content is for Bash/Zsh only.

export

A new child process forked from a parent process does not inherit parent's variables by default. The export command marks an environment variable to be exported with any newly forked child processes and thus it allows a child process to inherit all marked variables.


Continue reading

Bash Programming

Posted on Jun 23, 2020 in Computer Science • Tagged with Computer Science, bash, programming, shell

Things under legendu.net/outdated are outdated technologies that the author does not plan to update any more. Please look for better alternatives.

Fish Shell is preferred to Bash/Zsh. The following content is for Bash/Zsh only.

Environment Variables

export

unset

Tips and Traps

  1. explainshell.com is a great place for learning shell.

  2. Bash-it/bash-it is a great community driven Bash framework.


Continue reading

Parse Arguments in Bash

Posted on Jun 16, 2020 in Computer Science • Tagged with Computer Science, shell, bash, parse, argument, parameter

Things under legendu.net/outdated are outdated technologies that the author does not plan to update any more. Please look for better alternatives.

Fish Shell is preferred to Bash/Zsh. The following content is for Bash/Zsh only.