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


Closed    
 
Thread Tools Search this Thread Display Modes
    #1  
Old Unix and Linux 01-20-2016
Maddy123 Maddy123 is offline
Registered User
 
Join Date: May 2011
Last Activity: 3 January 2017, 5:35 PM EST
Posts: 120
Thanks: 31
Thanked 0 Times in 0 Posts
Files to open at one stretch

Hi,

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?

Regards,
Maddy
Sponsored Links
    #2  
Old Unix and Linux 01-20-2016
Don Cragun's Unix or Linux Image
Don Cragun Don Cragun is offline Forum Staff  
Administrator
 
Join Date: Jul 2012
Last Activity: 30 March 2017, 4:55 AM EDT
Location: San Jose, CA, USA
Posts: 10,142
Thanks: 501
Thanked 3,515 Times in 2,992 Posts
If there are twenty files in the directory you're sitting in and there are no other files sitting in that directory:

Code:
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
Closed

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 10:38 AM.