is it a good practice to use cat to display or view a file?
IMO, the phrase "good practice" is meaningless hereit's neither good nor bad.
Questions of "good"Good practice" are questions about how your work affects other people. (e.g., your co-workers will complain about having to work with you ifis whatever makes you work in ways that are strange to them ormore effective as an individual and, if you work in ways thatwhat is often more important, it's whatever makes their jobs harderyou a more effective member of some team.)
But, your co-workers have no reason to know or careYour preference for what tool you choose when you wantuse to look at a smallview short text file. It doesn'tfiles is not likely to affect anybody but yourself. It's entirely a personal choiceyour work or, how you get along with your co-workers.