Sponsored Content
Full Discussion: Automatic alias's
Top Forums UNIX for Dummies Questions & Answers Automatic alias's Post 39707 by ripster on Thursday 28th of August 2003 11:07:28 AM
Old 08-28-2003
Question Automatic alias's

Hi all

Im just wondering something, i constantly have to use 2 commands at work, i know how to alias them out to short commands so i dont have to type (or scroll back to my last)

~support/bin/bearertool -sc <name>

the problem is i connect as a user and not as root through multiple F-secure SSH client session.

Each time i open a new session i lose the alias be='~xxxx' commands and either have to input new ones or copy and paste the commands into the new window from a word document i have open.

the new session drops me to a pwd of /home/ml is there anyway to have it so that each time i log into a new session it will run the alias commands for me?

i cant connect as root to make them permanant so it has to be something i can run from my home directory or that will auto run.

Thanks in advance

The Ripster
 

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

automatic su

Hi all, Suppose I have a script under user A, which calls a script under user B (this script should be run using user B). How can I change the user (along with supplying the password) automatically in the script (a command similar to su)? Thank you in advance Best Regards (1 Reply)
Discussion started by: omran
1 Replies

2. UNIX for Advanced & Expert Users

Automatic boot up

Hi everyone, I was wondering if anyone out there knows how I can make my UNIX server (Using Solaris8) boot up to a prompt without needing me to login. I simply want to turn on my UNIX box and get to a prompt without needing to input login and password. Many thanks, Sid (1 Reply)
Discussion started by: snili
1 Replies

3. UNIX for Advanced & Expert Users

Automatic PowerOff!!

Hi Guys, I faced a problem in one of our workstations, from five days ago when i come to office i see that this system has been powred off & when i start it up again it goes trough the "System Setup Restoring " & seems that automatic power off is active . For disabling this i went to... (2 Replies)
Discussion started by: nikk
2 Replies

4. UNIX for Dummies Questions & Answers

Why not automatic bootup

Evry time I start up my mavhine ,have to type in unix at Boot : Is there a way unix should bootup automatically? Asif (2 Replies)
Discussion started by: asif iqbal
2 Replies

5. UNIX for Dummies Questions & Answers

Automatic Kill -help

Hello We are using UNIX, (?) there were reports to us thAt their login was automatically killed, however we (root) did not issue a kill -9 PID, can anyone give me an idea what happen. To add, the user is not idled, he is actually doing something. also, i search all the thread, donno if i... (5 Replies)
Discussion started by: lancemendioro
5 Replies

6. IP Networking

automatic ip assignment

hello guyz, I am working on project of automatic ip adress assignment to a local network when I send a packet with Mac adress I want to get a reply from the other machine with its ip address ,so how can I achieve that? (2 Replies)
Discussion started by: netsavy
2 Replies

7. Slackware

Automatic login without X

I know how to set up KDM or GDM to do automatic login, but is there a way to do it without GDM or KDM or X at all so when I start the machine I am immediately taken to a waiting command prompt? Thanks (5 Replies)
Discussion started by: raidzero
5 Replies

8. UNIX for Dummies Questions & Answers

Create alias files (not alias commands)

If one: $ find -name 'some expression' -type f > newfile and then subsequently wants to create an alias file from each pathname the find command retrieved and the > placed within 'newfile', how would one do this? Ideally, the newly created alias files would all be in one directory. I am... (3 Replies)
Discussion started by: Alexander4444
3 Replies

9. Red Hat

Automatic logout

Hello, I have this issue on a new server I just built. It is a RHEL 6.7 build. I use VNC to connect to the server from my windows machine. When I login to the Server in morning using VNC I get this error: "Automatic logout, this session is configured to log out after a period of inactivity. I... (0 Replies)
Discussion started by: bitlord
0 Replies
This  is  a  slightly  lobotomized kermit.  The help command, the
script facility, and the automatic dial  support  have	been  re-
moved.	The ? and ESC commands still work, so there is still rea-
sonable built-in help.	The only V7 kermit feature that does  not
work  is  the  ability	to see whether there are input characters
waiting.  This means that you will not be able to ask for  status
during a file transfer (though this is not critical, because ker-
mit prints a dot every so  often  and  other  special  characters
whenever  there  is an error or timeout).  Start kermit, and then
type the following to open a 2400 baud session, for example:
(It is more convenient if you put these commands  in  .kermrc  in
your home directory, so that they get done automatically whenever
you run kermit.)  This will connect you to the modem or  whatever
on  the  serial  port.	 Now log into the other system.  When you
want to transfer files, run kermit on the other system.   To  it,
type  This puts its kermit into a sort of slave mode where it ex-
pects commands from the kermit running on your MINIX system.  Now
come back to the command level on MINIX kermit, by typing the es-
cape character followed by c.  (Kermit will tell you the  current
escape character when you do the connect command.)  At this point
you can issue various  commands.   Your  kermit  will  coordinate
things	with kermit on the other machine so that you only have to
type commands at one end.  Common commands are
Filenames can include wildcards.  By default, kermit works  in	a
system-independent,  text  mode.   (In effect it assumes that the
whole world is MS-DOS and converts end of line and file names ac-
cordingly.)   To send binary files, you will want to type on both
ends before starting any transfers.  This disables CR LF to  new-
line  conversion.   If	both  of  your systems are some flavor of
UNIX, you might as well put this in .kermrc on both ends and  run
in  binary  mode all the time.	Also, if both systems are UNIX it
is recommended that you use on both ends.  This causes it to keep
file  names unchanged, rather than mapping to legal MS-DOS names.
Here is a typical .kermrc for use on
On the other end of the line, for example, the host at your local
computer  center  to  which you want to transfer files, a typical
profile might be:
Kermit has many other options and features.  For a  pleasant  and
highly readable description of it, see the following book:
  Title: Kermit: A File Transfer Protocol
  Author: Frank da Cruz
  Publisher: Digital Press
  Date: 1987
  ISBN: 0-932376-88
For  information  about  recent kermit developments, versions for
other systems, and so forth, please contact:
  Christine M. Gianone
  Manager, Kermit Development and Distribution
  University Center for Computing Activities
  Columbia University
  612 West 115th Street
  New York, N.Y. 10025
Over 400 versions of kermit are available, so it is likely  there
is  one  for any computer your system might want to talk to.  Co-
lumbia University also publishes a newsletter about  kermit  that
can be requested from the above address.
All times are GMT -4. The time now is 08:48 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy