View LOG messages


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers View LOG messages
# 1  
Old 04-30-2011
Question View LOG messages

I want to view the content of /etc/log..I logged in as root and tried to open /etc/log using the command "gedit /etc/log" but didn't work out.How can i go about it?Thanks in advance..
# 2  
Old 04-30-2011
Code:
less /etc/log/...

For viewing, instead of "less" you could also use
Code:
cat 
more
pg

For editing :
Code:
vim
vi
emacs
...

 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Cd to another directory to view a log file

Hi guys Today I have been working on a script to execute to view entries within a log file. I have successfully got the command I want to execute within the script itself. I want to view the last 5 entries within a log file and see just the last numbers. The file name would change depending... (5 Replies)
Discussion started by: simpsa27
5 Replies

2. What is on Your Mind?

Moving from Desktop View to Mobile View

See attached video for a demo on how to move back and forth from the desktop view to the mobile view. Currently this only works for the home page, but I will work on some new PHP code in the future to make this work with the page we are currently on. Edit: The issue with making every page ... (2 Replies)
Discussion started by: Neo
2 Replies

3. Shell Programming and Scripting

To view the log of a function

I have a function like this validate() { /* Inside this I will do some activites } How I can redirect this function to a log file , so that If I look into that log file I can understand ,is there any error happened inside the function or not (3 Replies)
Discussion started by: saj
3 Replies

4. Shell Programming and Scripting

I want a script to view the complete log information of data stage job from UNIX IBM AIX.

Hi, I am working on data stage 8.7 version and I want a script a to view the all log information of the data stage job from UNIX environment. Can you please help me out by give the script. Thanks in advance... (7 Replies)
Discussion started by: victory
7 Replies

5. UNIX for Dummies Questions & Answers

Plesk 9.5.4 CentOS 5 how to view log files?

Hello i have Plesk 9.5.4 CentOS 5 and after updating to 9.5.4 plesk told me there were some errors and to view a log file. Some problems occured during upgrade. You need to * * check log file * * ... (0 Replies)
Discussion started by: basslion
0 Replies

6. UNIX for Dummies Questions & Answers

fprintd messages in /var/log/messages

Whenever a user uses su I get the following error messages in /var/log/messages: Nov 23 04:24:55 <REMOVED> abrt: saved core dump of pid 26141 (/usr/libexec/fprintd) to /var/spool/abrt/ccpp-1322018695-26141.new/coredump (753664 bytes) Nov 23 04:24:55 <REMOVED> abrtd: Directory... (3 Replies)
Discussion started by: JakesHat
3 Replies

7. Shell Programming and Scripting

How can view log messages between two time frame from /var/log/message or any type of log files

How can view log messages between two time frame from /var/log/message or any type of log files. when logfiles are very big and especially many messages with in few minutes, I would like to display log messages between 5 minute interval. Could you pls give me the command? (1 Reply)
Discussion started by: johnveslin
1 Replies

8. UNIX and Linux Applications

Log files to view job executed in Autosys -- Help ASAP

Hi all, I really need your help ASAP on this. Below is the description of my problem and a sketch of Autosys Job Activity Console ++++++++++++++++++++++++++++++++ File View Options +++++++++++++++++++++++++++++++ Job Name Description Status Command Machine... (1 Reply)
Discussion started by: sakal_woman
1 Replies

9. UNIX for Dummies Questions & Answers

view log files

i have this unix version "unix v/386" and i want to view the log files how i can do it? regards (5 Replies)
Discussion started by: sak900354
5 Replies

10. HP-UX

Open view log location

Can someone tell me where the path to store the error message in HP OpenView? thk a lot (0 Replies)
Discussion started by: zp523444
0 Replies
Login or Register to Ask a Question