🤑 Join the Treehouse affiliate program and earn 25% recurring commission!

New No-Code Track! 🚀 New videos dropping every week—start learning today!

🌟 Dreaming of a bright future? 🎓 Ask about the Treehouse Scholarship program! 🚀

✨ Earn college credits in Cybersecurity, JS, HTML, CSS and Python

  • Treehouse Logo
  • Plans
    Chevron
    • For Individuals
    • For Businesses
    • For Schools
    • For Libraries
    • For Military
  • Library
    Chevron
    • All Courses
    • Tracks
    • College Credit
  • Techdegree
    Chevron
    • Overview
    • Front End Development
    • Full Stack JavaScript
    • Data Analysis
    • UX Design
    • Python
  • Community
    Chevron
    • Community Projects
    • Live Sessions
    • Code Adventures
    • Discord
    • Forum
    • Success Stories
    • Treehouse Links
    • 100 Days of Code
  • Resources
    Chevron
    • Career Toolbox
    • CodeForward
    • Free Treehouse Near Me
    • Jobs
    • Blog
    • Support
    • About
  • For Individuals For Businesses For Schools For Libraries For Military
  • All Courses Tracks College Credit
  • Overview Front End Web Development Full Stack JavaScript Python Development Data Analysis UX Design
  • Community Projects Live Sessions Code Adventures Discord Forum Success Stories Treehouse Links 100 Days of Code
  • Career Toolbox CodeForward Free Treehouse Near Me Jobs Blog Support About
  • Sign In
  • Free Trial
Instagram Twitter Facebook YouTube LinkedIn
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • AI
      • • Android
      • • APIs
      • • Coding for Kids
      • • College Credit
      • • Computer Science
      • • CSS
      • • Data Analysis
      • • Databases
      • • Design
      • • Development Tools
      • • Digital Literacy
      • • Game Development
      • • Go Language
      • • HTML
      • • Java
      • • JavaScript
      • • Learning Resources
      • • Machine Learning
      • • No-Code
      • • PHP
      • • Professional Growth
      • • Python
      • • Quality Assurance
      • • React
      • • Ruby
      • • Security
      • • Swift
  • Elias K. Salem
    Elias K. Salem
    22,283 Points

    Complete the final command to print out the contents of the a.txt file, with line numbers.

    Posted May 17, 2021 6:50pm by Elias K. Salem
    Elias K. Salem
    22,283 Points
    • Development Tools
    • Introduction to the Terminal
    • The Command Shell
    • Command Arguments and Options

    1 Answer

  • Elias K. Salem
    Elias K. Salem
    22,283 Points

    Complete the final command to print out the contents of both the b.txt and c.txt files (in that order).

    Posted May 17, 2021 6:48pm by Elias K. Salem
    Elias K. Salem
    22,283 Points
    • Development Tools
    • Introduction to the Terminal
    • The Command Shell
    • Command Arguments and Options

    0 Answers

  • Lia Mun
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Lia Mun
    UX Design Techdegree Graduate 22,246 Points

    i keep getting an error saying "b.txt and c.txt" is incorrect? why is that

    Posted April 13, 2020 9:10pm by Lia Mun
    .a{fill-rule:evenodd;}techdegree seal-36
    Lia Mun
    UX Design Techdegree Graduate 22,246 Points
    • Development Tools
    • Introduction to the Terminal
    • The Command Shell
    • Command Arguments and Options

    1 Answer

  • Delicia Wharton
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Delicia Wharton
    UX Design Techdegree Student 11,098 Points

    Commands - I got through some more videos but failed the quiz, it's going over my head.

    Posted March 23, 2020 8:32pm by Delicia Wharton
    .a{fill-rule:evenodd;}techdegree
    Delicia Wharton
    UX Design Techdegree Student 11,098 Points
    • Development Tools
    • Introduction to the Terminal
    • The Command Shell
    • Command Arguments and Options

    1 Answer

  • Fortunato Mugnano
    Fortunato Mugnano
    7,803 Points

    Hi guys anyone can help me with this exercise?

    Posted August 9, 2019 2:09am by Fortunato Mugnano
    Fortunato Mugnano
    7,803 Points
    • Development Tools
    • Introduction to the Terminal
    • The Command Shell
    • Command Arguments and Options

    3 Answers

  • Brenda T Carney
    Brenda T Carney
    2,426 Points

    what is the final command to print contents of the a.text file?

    Posted May 15, 2019 9:44pm by Brenda T Carney
    Brenda T Carney
    2,426 Points
    • Development Tools
    • Introduction to the Terminal
    • The Command Shell
    • Command Arguments and Options

    1 Answer

  • Roberto Rivera
    Roberto Rivera
    10,832 Points

    treehouse:~/workspace$ ls a.txt b.txt c.txt treehouse:~/workspace$ cat

    Posted May 14, 2019 1:07am by Roberto Rivera
    Roberto Rivera
    10,832 Points
    • Development Tools
    • Introduction to the Terminal
    • The Command Shell
    • Command Arguments and Options

    1 Answer

  • Sylvania Cuffy
    Sylvania Cuffy
    2,461 Points

    Complete the final command to print out the contents of the a.txt file, with line numbers. (Hint: the option includes th

    Posted May 12, 2019 3:42am by Sylvania Cuffy
    Sylvania Cuffy
    2,461 Points
    • Development Tools
    • Introduction to the Terminal
    • The Command Shell
    • Command Arguments and Options

    1 Answer

  • Sylvania Cuffy
    Sylvania Cuffy
    2,461 Points

    We're in the macpan subdirectory within the games directory. Fill in the blanks to complete a command to change up to th

    Posted May 12, 2019 3:27am by Sylvania Cuffy
    Sylvania Cuffy
    2,461 Points
    • Development Tools
    • Introduction to the Terminal
    • The Command Shell
    • Command Arguments and Options

    4 Answers

  • Sylvania Cuffy
    Sylvania Cuffy
    2,461 Points

    Complete the final command to print out the contents of the a.txt file, with line numbers. (Hint: the option includes th

    Posted May 12, 2019 1:27am by Sylvania Cuffy
    Sylvania Cuffy
    2,461 Points
    • Development Tools
    • Introduction to the Terminal
    • The Command Shell
    • Command Arguments and Options

    0 Answers

  • Urenwa Nwokiwu
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Urenwa Nwokiwu
    Full Stack JavaScript Techdegree Graduate 16,390 Points

    I have been entering the -n a.txt and it's not working. What am I doing wrong?

    Posted May 6, 2019 8:23pm by Urenwa Nwokiwu
    .a{fill-rule:evenodd;}techdegree seal-36
    Urenwa Nwokiwu
    Full Stack JavaScript Techdegree Graduate 16,390 Points
    • Development Tools
    • Introduction to the Terminal
    • The Command Shell
    • Command Arguments and Options

    7 Answers

  • Pavani Chilakala
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Pavani Chilakala
    Full Stack JavaScript Techdegree Graduate 17,946 Points

    Complete the final command to print out the contents of the a.txt file, with line numbers. (Hint: the option includes th

    Posted May 2, 2019 8:41am by Pavani Chilakala
    .a{fill-rule:evenodd;}techdegree seal-36
    Pavani Chilakala
    Full Stack JavaScript Techdegree Graduate 17,946 Points
    • Development Tools
    • Introduction to the Terminal
    • The Command Shell
    • Command Arguments and Options

    1 Answer

  • Mark Chesney
    Mark Chesney
    11,747 Points

    print out the contents of the a.txt file, with line numbers. (Hint: the option includes the letter n.)

    Posted January 31, 2019 3:28am by Mark Chesney
    Mark Chesney
    11,747 Points
    • Development Tools
    • Introduction to the Terminal
    • The Command Shell
    • Command Arguments and Options

    3 Answers

Posting to the forum is only allowed for members with active accounts.
Please sign in or sign up to post.

    Treehouse

  • About
  • Blog
  • Careers
  • Community
  • Stories
  • Shop
  • Contact
  • Gift Card

See Full Catalogue

Techdegree

  • Front End Web Development
  • Full Stack JavaScript
  • Python Development
  • Data Analysis
  • UX Design

Tracks

  • Learn to Code for Beginners
  • Beginning Python
  • Beginning SQL
  • Beginning Java
  • ...see more

Courses

  • JavaScript Basics
  • Intro to HTML & CSS
  • Python Basics
  • CSS Layout
  • ...see more

Explore

  • Plans
  • Affiliates
  • Perks
  • Free Treehouse Near Me
  • Treehouse for Libraries
  • Treehouse for Businesses
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
Terms & Conditions | Privacy

© 2025 Treehouse Island, Inc.