0

The alias command is not working and I believe I am following the correct syntax for example:

alias np='ls -la'

I have also tried speech marks:

alias np="ls -la"

In both cases the response to np is

np: Command not found.

However, if I run alias with no arguments it does list current aliases (for the record 'nl' is not already listed).

gpoo
  • 8,408
  • 3
  • 38
  • 53

1 Answers1

0

Using csh, an equals sign is not allowed. The above should be written:

alias np "ls -la"