[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 458
  • Last Modified:

Alia question

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
acarmona
Asked:
acarmona
1 Solution
 
n0thingCommented:
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
 
acarmonaAuthor Commented:
Edited text of question
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now