Solved

Csh Directories

Posted on 2004-08-22
1
273 Views
Last Modified: 2010-04-21
c) I'm try to work in the csh shell, and would like to add a directory called newscripts to my path. What steps should I take to do so.  
0
Comment
Question by:aahlawat
1 Comment
 
LVL 38

Accepted Solution

by:
yuzh earned 125 total points
ID: 11866632
you need to do:

 set path=($path /path-to/newscripts)

eg , if dir newscripts is sitting under /home/aahlawat then you do:
 set path=($path /home/aahlawat/newscripts)

If you put it in .cshrc file under your home dir, it will automaticall set it for you
when you login.
0

Featured Post

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

Suggested Solutions

Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

831 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