Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Bash Scripts for FreeBSD

Posted on 2002-03-26
2
Medium Priority
?
234 Views
Last Modified: 2010-04-21
Anyone know of a good resource for shell scripts?  

I'd like to get a script to use as my .profile which already has some of the stuff I'd like (paths, prompts, etc.), and then further tweak it with stuff specific to my system.
0
Comment
Question by:Zoplax
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 4

Accepted Solution

by:
IainHere earned 200 total points
ID: 6897001
I don't think I understand the question.  Are you only looking for a sample .profile?  Well, there is one here

http://www.utstat.toronto.edu/utstat/sample.profile

it is not specific to FreeBSD, but bsh is bsh is bsh.  The reason I think I might be missing a trick is that there should be a default .profile, copied from /etc/profile (I think), every time you add a new user.  Anything on top of that would be specific to your machine and user, which is why it is not included in the default one.

A shell script is not the same thing as a login script.  Login scripts set preferences, shell scripts are treated like programs.  You can put scripting into your profile, but it is not usually done.  

Examples of shell scripts: http://www.mcsr.olemiss.edu/unixhelp/scrpt/scrpt2.x.html
0
 
LVL 6

Author Comment

by:Zoplax
ID: 6897135
Thanks; that example will work well as a starting point for my .profile.
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you ever been frustrated by having to click seven times in order to retrieve a small bit of information from the web, always the same seven clicks, scrolling down and down until you reach your target? When you know the benefits of the command l…
The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
Suggested Courses

715 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question