The which tag has no wiki summary.
1
vote
1answer
105 views
Which device should I adjust DNS server settings on, receiver or LAN card on motherboard?
I use ATT Uverse with a 12Mbps down and stinky 1.5Mbps up. My question is as follows:
I realized remembered recently that ever since I purchased a new computer and network receiver, I never adjusted ...
2
votes
1answer
92 views
Linux: find first result from specified search path
If I have a colon-separated path list, much like $PATH, but not neccessarily $PATH.
I want to search that list for a specific file name. However, I only want the first matching path.
I have ...
3
votes
2answers
198 views
Which starts first ? BootExecute or PendingFileRenameOperations?
There are some keys in HKLM\System\CurrentControlSet\Control\Session Manager, including
BootExecute and PendingFileRenameOperations.
Which starts first ? BootExecute or PendingFileRenameOperations ???
...
1
vote
1answer
31 views
Why is which not matching the effect I get?
I cannot explain the following behavior:
[centos4x64 ~] /usr/local/bin/gmake --version
GNU Make 3.82
Built for x86_64-unknown-linux-gnu
Copyright (C) 2010 Free Software Foundation, Inc.
License ...
4
votes
1answer
524 views
“whereis” and “which” return different paths in Mac OS X
I've got the default OpenSSL 9.8 (Mac OS X 10.6.8) and decided to install the newest version (1.0.1) via MacPorts (sudo port install openssl).
These are console output of which and whereis commands:
...
3
votes
2answers
215 views
How can I “which <binary>” in cmd.exe
Is there a way to quickly determine where a binary (that the %PATH% variable points to) is located.
That is something that would do the equivalent of which perl in a traditional unix shell.
I ...
1
vote
2answers
127 views
“which” Program Requires Shell Refresh to See Newly Installed Programs?
Why does the Linux program which require you to refresh the shell (e.g. type tcsh in the terminal) to see new programs installed in your path??
I was baffled why I couldn't access a program, which ...
2
votes
3answers
279 views
How do I change the default version of a unix executable?
I currently have two versions of the same executable installed on my OSX machine: one sits in usr/bin, and the other is a Macports installation. When I run which, the terminal returns the location to ...
4
votes
2answers
37 views
Bash path acting oddly
I am trying to run openscad from the command line and it throws an error, but if I type out the whole path reported by which it seems to work as shown below.
[dataproc@Euclid ~]$ which openscad
...
6
votes
4answers
1k views
in Windows command line: How to know the path of a command?
I have some program in many places (it is the java command)..
I am starting this command from CMD. the problem is, I need to know exactly the path of the java command being run..
(If you know unix, I ...
1
vote
1answer
515 views
'which' equivalent in Windows [duplicate]
Possible Duplicate:
Windows equivalent of whereis?
For Linux/Mac I can use which to locate the file. What would be the equivalent to this command line tool of which?
0
votes
4answers
332 views
“which” for Windows [duplicate]
Possible Duplicate:
Windows equivalent of whereis?
I'm used to saying "which foo" on Unix systems to see what's going to run.
Today I'm having trouble with a program on Windows, and I ...
2
votes
1answer
238 views
Accurate Windows equivalent of the Unix which(1) command [duplicate]
Possible Duplicate:
Windows equivalent of whereis?
It's easy enough to write a simple script that works like the which(1) command from unix, which searches for a given command along the ...
2
votes
6answers
1k views
(Unix/Linux) How to execute different commands with same name?
I have a two seperate files on my computer,
which execfile
/usr/local/bin/
/usr/bin/
so, i have two files with the same name in two different directories. How can I specify exactly which command ...
1
vote
3answers
366 views
The 'which' command returns nothing via cron, but works via console
I've written a little utility in haXe + Neko that needs to execute some GIT commands. To avoid hardcoding the path to the GIT executable I'd like to use the which command to find out where it is. ...
7
votes
3answers
502 views
`which python` points to the python I want, but `python` runs the wrong version
I want to use python24 provided by ports, so I've installed it, and python_select -s shows that the version I want is indeed selected. Running which python gives /opt/local/bin/python, and running ...
8
votes
4answers
3k views
3
votes
4answers
3k views
Powershell equivalent to unix `which` command?
Does powershell have an equivalent to the which command found in most (if not all) unix shells?
There are a number of times I'd like to know the location of something I'm running from the command ...