Hot answers tagged

3

httpd has a list of files to try to display when you give a URL that points to a directory, which can be configured with the DirectoryIndex directive. (Its default value is just index.html, so if you renamed your file1.html to index.html, it would also show immediately.) The listing that you see is generated by mod_autoindex; but if you disable it and don't ...


2

It depends on the application, and thus may vary from "ha ha ha, no." to possibly "yes" though given the infinite variety of errors that can be introduced, and the specific needs of the thing being configured, it is more likely that buggy undesirable input will be generated than the error caught by a validator (and then there's syntactically correct but ...


1

Try Section 4.5 of the Debian Kernel Handbook: "Building a custom kernel from Debian kernel source". To quote from that section The easiest way to build a custom kernel (the kernel with the configuration different from the one used in the official packages) from the Debian kernel source is to use the linux-source package and the make deb-pkg target. ...


1

The tool that creates that report is called bashbug and it's part of bash package. See man bashbug for more details.


1

When you supply an xorg.conf file, this is the complete configuration. You can't just add one option, you have to supply all mandatory parts, including declaring the input and output peripherals. It's common for programs to start with sensible options and allow them to be overridden by a configuration file, but in the case of Xorg, supplying a configuration ...


1

You can do the task by sed directly, for example: sed '/^\[global\]/a\my new line' /etc/samba/smb.conf NOTE: This is not a solution because such line can be in config already. So firstly you should to test whether is the line present.


1

As seen in man mpv: --sub-auto=<no|exact|fuzzy|all>, --no-sub-auto Load additional subtitle files matching the video filename. The parameter specifies how external subtitle files are matched. exact is enabled by default. no Don't automatically load external subtitle files. exact Load the ...


1

A vertical wibox is possible, I used one with 3.0 since years and had to recreate setup with 3.5. Based on this mailing list discussion, here a short example with widgets re-ordered for my own needs, including margins to introduce spacing between widgets: -- Create the wibox mywibox[s] = awful.wibox({ position="left",orientation="north", screen = s }) -- ...


1

Not a direct answer to your question. But grep has an option to ignore all binary files including *.pyc. The option is -I grep -rI hello .


1

Put your long running session inside screen See screen -h for details That way you can reconnect to the machine using ssh and reattach to the screen session



Only top voted, non community-wiki answers of a minimum length are eligible