Solved

Alia question

Posted on 1997-05-23
2
444 Views
Last Modified: 2010-04-21
Hi, how can i make an alias of "alias function"???
any idea??

to make:
alias alias 'echo hello world'
         (make and ALIAS of ALIAS )

to make:
>>> alias
hello world
                      Thanks!
0
Comment
Question by:acarmona
2 Comments
 
LVL 5

Accepted Solution

by:
n0thing earned 50 total points
ID: 2006330
Hi,

  You question is not clear, however to make an alias. Simply
use "alias name arguments"

Example:

alias dir ls
alias longdir 'ls -la'
alias hello 'echo "hello world"'

Regards,
n0thing
0
 

Author Comment

by:acarmona
ID: 2006331
Edited text of question
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When you do backups in the Solaris Operating System, the file system must be inactive. Otherwise, the output may be inconsistent. A file system is inactive when it's unmounted or it's write-locked by the operating system. Although the fssnap utility…
In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

825 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question