.cshrc
This is the shell configuration file for the C-shell which is the BSD default. One of the first things people do is to change the command line prompt to show the directory name of where you are currently located at.
% set prompt = '# %/ >'
Now your prompt looks like this:
# /usr >
This way you all ways know where you are in the system directory tree.
Contents |
Prompts
Modifying your prompt can make your work experience more productive. Here are some common variables for customizing your C-Shell prompt:
- %/ - The current working directory shown as /home/user/
- %~ - The current working directory with your own home directory shown as "~" and other users shown as "~user"
- %m - The machine's hostname up until the first . (Ex: freebsd.yourdomain.com would show up as simply "freebsd")
- %n - Displays the username you are logged on as
- %M - The machine's full hostname (Ex: freebsd.yourdomain.com)
- %t - Shows the time in 12 hour format (Ex: 4:04pm)
- %T - Shows the time in 24 hour format (Ex: 16:04)
- %p - Shows the "precise" time of day in 12 hour format (Ex: 4:04:01)
- %P - Shows the "precise" time of day in 24 hour format (Ex: 16:04:01)
To experiment with various prompts, use the command set prompt. Here is an example:
% set prompt='[%t][%n@%m:%~]% '
Now your prompt looks like this:
[4:04pm][mixx941@freebsd:~]%
To make these changes permanent, you can add the "set prompt" line above into your .cshrc file. If you wish to make them global for all accounts, add that line into /etc/csh.cshrc
Three Qualifications for the New Politician
There are plenty of politicians who genuinely desire to serve their communities and nations with humility and integrity, dedicating their lives to the cultivation of a wisdom that will benefit society at large; sadly, they are a minority.
[Three Qualifications for the New Politician]
[GoodvilleNews.com - good, positive news, inspirational stories, articles]
Simple Ways Of Dealing With Conflict
Being in control of your life and having realistic expectations about your day-to-day challenges are the keys to stress management, which is perhaps the most important ingredient to living a happy, healthy and rewarding life.
[Simple Ways Of Dealing With Conflict]
[GoodvilleNews.com - good, positive news, inspirational stories, articles]
Researchers Nurture Innovative Biofuel Crops in Israels Desert
Fears of global warming and its impact on our environment have left scientists scrambling to decrease levels of atmospheric carbon we humans produce. Now, Tel Aviv University researchers are doing their part to reduce humanitys carbon footprint by successfully growing forests in the most unlikely place deep in Israels Aravah Desert.
[Researchers Nurture Innovative Biofuel Crops in Israels Desert]
[GoodvilleNews.com - good, positive news, inspirational stories, articles]
10 Tips Designed to Keep You on Your Toes
Life is best enjoyed when time periods are evenly divided between labor, sleep, and recreationall people should spend one-third of their time in recreation which is rebuilding, voluntary activity, never idleness. ~ Brigham Young
[10 Tips Designed to Keep You on Your Toes]
[GoodvilleNews.com - good, positive news, inspirational stories, articles]
Research Reveals Largest Ancient Dam Built by Maya Civilization
Recent excavations, sediment coring and mapping by a multi-university team led by the University of Cincinnati at the pre-Columbian city of Tikal, a paramount urban center of the ancient Maya, have identified new landscaping and engineering feats, including the largest ancient dam built by the Maya of Central America.
[Research Reveals Largest Ancient Dam Built by Maya Civilization]
[GoodvilleNews.com - good, positive news, inspirational stories, articles]