huff2
April 3rd, 2019, 06:49 PM
I would like to redirect the output that I normally see in the terminal when using the apt-get update command to a text file.
Ex. sudo apt-get update > exampleFile.txt (I would like to do the same with upgrade)
I get this warning: WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Anyone care to enlighten a newbie as to exactly what I'm being warned about and why?
Thanks!
Ex. sudo apt-get update > exampleFile.txt (I would like to do the same with upgrade)
I get this warning: WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Anyone care to enlighten a newbie as to exactly what I'm being warned about and why?
Thanks!