On Tue, Jun 28, 2022 at 01:40:12PM +0000, visqa...@yahoo.com wrote: > when i run $ foo > ~/foo > the output of above command is empty. > foo -> gui package.
Well... yes? What did you expect? You're redirecting standard output of a "GUI package" to a file. Most GUI programs don't write much to standard output to begin with, and whatever this one *does* write to stdout is going into a file. The only other output you might expect to see on the terminal is standard error -- which should only occur if the GUI program encounters some sort of error. So it's totally normal and expected that you would see nothing on the terminal. There might be some output in that file you redirected stdout to, but it would really depend on the GUI program. WHY ARE YOU OBFUSCATING THE NAME OF THE PROGRAM YOU ARE RUNNING?!?! > i make changes some changes. > quit the package [ctrl+q]. What does *ANY* of that mean? Changes to what? What does "foo" do? Is it a text editor or something? How do you expect us to KNOW these details if you don't say them? In any case, if foo is a GUI text editor, it should not dump a copy of the file that you edited to stdout. It should only write the file into its proper place. E.g. if "foo" is really "gui-editor thesis.txt" then it should write the file contents into "thesis.txt". I don't know why you would expect it to do anything different.