I am sourcing a file under tcsh. This file could be anywhere on the filesystem. How can I retrieve the path of my sourced file ?
$0 won't work : I don't execute the file, I source it.
Many thanks !
I have just installed fedora 12 linux on my dell Gx2600 pc
every so often the pc hangs - screen goes blank & usb keyboard stops working.
Question:
is there a place were the kernel logs problems before it hangs
if so how do i access it.
Are there any legal paths in POSIX that cannot be associated with a file, regular or irregular? That is, for which test -e "$LEGITIMATEPOSIXPATHNAME" cannot succeed?
Clarification #1: pathnames
By "legal paths in POSIX", I mean ones that POSIX says are allowed, not ones that POSIX doesn't explicitly forbid. I've looked this up, and the are…
Server 2003 Remote Desktop provides service to stores served by several ISPs. The server loses its virtual printer image of the local printer (as seen from the remote store site) and a copy of the original local printer appears on the local computer with a different driver without notice.
Specifically:
A remote desktop session is opened on a…
I need to quickly send messages with a little variation in IRC (ie, irc commands).
On windows/mirc, I can just click up and the chat input will fill with my previous message.
I'm currently using Adium, but it doesn't have this basic feature? Does anyone know how I can get this, or perhaps suggest a different client.
Thanks.
So I've stumbled across PacketFence during my search for a decent Network Access Control system. After doing a little research about it's capabilities I've come to realize it's meets all the requirements that I was looking for. Unfortunately, being primarily a MS Administrator, I'm having many issues trying to successfully getting it up and…
I have a SWF file that basically shows a streamer, and it plays a song (I'm guessing it's MP3) that it links to, somewhere. I know the audio isn't embedded in the file since the SWF's file size is ~370KB.
With most flash FLV and MP3 players, Internet Download Manager catches the URL as soon as the video/audio starts to load, and I can…
In /etc/apache2/httpd.conf, I have remove the line of Include mod_status and add the following to the last line,
LoadModule status_module /usr/lib/apache2/mod_status.so
ExtendedStatus On
<Location /server-status>
SetHandler server-status
AllowOverride None
Order Deny,Allow
Deny from all
Allow from all
</Location>
Then I…
I'm relatively new to Vimperator and have started adding preferences to my .vimperatorrc file. Is there a way of reloading this file without having to restart Firefox?
I have a Windows Server 2003 system on which passwordless access to local UNC paths is possible using the server's unqualified hostname or its IP address, but not via its FQDN -- even when the hosts file is used to map that FQDN directly to 127.0.0.1.
That is:
\\127.0.0.1\ - passwordless
\\myhost\ - passwordless…
According to the man page for launchctl (emphasis mine):
-w Overrides the Disabled key and sets it to false. In previous versions, this option would modify the configuration file. Now the state of the Disabled key is stored elsewhere on-disk.
Because the current state of the…
I am trying to add additional automation to our existing RHEL 6 (or Oralce's implementation thereof) PXE install process by running a script in the %pre section of my kickstart config that call hpacucli, HP's raid device configuration binary.
My approach has been to modify the PXE served initrd.img. I've unpacked…
I recently formatted and installed my iMac. I am running 10.6.5. Prior to this format, I had the default Apache web server up and running with several virtual hosts, and everything ran beautifully. After formatting, I set everything back up again, and now Apache is acting funny. Here is a description of what I have…
We are having a performance issue that we cannot explain with our VMWare environment and I am hoping someone here may be able to help. We have a web application that uses a databases backend. We have an SQL 2005 Cluster setup on Windows 2003 R2 between a physical node and a virtual node. Both physical servers are…
I am currently looking for a new hosting company for my business. We are a design and development company and have been recommending WestHost to our clients for the last several years. However due to some changes they have implemented in the last year, we have decided to start referring people elsewhere.
Most…
I'm trying to configure IPv6 on a dedicated Ubuntu server. My provider gave me a "/64" (whatever that is - I'm still confused) of IPv6 addresses.
However, when I try to use them, I can't ping anything. What do I do? :(
# ping6 ipv6.google.com
PING ipv6.google.com(vx-in-x63.1e100.net) 56 data bytes
…
Ordered a PC from HP with Windows 7 Professional 64-bit preinstalled, of course. No Win7 disc was included with computer. There are no games installed. I have tried to "activate" them through the Control Panel procedure, but each time I do it there is an error message telling me that not all components…
Our company has two locations and each location has a Windows Server 2003 machine as the DC and several servers, running on two different sub-nets. We are consolidating the locations. I changed the IP address on one of the web servers prior to moving to the main location. I didn't change the IP…
I am looking for a Windows utility that can copy the currently selected filename, including the path, to the clipboard, ideally through the right-click menu.
Some degree of flexibility would be useful, like the ability to copy just the filename, path+filename, filename minus extension, etc. This…
When SQL Server Books online says that "Shared (S) locks on a resource are released as soon as the read operation completes, unless the transaction isolation level is set to repeatable read or higher, or a locking hint is used to retain the shared (S) locks for the duration of the transaction."
…
A friend has run into a problem where they installed Windows 7 from an external drive, and the internal boot drive is now assigned to H:. Theoretically this shouldn't cause problems because there are programming interfaces for getting the drive letter for the system drive. In practice though,…
OK... I solved it.
It is because I have not configured the httpd.conf to allow the centos listen port 80 and 8080.
Listen 80
Listen 8080
I have setup the myphpadmin on my CentOS 6.4 recently. I can access and login to the myphpadmin on my localhost. However, when I type…