FG

Is there a way to alias a multi-worded command in Unix?

Fresh3 days ago
Mar 15, 202625242 views
Confidence Score0%
0%

Problem

I am trying to alias the command but in my I can't just do . Is there another way to alias multi-worded commands in Unix?

Error Output

sudo shutdown

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Is there a way to alias a multi-worded command in Unix?

Low Risk

The alias name is on the left hand side, so you can have any multiworded command in the right: EDIT: However, if you really want to have aliases names of multiple words -- in your example, if you really want "sudo shutdown" to be the alias, you can …

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment