11-30-2000
I am a new UNIX user.
I use SCO Openserver 5.
I am also a longtime MS-DOS user (since 1981). There was a program with DOS called DOSKEY. It allowed you to assign a code to an F key; every time you pressed that F key you got the code on the command line. You could put in whatever command you wanted. I am looking for a way to do the same thing in UNIX.
Bearing in mind I know close to nothing about UNIX, is there a way I can do this? I need to put in commands, times, and the date. I would be unable at this time to write a shell script. I have little time to spare, working nights and going to school in the day.
Thanks for any suggestions you may have.
Jim Welch
2 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
!HELLO SIR,
Is there any Command in UNIX which will work like DOSKEY funcationaly.
how can i use DOSKEY in UNIX. (14 Replies)
Discussion started by: smdakram
14 Replies
2. UNIX for Dummies Questions & Answers
Hello all,
I need a help in unix. is there any command in unix similar to doskey in MS Dos. It taked pain to enter the big command again and again.. the up and down arrows do not bring the previous commands on the prompt. so pls let me know if there is any command to enable the doskey kind of... (4 Replies)
Discussion started by: halel
4 Replies
LEARN ABOUT OSF1
dos2unix
dos2unix(1) General Commands Manual dos2unix(1)
NAME
dos2unix - mtools utility to convert a DOS file to UNIX
SYNOPSIS
dos2unix msdosfile
OPTIONS
None
OPERANDS
Name of the file to convert.
DESCRIPTION
The dos2unix command converts a file from DOS format to UNIX format. The converted file replaces the original file.
Subdirectory names that contain the '/' or '' separator are supported. If you use the '' separator or wildcards, you must enclose file
names in quotes to protect them from the shell.
The mcd command can be used to establish the device and the current working directory (relative to DOS), otherwise the default is A:.
EXIT STATUS
The following exit values are returned: Success. Failure.
ENVIRONMENT VARIABLES
The following environment variables affect the execution of dos2unix: If set, this variable names the file that contains the name of the
current mtools working directory as established by the mcd command. If this variable is not set, the file $HOME/.mcwd is used.
FILES
Contains the name of the current mtools working directory as established by the mcd command. If this file does not exist, the default
mtools working directory is A:. Executable file
SEE ALSO
Commands: mcopy(1), mread(1), mtools(1) mtype(1), mwrite(1)
dos2unix(1)