9 More Discussions You Might Find Interesting
1. Programming
Hi there,
I am trying to run a .sh file with plink from vb.net.
I am now able to run the .sh on vb.net but i have a problem because the .sh script require user input:
The .sh is prompting a few question and require user to input y/n to proceed.
I am trying... (3 Replies)
Discussion started by: yun
3 Replies
2. Shell Programming and Scripting
Please tell me how to write a bash script that asks the user to enter a word and that passes the entered word to a variable.
echo "Type a word and press the Enter key:"
myVar=`cat`
echo "You entered $myVar"
The above code is very awkward, because it requires the user to enter... (2 Replies)
Discussion started by: LessNux
2 Replies
3. Ubuntu
Hi everyone.
Apologies if I am posting in the wrong area.
I would like to find out a bit about how ubuntu/linux handles text boxes. In particular I would like to develop an application that launches another application (on screen keyboard) when any text box is clicked. The goal is to get... (4 Replies)
Discussion started by: Huss
4 Replies
4. Shell Programming and Scripting
Hi,
I am trying to ssh into a remote machine and then enter a vserver on the remote machine. I am using here document to carry out these commands on the remote machine. My here document looks like this
ssh username@remotemachine << HERE
sudo vserver vservername enter
HERE
however the sudo... (0 Replies)
Discussion started by: mnanavati
0 Replies
5. Solaris
Hi Guys,
I have one requirement like if we run install.sh file it should have to create a zone and install oracle in that zone with out any user interaction. So the complete code should be automated.
Almost 90% of the code I completed but i am having some doubts
1) After the zone creation... (1 Reply)
Discussion started by: vijaysachin
1 Replies
6. Programming
Hi all,
I am struck at this point and needed some help in ruby
I wanted to write a script that accepts the no of VNICs the user wants to create and
then ask for the name of each Vnic he wants
then use these names to create the corresponding Vnics
Eg: suppose that there are 2 Vnics to be... (0 Replies)
Discussion started by: wrapster
0 Replies
7. UNIX for Dummies Questions & Answers
Hi all,
My ssytem is mounted on a rack and not connected with any console. When I rebooted it remotely, it didn't go thru the bootup process. when I connect my laptop to the system locally and found that it was waiting for user interaction. Do you know how to disable it, so that it will boot... (1 Reply)
Discussion started by: stancwong
1 Replies
8. Shell Programming and Scripting
Can any body help me to write a scripting program for entering a password at run time with out user interaction. (1 Reply)
Discussion started by: kumar_d
1 Replies
9. UNIX for Dummies Questions & Answers
Don't want to use useradd command to create a new user
I am doing manual addition of accounts. Actually I am writing a script and I am working on RedHat7.1 system. What I am trying to do is run the script and pass all the values of the username password and group as command line parameters. Now... (2 Replies)
Discussion started by: syedifti
2 Replies
UDISKSCTL(1) User Commands UDISKSCTL(1)
NAME
udisksctl - The udisks command line tool
SYNOPSIS
udisksctl status
udisksctl info {--object-path OBJECT | --block-device DEVICE}
udisksctl mount {--object-path OBJECT | --block-device DEVICE} [--filesystem-type TYPE] [--options OPTIONS...] [--no-user-interaction]
udisksctl unmount {--object-path OBJECT | --block-device DEVICE} [--force] [--no-user-interaction]
udisksctl unlock {--object-path OBJECT | --block-device DEVICE} [--no-user-interaction]
udisksctl lock {--object-path OBJECT | --block-device DEVICE} [--no-user-interaction]
udisksctl loop-setup --file PATH [--read-only] [--offset OFFSET] [--size SIZE] [--no-user-interaction]
udisksctl loop-delete {--object-path OBJECT | --block-device DEVICE} [--no-user-interaction]
udisksctl smart-simulate --file PATH {--object-path OBJECT | --block-device DEVICE} [--no-user-interaction]
udisksctl monitor
udisksctl dump
udisksctl help
DESCRIPTION
udisksctl is a command-line program used to interact with the udisksd(8) daemon process.
COMMANDS
status
Shows high-level information about disk drives and block devices.
info
Shows detailed information about OBJECT or DEVICE.
mount
Mounts a device. The device will be mounted in a subdirectory in the /media hierarchy - upon successful completion, the mount point
will be printed to standard output.
The device will be mounted with a safe set of default options. You can influence the options passed to the mount(8) command with
--options. Note that only safe options are allowed - requests with inherently unsafe options such as suid or dev that would allow the
caller to gain additional privileges, are rejected.
unmount
Unmounts a device. This only works if the device is mounted. The option --force can be used to request that the device is unmounted
even if active references exists.
unlock
Unlocks an encrypted device. The passphrase will be requested from the controlling terminal and upon successful completion, the
cleartext device will be printed to standard output.
lock
Locks a device. This only works if the device is a cleartext device backed by a cryptotext device.
loop-setup
Sets up a loop device backed by FILE.
loop-delete
Tears down a loop device.
smart-simulate
Sets SMART data from the libatasmart blob given by FILE - see /usr/share/doc/libatasmart-devel-VERSION/ for blobs shipped with
libatasmart. This is a debugging feature used to check that applications act correctly when a disk is failing.
monitor
Monitors the daemon for events.
dump
Prints the current state of the daemon.
help
Prints help and exit.
COMMON OPTIONS
The option --no-user-interaction can be used to request that no interaction (such as the user being presented with an authentication
dialog) must occur when checking with polkit(8) whether the caller is authorized to perform the requested action.
AUDIENCE
This program does not assume that the caller is the super user - it is intended to be used by unprivileged users and authorizations are
checked by the udisks daemon using polkit(8). Additionally, this program is not intended to be used by scripts or other programs -
options/commands may change in incompatible ways in the future even in maintenance releases. See the "API STABILITY" section of udisks(8)
for more information.
BASH COMPLETION
udisksctl ships with a bash completion script to complete commands, objects, block devices and some options.
AUTHOR
Written by David Zeuthen <zeuthen@gmail.com> with a lot of help from many others.
BUGS
Please send bug reports to either the distribution bug tracker or the upstream bug tracker at
http://bugs.freedesktop.org/enter_bug.cgi?product=udisks.
SEE ALSO
udisks(8), udisksd(8), umount.udisks2(8), polkit(8)
udisks 2.1.2 March 2013 UDISKSCTL(1)