Unix/Linux Go Back    

Windows & DOS: Issues & Discussions All Windows and DOS questions should go here as well. Discuss UNIX to Windows (Desktop or Server) here!

Files to open at one stretch

Windows & DOS: Issues & Discussions

Thread Tools Search this Thread Display Modes
Old Unix and Linux 01-20-2016
Maddy123 Maddy123 is offline
Registered User
Join Date: May 2011
Last Activity: 21 April 2017, 7:40 PM EDT
Posts: 125
Thanks: 32
Thanked 0 Times in 0 Posts
Files to open at one stretch


There is a folder which has about 20 text files in it. As I want to view all files inside folder everyday which I feel is tedious for me to open file one by one.
Is there any way that all files can be opened at one stretch?

Sponsored Links
Old Unix and Linux 01-20-2016
Don Cragun's Unix or Linux Image
Don Cragun Don Cragun is offline Forum Staff  
Join Date: Jul 2012
Last Activity: 28 April 2017, 5:34 AM EDT
Location: San Jose, CA, USA
Posts: 10,220
Thanks: 513
Thanked 3,546 Times in 3,019 Posts
If there are twenty files in the directory you're sitting in and there are no other files sitting in that directory:

cat *

does exactly what you have requested and probably isn't even close to what you want.

If you would give us some details about where the directory containing these files is located relative to your current working directory (or by giving an absolute pathname to that directory), would tell us the names of the files you want to open (and the names of any other files that might be in that directory that you don't want to open), would tell us whether there are directories as well as text files in that directory, and would tell us what you want to do with these twenty files when you open them; you might get a much more useful suggestion.

And, as you have been told many times before, it always helps if you tell us what operating system and shell you're using. (This is crucial when you post a question to the Windows & DOS Issues and Discussions forum in the UNIX & Linux Forums.)
Sponsored Links

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
open files icelated Shell Programming and Scripting 2 03-15-2011 06:06 PM
How to open RAR files? ashok.g Red Hat 1 12-02-2009 06:37 PM
Too Many files open shashank_recj UNIX for Advanced & Expert Users 3 08-02-2006 10:57 AM
How to check no. of files open currently max_min Solaris 1 08-11-2005 05:58 PM

All times are GMT -4. The time now is 01:52 PM.