How to view a linux file?

Let’s learn how to view a linux file. The most accurate or helpful solution is served by Server Fault.

There are ten answers to this question.

Best solution

How to view multiple log files as one file in unix/linux

I was wondering if there is a convenient way in linux/unix to read multiple log files as one. More specifically, I would like to view a sequence of log files (app.log, app.log.1 app.log.2, etc) as one big file using normal unix tools (vi, less, etc). When the EOF is read the tool will automatically move to the beginning of the next file. During my work I have to analyze uat/prod logs to investigate and solve problems. The fact that I need to traverse many log files disturbs my work and causes...

Answer:

You can use lists of files and file globbing to specify multiple files. One big file: cat file1 file...

Read more

Kostas at Server Fault Mark as irrelevant Undo

Other solutions

How to view a linux syslog log file?

I created a syslog account on a ubuntu machine and when I try to open the file it is in all wierd characters. Am I doing something wrong? Is there a special way to view syslog server ...show more

Answer:

Hello Try to open the file with a text editor, and you would use a text editor to see the file. System...

Read more

OC7DH7L3WCNCDBWHO6XDD5KVKE at Yahoo! Answers Mark as irrelevant Undo

Is there a way to use Python's http server modules to enable me to view a log file residing on a Linux box?

I tried the python -m SimpleHTTPServer way, but it asks me to save the log file. What I want is that the browser should display the file content, rather than asking me to save it. (Here, the directory may be pre-defined, but the log file names keep changing...

Answer:

A simple `python -m http.server` should suffice. My guesstimate is that the log files you are trying...

Read more

Darshit Shah at Quora Mark as irrelevant Undo

Answer:

The typical way to view file permissions is to use the 'ls' command with the long listing options enabled...

Read more

community wiki at wiki.answers.com Mark as irrelevant Undo

Answer:

You r using gnome which is not very customizable. There r ways to do it on your system, but if u have...

Read more

pfabioda... at Yahoo! Answers Mark as irrelevant Undo

Answer:

two commands come to mind 'df' and 'cat /etc/mtab' below is a sample output from both commands. $ df...

Read more

community wiki at wiki.answers.com Mark as irrelevant Undo

In ubutu linux how to create an entry in your /etc/fstab file, it opens as read only (i am the only user)?

i hav to create an entry in /etc/fstab file. /dev/hda1 /windows ntfs nls=utf8,umask=0222 0 0 to view the other partitions(which were created using windows set up) while logged into the linux but the permission is denied even though i am the only user...

Answer:

1) On ubuntu there is no root user. you have to edit the fstab by hand using this command: # sudoedit...

Read more

dreamwav... at Yahoo! Answers Mark as irrelevant Undo

linux review questions

1. UNIX commands are case sensitive. In which case must you type them? a. all uppercase b. all lowercase c. sentence case, so the first letter is capitalized and others are lowercase d. any combination of uppercase and lowercase 2. In which order are...

Answer:

Hello Katauro, As mentioned in the comment, some of the questions may be misleading and many of the...

Read more

katauro-ga at Google Answers Mark as irrelevant Undo

Vault for embedded linux system development?

Does anyone successfully use Vault to do embedded linux development (including maintaining root file system permissions, check in from the development platform and the target as well)? We're a small firm that has a Vault repository going back several...

Answer:

Gah... I wish you had asked a couple of years ago when I was still working in a Vault shop. And doesn...

Read more

gte910h at Ask.Metafilter.Com Mark as irrelevant Undo

How to display a transcript in sync with a media file?

I have a transcript with timestamps and a media file. How do I display both of them on a webpage at the same time, synchronized? Oh, and it has to work in any browser or OS. I have a transcript (foo.txt) composed of 1000 sentences. Each sentence is given...

Answer:

SMIL is good for that. I have used it for the exact situation you described, with text synchronized...

Read more

isnotchicago at Ask.Metafilter.Com Mark as irrelevant Undo

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.