Type ¥ yen sign in a terminal or a file


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Type ¥ yen sign in a terminal or a file
# 1  
Old 05-11-2010
Type ¥ yen sign in a terminal or a file

I'm trying to enter
Code:
¥

yen sign which is a part of a complex password in terminal putty thru bash shell
how can i type such character in terminal or even write it in a file as a stdin for the client
thanks

---------- Post updated at 05:38 PM ---------- Previous update was at 02:07 PM ----------

i got the answer
Code:
-bash-3.00$ echo -e '\0245'
¥
-bash-3.00$

will do the trick

Last edited by h@foorsa.biz; 05-11-2010 at 04:20 PM..
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Print Terminal Output Exactly how it Appears in the Terminal to a New Text File

Hello All, I have a text file containing output from a command that contains lots of escape/control characters that when viewed using vi or view, looks like jibberish. But when viewed using the cat command the output is formatted properly. Is there any way to take the output from the cat... (7 Replies)
Discussion started by: mrm5102
7 Replies

2. Shell Programming and Scripting

How to show the type of my terminal?

How to show the type of my terminal? Thanks in advance! (1 Reply)
Discussion started by: Henryyy
1 Replies

3. Red Hat

Unable to type anything on "cu" serial terminal window

Hi, I'm using CentOS 5.5. I connected serial terminal using "cu". The command I had given was "cu -l /dev/ttyUSB0 -s 115200". It connects I'm seeing the target boards boot-up messages and log in screen. But I couldn't type anything on "cu" terminal window. Any help is highly appreciated. ... (1 Reply)
Discussion started by: suryaemlinux
1 Replies

4. UNIX for Advanced & Expert Users

Cygwin <--> CMD App Problem (Terminal Type?)

I'm not sure if this is the right place to post this, but here it is. We have a nightly process that runs on an HP-UX box to stop our application and backend database servers, unmount their SAN hosted file systems, and then snapshot the SAN LUNs for backup and refresh of data on "report" and... (1 Reply)
Discussion started by: deckard
1 Replies

5. Shell Programming and Scripting

Parse file with '=' sign

Hi, Can anyone help me parse the code bellow. I have a file with several lines. I ant to put an 'X' on the lines that ONLY have an '=' in them ignoring comma's, spaces etc.. So: /* , systems.menuLabel.new=New systems.menuLabel.new.mnemonic=N */ Would look like: /* , ... (9 Replies)
Discussion started by: jascas
9 Replies

6. Solaris

Terminal Type For Installation of Solaris 10

The answer to my problem might be to get a Sun console but I thought I would run it by the experts here first. I have been trying to install Sun Solaris on a SunFire V445 using an HPconsole (just happens to be all I have at my disposal at the moment) and no network connection yet. When I am... (1 Reply)
Discussion started by: scotbuff
1 Replies

7. Shell Programming and Scripting

Sign on/Sign off logging script

I'd like to make a script that I can execute every time I sign on to my linux box that keeps track of the time and allows to me to add a remark to a file. So basically once I log in, I run the script, and it outputs the date and time to a text file (log.txt). But that isn't my problem. I need... (1 Reply)
Discussion started by: Glider
1 Replies

8. SCO

How to Configure Terminal type in SCO 5.0.5

Dear all, I need to change the terminal type to vt100 for all the users pls guide me for this (1 Reply)
Discussion started by: asahcl
1 Replies

9. UNIX for Advanced & Expert Users

terminal type problem with cygwin on aix

hey, I use cygwin to connect to AIX 5.2 but when I open vi I get an error saying: ex: 0602-108 cygwin is not a recognized terminal type how can I fix that? I thought cygwin was tty vt100? (1 Reply)
Discussion started by: rein
1 Replies
Login or Register to Ask a Question
OPEN(1) 							     Linux 1.x								   OPEN(1)

NAME
open - start a program on a new virtual terminal (VT). SYNOPSIS
open [-c vtnumber] [-s] [-u] [-l] [-v] [--] command command_options DESCRIPTION
open will find the first available VT, and run on it the given command with the given command options, standard input, output and error are directed to that terminal. The current search path ($PATH) is used to find the requested command. If no command is specified then the envi- ronment variable $SHELL is used. OPTIONS -c vtnumber Use the given VT number and not the first available. Note you must have write access to the supplied VT for this to work. -s Switch to the new VT when starting the command. The VT of the new command will be made the new current VT. -u Figure out the owner of the current VT, and run login as that user. Suitable to be called by init. Shouldn't be used with -c or -l. -l Make the command a login shell. A - is prepended to the name of the command to be executed. -v Be a bit more verbose. -w wait for command to complete. If -w and -s are used together then open will switch back to the controlling terminal when the command completes. -- end of options to open. NOTE
If open is compiled with a POSIX (Gnu) getopt() and you wish to set options to the command to be run, then you must supply the end of options -- flag before the command. EXAMPLES
open can be used to start a shell on the next free VT, by using the command: open bash To start the shell as a login shell, use: open -l bash To get a long listing you must supply the -- separator: open -- ls -l SEE ALSO
login(1), doshell(8), switchto(1). AUTHOR
Jon Tombs <jon@gtex02.us.es or jon@robots.ox.ac.uk> -w idea from "sam". 19 Jul 1996 V1.4 OPEN(1)