Viewing the contents of file in linux shell

You can use any of the below commands to view the file contents.
cat <file-name>
head <file-name>
tail <file-name>
tac <file-name> : This command displays file from bottom to top
less <file-name>
more <file-name>
awk ‘1’ <file-name>
sed -n ‘1,$p’ <file-name>
grep “.” <file-name>

# text editors like nano, pico, vi, emacs

Web development and Automation testing

solutions delivered!!