I am trying to dump /var/log/messages using cat command, but it is failing.
[root@greplinux-linux ~]# cat /var/log/messages
cat: /var/log/messages: Invalid argument
messages file is present in /var/log. When I tried to open that using 'vi' it is saying 'messages' is not a file.
First column of command "ls -l /var/log/messages" is '?rwsrwsrwt'.
What is that I am doing wrong? Please guide me.
Thanks in advance