rern / tips_bash

Bash tips

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bash Tips

Terminal login load script
add *.sh with chomd +x to /etc/profile.d/

  • the same as . / source command ( . *.sh )
  • all functions in *.sh can be run as bash commands
  • all variables in *.sh can be called in shell

Terminal banner
display banner on login from /etc/motd

About

Bash tips


Languages

Language:Shell 100.0%