Questions tagged [options]

43 questions
1
vote
1 answer

Bash getops: allow, but not require arg

I'm writing a bash script, parsing options with getopts like this: #!/bin/bash while getopts ab: ; do case $opt in a) AOPT=1 ;; b) BOPT=$OPTARG ;; esac done I'd like to have…
Frank Brenner
  • 175
  • 5
  • 11
1
vote
1 answer

What does the -P option do to mount?

I'm migrating from an archaic version of Red Hat to Ubuntu 9. When going through my old nfs mount script, I found that it contained the -P option. So my script looks like: sudo mount -t nfs -o -P ... It looks like the -P is one of the -o options. …
Simon
  • 125
  • 7
0
votes
1 answer

Linux: "fstab" with additional mount options?

I'm using "GlusterFS" Client, to mount the GlusterFS Volume on my Web Server. Below is the MOUNT command when i manually mount from commandline: # mount -t glusterfs -o aux-gfid-mount gluster1:/gv0 /var/www/html I don't know how to put that -o…
夏期劇場
  • 455
  • 2
  • 5
  • 18
0
votes
0 answers

How to restore with Duplicty if Temp space has 0 available?

Normally this command works properly for restoring: duplicity restore -t7D --file-to-restore folder/to_restore file:///where/is/the_backup/ /where_to_restore --no-encrypt But today I am having this error: Temp space has 0 available, where_to_restore…
0
votes
1 answer

service mysql restart with default options

I have Ubuntu 14.04 with MariaDB Galera cluster installed. My cluster has just one node now, so I restart the mysql service using: sudo service mysql restart --wsrep-new-cluster How can I set this option to be added automatically when a program…
0
votes
0 answers

Kernel config options explained

Can anyone explain what the following options from my centos 5.9 box…
Alex
  • 1
0
votes
1 answer

Windows Server 2008 r2

I am using VMware ESX 3.5. I installed my first Win Server 2008 R2. I could select which version to install (Full Installation or Server Core) Now when I am installing a new copy, it is not prompting to select a version. I wanted to select "Server…
Roland
0
votes
1 answer

Office 2010 Privacy Options Automation

How can I remotely disable all of the Privacy Options within the Microsoft Office Trust Center?
Bugat
  • 59
  • 1
  • 2
  • 6
0
votes
1 answer

OPTIONS request vs GET in Ajax

I have a PHP/javascript app that queries and returns info using an ajax request. On every server I've used so far, this works as expected, passing an Ajax GET request to the server and returning json data. On a new install, the query fails and…
user41172
  • 145
  • 2
  • 5
0
votes
2 answers

Ansible says Invalid options for debug: ansible.builtin.debug

I've been quite busy building a script. At some point I need to generate a password and store it in a file. The password is generated with - name: Generate new password debug: ansible.builtin.debug: var:…
0
votes
0 answers

what ipv4 packets normally carry IP options

What packets normally carry IP options? Is it packets with some routing information, e.g. ospf or bgp, or it could be any arbitrary packet, and thus the presence of IP options is determined by an application? For example ping -T ... will generate an…
Mark
  • 209
  • 1
  • 4
  • 10
0
votes
1 answer

I can't set the default options for the mysql command (v8.0.19) client in Windows 10. How can I fix this?

When I run mysql --verbose --help I get values that are different to those that are in my my.ini file. In particular, the following properties are set in my my.ini file (based on the recommendations in our company wiki) as follows:…
mal
  • 137
  • 6
-1
votes
1 answer

Apache Options missing Plus/Minus sign

I have to migrate an Apache web server from version 2.2 to version 2.4. In Apache 2.2, I find the following Options directive in the virtual host configuration files: Options -Indexes FollowSymLinks Now, that this syntax is invalid in 2.4 Either…
rexkogitans
  • 324
  • 1
  • 2
  • 20
1 2
3