0
votes
2answers
46 views

Is CDPATH behavior broken in bourne shell (/bin/sh)

I have the following script: #!/bin/sh mkdir -p /tmp/test/foo cd /tmp/test unset CDPATH echo "TEST1: Current working directory: ${PWD}" echo "TEST1: attempting to 'cd foo'" cd foo echo "TEST1: ...
3
votes
1answer
66 views

Getting capabilities of my CD/DVD drive when wodim --devices doesn't work

I used to be able to run either commands successfully on my Fedora 14 Thinkpad T410 laptop: $ wodim --scanbus $ wodim --devices However since upgrading to Fedora 19 this no longer seems to work and ...
1
vote
1answer
48 views

How to autocd in tcsh?

I want to change directory without using cd, I want to access the directory by its name $home/user/tools $cd tools //works fine $tools //permission denied I tried set autocd but still the same?
6
votes
2answers
382 views

Run a script automatically as I switch to a directory [duplicate]

Possible Duplicate: Execute bash scripts on entering a directory I am running an environment which requires some very specific tool versions. The commands to set up the environment are in a ...
3
votes
5answers
901 views

Directory is not opening with cd command

I have a directory in Desktop named Project. I tried opening it using the cd command but it is not opening. What's the reason? Check the screenshot. The directory has all the required permissions. I ...
13
votes
6answers
7k views

Execute a specific command in a given directory without cd'ing to it?

Is there a way to execute a command in a different directory without having to cd to it? I know that I could simply cd in and cd out, but I'm just interested in the possibilities of forgoing the extra ...