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
- 1
- 7
1
vote
0 answers
Finding resources about switching CIFS from soft to hard mount
We have some NFS shares and smb CIFS shares mounted over TCP/IP on our RHEL 7 machine. The shares are part of a HNAS that sits on a VSP. As per default the NFS shares are mounted with the "hard" option (man nfs). For the CIFS the default "soft"…

DZet
- 121
- 4
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
- 6
- 19
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…

Ibrah
- 1
- 4
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…

juarcci
- 1
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
- 69
- 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
- 165
- 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:…

Invader Zim
- 1
- 2
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
- 3
- 22