Sponsored Content
Top Forums Shell Programming and Scripting How to type a dot(.) instead of character? Post 302310188 by pmm on Friday 24th of April 2009 02:20:00 AM
Old 04-24-2009
Code:
printf "%s" "Please Enter Username:"
read auser

printf "%s" "Please Enter Password:"
stty -echo
read apassword

This suppresses printing of password altogether.
 

8 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

dot files

Hi, everyone. I'm now using rsync command, and please tell me what is the wildcard for below looks like. I want to chose dotfiles, such as .ipod .apple but i don't want to chose . and .. ------------------ .* doesn't work, of course. Thanks, Euler04 (2 Replies)
Discussion started by: Euler04
2 Replies

2. Shell Programming and Scripting

String type to date type

Can one string type variable changed into the date type variable. (1 Reply)
Discussion started by: rinku
1 Replies

3. Programming

array type has incomplete element type

Dear colleagues, One of my friend have a problem with c code. While compiling a c program it displays a message like "array type has incomplete element type". Any body can provide a solution for it. Jaganadh.G (1 Reply)
Discussion started by: jaganadh
1 Replies

4. UNIX for Dummies Questions & Answers

variable name with dot(.)

Hi, Is it possible to declare variable with name having dot(.) in it ? something like gs.test='HELLO' Thanks in advance :) (1 Reply)
Discussion started by: gopalss
1 Replies

5. Shell Programming and Scripting

removing DOT by using perl

Hi Friends, I have a variable which has a number (e.g. 12.1234). I want to remove "." (dot) from that number i.e. 121234 I want to do this using perl. Can you please guide me Thank you Anushree (2 Replies)
Discussion started by: anushree.a
2 Replies

6. Shell Programming and Scripting

Execution problem ---to remove the lines which starts with one type of character

Hi, I have one file, I need to check if file exist or not and then remove the lines which starts with ? My file1.out data is some thing abcabcppp xyzxyzpqr ????????? ????????? Output should be in test.out abcabcppp xyzxyzpqr I am getting the output as below but the File does not exist... (4 Replies)
Discussion started by: Ramyajiguru1
4 Replies

7. Programming

How to put dot(.) in a string in C?

Hi all, Can anybody please tell me how can I put dot(.) in a string using C programming. for example -- I am having string "10111988" and I want to convert it as "10.11.1988" I will appriciate and thanks in advance.. (4 Replies)
Discussion started by: smartgupta
4 Replies

8. Shell Programming and Scripting

Mv or cp with a . (dot)?

How can I rename a file with a . prefix? I actually need to copy the file but the . seems to be very tough to do. mv ./bla ../fa/la/.bla - doesn't work. I've tried all sorts of bracketing and that doesn't work. Maybe the only way to do it would be to name the file _.bla then rename it... (19 Replies)
Discussion started by: scribling
19 Replies
fence_rackswitch(8)					      System Manager's Manual					       fence_rackswitch(8)

NAME
fence_rackswitch - I/O Fencing agent for RackSaver RackSwitch SYNOPSIS
fence_rackswitch [OPTION]... DESCRIPTION
fence_rackswitch is an I/O Fencing agent which can be used with the RackSaver RackSwitch. It logs into the RackSwitch and boots a speci- fied plug. Using the http interface to the RackSwitch should be avoided while a GFS cluster is running because the connection may inter- fere with the operation of this agent. fence_rackswitch accepts options on the command line as well as from stdin. fenced sends the options through stdin when it execs the agent. fence_rackswitch can be run by itself with command line options which is useful for testing. Vendor URL: http://www.bladenetwork.net OPTIONS
-a IPaddress IP address of the switch. -h Print out a help message describing available options, then exit. -n plug The plug number to power cycle. -p password Password for login. -S path Full path to an executable to generate the password for login. -l username Username for login. -q Quiet operation. Only print out error messages. -V Print out a version message, then exit. STDIN PARAMETERS
agent = < param > This option is used by fence_node(8) and is ignored by fence_rackswitch. ipaddr = < ip > IP address of the switch. username = < param > Username for login. password = < param > Password for login. passwd_script = < param > Full path to an executable to generate the password for login. port = < param > The port (outlet) number to act upon. SEE ALSO
fence(8), fence_node(8) fence_rackswitch(8)
All times are GMT -4. The time now is 01:34 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy