Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Why we have #1/bin/csh - f at the beginning of UNIX script?

Status
Not open for further replies.

sun_ray

Advanced Member level 3
Joined
Oct 3, 2011
Messages
772
Helped
5
Reputation
10
Reaction score
5
Trophy points
1,298
Activity points
6,828
Why in a UNIX script at the beginning the following line is specified?

#!/bin/csh -f

Regards
 

Re: Beginnning of UNIX script

That line normally tells the machine what shell to use for the script, see here. I don't know what the -f switch does.
 

Re: Beginnning of UNIX script

-f is not a right option
-f The shell will start faster, because it will neither search for
nor execute commands from the file .cshrc in the invoker's home
directory. Note: if the environment variable HOME is not set,
fast startup is the default.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top