LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-11-2001, 01:18 PM   #1
p_murugappan
LQ Newbie
 
Registered: Jun 2001
Posts: 19

Rep: Reputation: 0
alias creation


I am a newbie and may I know how to create a start up scripts or alias files in LInux. I use red hat 7.1

P.Murugappan
 
Old 07-12-2001, 12:46 AM   #2
cinnix
Member
 
Registered: Jun 2001
Location: Northern Ohio
Distribution: RedHat, Engarde and LFS
Posts: 237

Rep: Reputation: 30
As far as creating boot scripts is concerned, I learned by looking at the existing ones and modeling mine after them. Just make sure you look into each and every function to see what exactly you are doing. This way you will learn from your experiences.

As far as alias files, what exactly do you mean. If you mean create an alias to a command (like when you type vi, it will execute vim), all you have to do is edit the .bashrc file in your home directory by adding entries like the following.

alias CD='cd /mnt;mount cdrom'

This way when you enter CD, it will switch to your /mnt directory and then mount the cdrom.

If you mean create a "windows shortcut", you have to use the ln command. type

man ln

at the command prompt to learn more about it.
 
Old 07-20-2004, 12:40 PM   #3
Yerp
Member
 
Registered: Jun 2004
Distribution: Turtle Kevux 0.8.8
Posts: 129

Rep: Reputation: 15
Thumbs up

http://www.linuxquestions.org/questi...threadid=47227
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Alias question (2 commands for one alias) gflores Linux - Newbie 3 01-21-2006 12:40 AM
alias help jfauteux Linux - Software 3 04-08-2005 12:56 PM
alias ilnli Slackware 13 01-08-2005 10:29 PM
using alias intruptz Linux - General 5 09-17-2003 04:32 AM
alias nobu Slackware 5 01-11-2003 01:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:21 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration