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   -   Original Discussion by Maddy123
Maddy123's Unix or Linux Image
Maddy123 Maddy123 is offline
Registered User
Join Date: May 2011
Last Activity: 3 August 2017, 8:24 PM EDT
Posts: 133
Thanks: 32
Thanked 1 Time in 1 Post
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-21-2016   -   Original Discussion by Maddy123
Don Cragun's Unix or Linux Image
Don Cragun Don Cragun is offline Forum Staff  
Join Date: Jul 2012
Last Activity: 20 January 2018, 10:42 AM EST
Location: San Jose, CA, USA
Posts: 10,926
Thanks: 609
Thanked 3,819 Times in 3,263 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 07:06 PM
How to open RAR files? ashok.g Red Hat 1 12-02-2009 07:37 PM
Too Many files open shashank_recj UNIX for Advanced & Expert Users 3 08-02-2006 11:57 AM
How to check no. of files open currently max_min Solaris 1 08-11-2005 06:58 PM

All times are GMT -4. The time now is 12:36 PM.