The tag has no wiki summary.

learn more… | top users | synonyms

6
votes
4answers
226 views

Frequently accessed files and I/O usage

I'm curious, from a performance standpoint, is there an advantage in storing all files in one directory versus having each file in a separate directory? I'm not concerned about organization. Also, ...
0
votes
2answers
1k views

Hosts file entry directed to a directory on localhost

I have a directory setup with a nice error message at http://localhost/blocked/. I'd like to direct entries in my hosts relating to sites I've blocked to that instead of just 127.0.0.1. ...
2
votes
3answers
2k views

Unix Linux directory compare

I have a known good directory structure that I'd like to compare owner/group and permissions against another server and flag any files/folders that need to be changed. Since I wont have access to both ...
1
vote
4answers
110 views

How can I see the permissions of a directory with `ls`?

I want to see similar output like: ls -l /etc/php5/php.ini Which would give me: -rw-r--r-- 1 root root 40344 Jun 14 14:33 /etc/php5/php.ini Except the file in question is a directory, and doing ...
0
votes
1answer
131 views

IIS / Virtual Directory authentication

I have an IIS(v6)/Windows 2003/.Net 3.5(app code, libraries etc.) server hosting a website at www.mywebsite.com mapped to E:\Inetpub\wwwroot\mywebsite, we also have a virtual directory (VirtDir) ...
1
vote
2answers
169 views

Same index for all (sub-)directories?

I was wondering if it was possible to write some .htaccess page that makes the server use an index.php file in a SINGLE directory as the index file for every directory/sub-directory on my server, ...
4
votes
2answers
1k views

How to create union of two directories?

In case of unix/linux, is there a way to create union of two directories without copying or linking manually everything to a single directory?
0
votes
2answers
2k views

How to add another application to apache?

I was following the Zabbix installation tutorial for Ubuntu and it requested that I added a file /etc/apache2/sites-enabled/000-default containing Alias /zabbix /home/zabbix/public_html/ ...
0
votes
1answer
249 views

Webserver directory index: index.xml?

I am making my first RSS-Feed, and I want to host it like this: www.example.com/rss/ I tried to name the xml-file "index.xml" and place it inside the directory, however, when I type ...
4
votes
1answer
458 views

Delete a directory with pipe (|) in its name?

Without booting to Linux, how do you delete a directory that was created in Linux on an NTFS partition that contains a pipe in the file name? For example: ...
2
votes
1answer
385 views

How can I sort ls -l /dev by type and major and minor device number?

How can I sort the /dev directory by type and major and minor device number when doing ls -l? The best way I've found so far is: ls -l /dev | sort -k 1.1,1.2 -k 5n -k 6n | less Is there a better ...
0
votes
2answers
141 views

how to add contact to DL

any one can help me to add a contact to Distributin list in Active directory.
5
votes
1answer
4k views

How to disable apache logging when accessing certain directories?

How do I get apache to prevent http requests from being logged on a directory basis? I want to do something alike <IfModule mod_userdir.c> UserDir public_html <Directory ...
0
votes
2answers
2k views

Running two independent tomcats on one machine, instead of one tomcat with multiple instances

due to operational need following is the scenario. Two applications running on one machine, operating system is Windows 2003 standard server edition. Application A comes packaged with tomcat ...
2
votes
2answers
1k views

Where is index.html for IIS7?

I have enabled IIS7 in Windows 7. It works fine. I can see the default page from my local computer as well as from remote computer connected to the Internet. Now I would like to do something. I would ...
9
votes
2answers
4k views

What is the difference between /usr/local/bin & /usr/local/sbin

I wrote a simple script which I want to share with my colleagues. Should it be in /usr/local/bin or /usr/local/sbin? What is the typical usage for these directories?
0
votes
1answer
322 views

Determine group of unreadable unix/linux directory

dcoles1@shovel:/ $ cd /DriveXT dcoles1@shovel:/DriveXT $ ls . unreadable dcoles1@shovel:/DriveXT $ cd /DriveXT/MML/ dcoles1@shovel:/DriveXT/MML $ ls . unreadable dcoles1@shovel:/DriveXT/MML $ ...
0
votes
2answers
350 views

Hard Link for Directories in linux

Hai, How can i create hard link for my directories ? When i use to make link from /var to /home it shows error on "Invalid cross-device link", How can i over come it ?
10
votes
4answers
22k views

How can I set full premissions to a user in a specified dir?

How can I set full permissions to a user in a specified dir in linux?
0
votes
4answers
918 views

Any decent open source link/directory managers out there?

I maintain a site with a crusty old version of "Links" by Gossamer Threads. It's written in perl, gets 99.99% of its submissions from bots, and is just plain out-dated. Now, I realize that Gossamer ...
2
votes
2answers
707 views

Web front-end for directory servers (LDAP) similar to phpMySQLAdmin?

Is there some web front-end to administer LDAP servers, in a similar way as you can use phpMySQLAdmin to administer DBs?
1
vote
1answer
317 views

Get an IIS 6 ISAPI dll to ignore virtual directories

I have an IIS 6 website with an ISAPI dll to run an application. The application and ISAPI filter works well. I also have a couple of virtual directories set up to handle things like images without ...
1
vote
2answers
1k views

Fast directory delete on AIX

I have an extremely large directory (containing millions of files summing up to 150 GB) which I want to delete. Is there a faster method than using rm -rf which takes ages to complete on this ...
2
votes
2answers
2k views

Who joined a computer to a domain

Is there an easy way to determine what user account was used to join a computer to a domain?
2
votes
1answer
375 views

Limit SAMBA directory listing

Maybe this isn't possible, but I thought I'd ask anyway. I have a samba share that uses ACLs. The default group can see everything inside the share and has read/write permissions. I want to create ...
0
votes
1answer
86 views

Apache vhosts configuration for non-persistent folders

OK, the title may be a bit confuse. I have a TrueCrypt container that gets mounted as a new drive X: on my Windows machine. Now I want my local testing Apache to deliver files from there via ...
18
votes
10answers
12k views

Linux - What directories should I exclude when backing up a server?

I'm backing up a linux server and storing it on some other server. I started off with a simple rsync -aPh --del server.example.com:/ /mnt/backup Then someone pointed out that I shouldn't back up ...
2
votes
2answers
212 views

Linux directory permission problem

Why can't I access a directory that I should have access to by group? My user belongs to the group www-data, and the directory has permissions granted for this group. But I cannot access it. ...
7
votes
5answers
4k views

Can't access windows share when in security group assigned to share

I'm a bit stumpped on this one. I created a security group in AD called "special data users" and add myself to it. I then created a share on a server and give that AD security group full access to ...
1
vote
2answers
247 views

cd to a directory when its path is entered as a command (instead of “foo is a directory” error)

I hate when bash gives me "duh!" kind of error: foo$ ./bar -bash: ./bar: is a directory I used to love AmigaOS shell in which "execution" of a directory simply meant setting it as the current ...
10
votes
5answers
280 views

How do I change to the directory I just moved that file to?

So lets assume I've just done: mv ./myfile /to/some/other/place/ And I now decide I want to follow the file, and go into that directory. Whilst I could head for the mouse, select the text, type ...
6
votes
3answers
4k views

Un-tar a specific directory inside of a tar

I have the Wordpress tar, latest.tar.gz. Within it is the following structure /wordpress/dirtories/files When I do the following command I would prefer if I could have it unpack starting at ...
0
votes
4answers
249 views

Windows Server Folder Replication

I have two servers using MS NLB for IIS and this is working great. I have a D:\Websites\ directory on both servers that contain the html, css, aspx, and images etc. I would like to have the ...
2
votes
1answer
187 views

linux: directory created with Access: (0000/d---------)

On a Linux (ubuntu) machine, an automated script running as a normal user is creating a subdirectory under its home directory. For some reason, the directory is created with Access: (0000/d---------). ...
6
votes
3answers
3k views

Fast way of knowing real directory size on linux/bsd

What is the fastest way of computing real directory size? I somehow catch myself needing that a lot. Simply doing: # du -hs /dir Is too slow. Is there any service I could run which would ...
3
votes
9answers
2k views

Storing files in a directory… are there limits?

I am using CentOS 5 with Plesk 9 (64-bit), I am running a site where users will be uploading pictures. With a 64 bit os, are there any limits to how many files I can store? All I care about is ...
0
votes
1answer
591 views

how to add a virtual directory on a remote machine IIS 6

We have a build script to add a Virtual Directory to an existing website running on the same server. it works fine, is it possible to add a virtual directory to a remote machine? which the user has ...
3
votes
4answers
1k views

What is a good convention for website directory structure?

Do to some changes in personel at my company I have inherited the responsability over administering our web server. Unfortunately there does not seem to have been a standard convention used for ...
8
votes
2answers
131 views

Is there a good summary somewhere of what should go in each of the main folders in a linux install?

eg bin, sbin, proc, lib, boot, usr, etc... Is there a standard list somewhere, does it depend on the distro? This is essentially to answer the common question I have "I'm installing X or putting Y ...