The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
0answers
7 views

Is it possible to configure Linux OpenMPI v1.6.5 to use multiple working directories on a single node?

I am running some quantum chemical calculations on a refurbished PowerEdge rack server, with dual quad-core Xeons, 16GB RAM, and a single 500GB SATA HDD. OS is vanilla Debian Wheezy. For one of the ...
1
vote
1answer
40 views

How to count the number of times a file/directory has been opened?

I'm trying to find the number of times a file has been opened (since the OS inception). I'm thinking of doing this via stat, but most flags only return the difference between the LAST time it was ...
0
votes
2answers
31 views

Management of directories and subrutines

From the current directory %CD%, I need to go inside a subfolder and execute a subrutineA, then go back to the %CD% directory and go to the next subfolder and execute the same subrutineA, this process ...
0
votes
0answers
259 views

Getting a setting, the chdir value, out of GNU Screen

I've been using screen's chdir command to set a new working directory for new screen windows, more on that later. What I need to do is find out what the setting was before I set it, so that I can set ...
6
votes
1answer
3k views

Start bash shell (cygwin) with correct path without changing directory

I need to run a cygwin shell script without changing the working directory, from outside the cygwin environment. If I run just \path\to\bash.exe -c command, then the path is not set correctly and ...
0
votes
1answer
1k views

Setting CMD CD to the directory that the batch was run in

I'm trying to create a batch script that will open a program in a different environment (so I can make a portable version of it). I use this set APPDATA=%CD%\data to tell it to do that. The problem ...
6
votes
6answers
6k views

Temporarily change directory for single batch-file command

In shell-scripting if I need to run a command from a directory I can us a subshell to ensure I return to the original context: (cd temporary/new/directory ; command) # now I am still in original ...
2
votes
5answers
954 views

Changing working directory of parent script from 'sourced' script

I want to change working directory of my script by another script that has been included. First script: #!/bin/bash pwd source script2 pwd Sedond script: cd .. pwd The result is following: ...
1
vote
2answers
1k views

Using screenrc, how can I make `C-a c` open a new window at the current window's working directory?

Using screenrc, how can I make C-a c open a new window at the current window's working directory? By default it appears to open the new window at the working directory at the time the original screen ...
2
votes
1answer
3k views

git: get current working dir

How I can get current working dir from console using git? something like: if I'm in: ~/projects/someproject/somesubfolder/, the console command should say /home/va1en0k/someproject/ (if there is a ...
1
vote
1answer
1k views

How to open a new terminal tab in Mac OS X with working directory same as the current terminal tab [duplicate]

Possible Duplicate: OS X Terminal.app: how to start a new tab in the same directory as the current tab? This is the default behavior in Ubuntu: when you open an new tab in a terminal, the ...
2
votes
2answers
763 views

How to get tty shell working directory?

Is it possible to get working directory of any of my tty shells? So\ get working directory of any shell in /dev/ttys??? belonging to me. I use OS X.