LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-04-2004, 03:02 AM   #1
oldstinkyfish
Member
 
Registered: Nov 2003
Posts: 148

Rep: Reputation: 15
ls to text in terminal


Can I in a terminal get ls to print to a text file?
 
Old 12-04-2004, 03:08 AM   #2
darkleaf
Senior Member
 
Registered: Jun 2004
Location: the Netherlands
Distribution: debian SID
Posts: 2,170

Rep: Reputation: 45
You can create a text file with
Code:
ls >> textfilename
I don't know how to print it though.
 
Old 12-04-2004, 04:18 AM   #3
daihard
Member
 
Registered: Jul 2003
Location: Seattle, WA
Distribution: Kubuntu 14.04 LTS
Posts: 915

Rep: Reputation: 34
Alternatively, you can run the command "script -a <filename>" to redirect all your command outputs to the specified file.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
vt text terminal offworld Linux - Networking 10 01-16-2006 01:26 PM
can't enter text in terminal lpn1160 Linux - General 4 11-04-2005 02:39 AM
What do you use terminal in X or text mode? HadesThunder Linux - General 9 05-05-2004 05:13 AM
Terminal Window with no text pawlub Linux - Software 2 03-31-2004 03:19 PM
Terminal Text Copying Hitokiri_X Linux - General 4 06-18-2002 05:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:59 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration