Hello Neo,
As there were 20.000 files inside each directory I have not shared the full list.
Now, I have found the problem.
When I need to list html files, I was typing like ls *.html which was giving the result _index.html
I see now that there is a file named index.html.ts which is causing the issue.
Thank you
Boris
There ya go.....
You could have also posted:
.... since there are (way too many) 20K files in a directory (to post them all).
Well, glad you understood what I was trying to show you and you sorted it all out.
Hiiii,
I have written a script which takes backup of some log files.
let say the backuplocation is ---
/abc/backuplocation
-rw-r--r-- 1 webmut2 spgroup 0 Jan 27 02:41 ansrpt23994.log
-rw-r--r-- 1 webmut2 spgroup 0 Jan 27 02:41 ansrpt3601.log
-rw-r--r-- 1... (2 Replies)
hey,
i need to use grep to search a bunch of header files inside a directory to return which file i can find the function i'm searching for in. how do i use wild cards to search through the files? i can only figure out how to search inside the directory, not inside the files that are in the... (4 Replies)
I have a directory (and many sub dirs beneath) on AIX system, containing thousands of file. I'm looking to get a list of all directory containing "*.pdf" file.
I know basic syntax of find command, but it gives me list of all pdf files, which numbers in thousands. All I need to know is, which... (4 Replies)
Hi All,
The following find command lists the files which are 45 minutes older. But it searches for the sub directories also.
$ find . -type f -mmin +45 -print
./hello.txt
./test/hi.txt
./temp/now.txt
ls
hello.txt test temp
How can i modify the find command in such way that it finds... (4 Replies)
Hello folks
I hope every one is fine. I need to ask one question.
I have directory
/xx/abcd/data/
inside that data there are files like
11.txt
23.txt
12.txt
*.txt
i want that i will do compress each txt file inside that directory /xx/abcd/data/.
But it will not gzip data... (1 Reply)
Hi,
Im facing a problem that im stucked,
I have the following structure:
thales@pereirtc-vbox:/home/VfARM$ ls
code config doc lib manifest.bak manifest.rel manifest.v3 ns pub
if i try to execute zip -q -o arm.zip VfARM/* it will create a zip file with the folder VfARM.... (2 Replies)
Assume I want to remove a whole directory tree beginning with /foo/bar/
The directory or sub-directories may contain files.
The top directory /foo/bar/ itself should not be deleted.
rm -f- r /foo/bar
does not work because it requires a directory tree without files.
How does it work... (3 Replies)
Hi,
I have used the command
cat * | grep -r <<String>> *
It returns:
cat : JAN : is directory
***********************
*********************
My directory structure:
log
- JAN
-catalina.out
-FEB
-catalina.out
-MARCH
... (11 Replies)
Hii,
Could someone help me to append string to the starting of all the filenames inside a directory but it should exclude .zip files and subdirectories.
Eg.
file1: test1.log
file2: test2.log
file3 test.zip
After running the script
file1: string_test1.log
file2: string_test2.log
file3:... (4 Replies)
Discussion started by: Ravi Kishore
4 Replies
LEARN ABOUT LINUX
a2dismod
A2ENMOD(8) System Manager's Manual A2ENMOD(8)NAME
a2enmod, a2dismod - enable or disable an apache2 module
SYNOPSIS
a2enmod [ [-q|--quiet] module]
a2dismod [ [-q|--quiet] module]
DESCRIPTION
This manual page documents briefly the a2enmod and a2dismod commands.
a2enmod is a script that enables the specified module within the apache2 configuration. It does this by creating symlinks within
/etc/apache2/mods-enabled. Likewise, a2dismod disables a module by removing those symlinks. It is not an error to enable a module which
is already enabled, or to disable one which is already disabled.
Note that many modules have, in addition to a .load file, an associated .conf file. Enabling the module puts the configuration directives
in the .conf file as directives into the main server context of apache2.
OPTIONS -q, --quiet
Don't show informative messages.
-m, --maintmode
Enables the maintainer mode, that is the program invocation is effectuated automatically by a maintainer script. This switch should
not be used by end users.
-p, --purge
When disabling a module, purge all traces of the module in the internal state data base.
EXIT STATUS
a2enmod and a2dismod exit with status 0 if all modules are processed successfully, 1 if errors occur, 2 if an invalid option was used.
EXAMPLES
a2enmod imagemap
a2dismod mime_magic
Enables the mod_imagemap module, and disables the mod_mime_magic module.
FILES
/etc/apache2/mods-available
Directory with files giving information on available modules.
/etc/apache2/mods-enabled
Directory with links to the files in mods-available for enabled modules.
SEE ALSO apache2ctl(8), a2enconf(8), a2disconf(8).
AUTHOR
This manual page was written by Daniel Stone <daniel@sfarc.net> for the Debian GNU/Linux distribution, as it is a Debian-specific script
with the package.
12 October 2006 A2ENMOD(8)