Need but failed run a user's alias inside bash CLI
Failed run a user's alias inside bash CLI
How can run a user's alias
but as to do it in a CLI
1 2
|
$ bash -c "grab 'man'"
bash: line 1: grab: command not found
|
Please show the correct fixing way
Start an interactive shell
$ bash -ic 'grab man'
This info is available in the man page, see man 1 bash.
grab? command not found is what I'd expect.
Presumbaly the OP has alias named "grab" that resolves to some existing command.
Presumbaly the OP has alias named "grab" that resolves to some existing command. |
Very likely, but if he needs help, he should provide all relevant information, we shouldn't have to ask for it as he's asked questions previously.
Topic archived. No new replies allowed.