Linux is the most commonly used operating system on servers, with approximately 80% of all servers running some variation of Linux. Windows is used on about 20% of servers.
/etc
~/.bash_profile
file, you may need to execute the following command to re-compile the new environment:
shell> source ~/.bash_profile
An example of ~/.bash_profile
file can be found from here.
Some startup files are
/bin/bash
, which is the bash executable,
/etc/profile
, which is the systemwide initialization file, executed for login shells,
~/.bash_profile
, which is the personal initialization file, executed for login shells,
~/.bashrc
, which is the individual per-interactive-shell startup file,
~/.bash_logout
, which is the individual login shell cleanup file, executed when a login shell exits,
~/.inputrc
, which is the individual readline initialization file.
In every circle of friends there’s always that one person everyone secretly hates. Don’t have one? Then it’s probably you. |