Failed to successfully execute some commands in Cygwin

I installed Cygwin64 on my 64-bit Windows 7 machine. However, the following commands did not execute, displaying the error messages below. Could you help in granting permission?

$ ll
-bash: ll: command not found

$ clear
-bash: clear: command not found

However, the ls -l command worked ...

$ ls -l
total 0

I also tried without commenting on the next line in the .bashrc file in my home directory -

# alias ll='ls -l'

But that didn't help either!

+4
source share
1 answer

After you uncomment the alias, you must run the new Cygwin shell for it to take effect. The file .bashrcis actually a script that is created when bash starts.

clear Cygwin (Unix). Ctrl-L.

+4

Source: https://habr.com/ru/post/1528952/


All Articles