2

While trying to run certain commands via ubuntu terminal, I receives an error message

Failed to execute process '/bin/grep'. Reason:
The total size of the argument and environment lists 1.8MB exceeds the operating system limit of 2MB.
Try running the command again with fewer arguments.

The above error occured while I was trying to grep a string inside a folder via terminal.

I am using fish shell, with ubuntu 18.04 lts. Has 7.7 GiB RAM. OS type 64bit. GNOME 3.28.2 and has disk space with 34% used.

2

1 Answer 1

0

Incorrectly setting PATH environment variable might cause this error.

You should NOT add this line to config.fish. If you do, the variable will get longer each time you run fish!

See issue

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .