Questions tagged [bash]

Questions specific to GNU’s Bourne Again SHell, as opposed to other Bourne/POSIX shells. For questions about Unix shells in general, use the /shell tag instead.

Filter by
Sorted by
Tagged with
3
votes
5answers
125 views
+50

How may I suppress file redirection errors?

With cat, I am able to hide the "No such file or directory" error like so: cat file.txt 2>/dev/null However, this shows the error < file.txt 2>/dev/null bash: file.txt: No such file or ...