Sign up ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have used mkalias suggested here

by typing

mkalias untar "tar -xvzf"

but it says

-xvzf not found

Why ?

share|improve this question

1 Answer 1

up vote 4 down vote accepted

The function posted in that other answer has a bug. The line

alias $1=$2

should read

alias $1="$2"

The answerer remembered to quote the second argument in the line that inserts the alias into your bashrc, but forgot to quote it when activating the alias for the current session.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.