Like Tree1Likes
  • 1 Post By phantomotap

Urgent help on Linux...

This is a discussion on Urgent help on Linux... within the Linux Programming forums, part of the Platform Specific Boards category; Code: /home/msabbar/sample_dir2 `-- sample_dir |-- admin |-- cambridge | |-- cafeteria | |-- library | `-- security | |-- annex ...

  1. #1
    Registered User
    Join Date
    Jan 2013
    Posts
    23

    Post Urgent help on Linux...

    Code:
    /home/msabbar/sample_dir2
    `-- sample_dir
        |-- admin
        |-- cambridge
        |   |-- cafeteria
        |   |-- library
        |   `-- security
        |       |-- annex
        |       |-- building
        |       `-- parking
        |-- faculty
        |-- history.exe
        |-- markham
        |   |-- annex
        |   |-- building1
        |   `-- parking
        `-- stenton
            |-- gen_ed
            |   |-- Holidays
            |   `-- cars2
            `-- lib_arts
                |-- english.txt
                `-- match.doc
    11 directories, 11 files


    Your current directory is stenton. Copy the first 300 lines of file
    ~bto120/phones to a new file called phone_directory in stenton. This file
    Last edited by blackendstars; 03-10-2013 at 01:52 PM.

  2. #2
    Registered User
    Join Date
    Jan 2013
    Posts
    23
    so i don't know the answer

    but i know you use -300 head in this
    Last edited by blackendstars; 03-10-2013 at 01:52 PM.

  3. #3
    Registered User
    Join Date
    May 2012
    Posts
    1,066
    Do you know about I/O-Redirecetion?

    BTW: Please don't change your questions with edits. I wanted to answer your other question but noticed that you modified it to this one while writing my answer.

    Bye, Andreas

  4. #4
    Registered User
    Join Date
    Jan 2013
    Posts
    23
    thanks i edit it out cuz i found the solution.....i found the solution to this question also
    it's head -300 ~bto120/phones > phone_directory

    since it's an assignment....only one answer is correct
    so i was having trouble finding the right one...

    thanks anyways for your help Andreas

  5. #5
    Master Apprentice phantomotap's Avatar
    Join Date
    Jan 2008
    Posts
    4,262
    since it's an assignment....only one answer is correct
    O_o

    This is "GNU/Linux" we are talking about; there are exactly 4,631,284,112 correct answers.

    Soma
    AndiPersti likes this.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. urgent please help!!
    By ali_1234 in forum C Programming
    Replies: 1
    Last Post: 03-24-2009, 12:38 PM
  2. This is an urgent message from Slackware Linux
    By SlyMaelstrom in forum Tech Board
    Replies: 8
    Last Post: 07-21-2006, 04:32 PM
  3. good ide for linux ( mandriva linux )
    By abhijeetnayak in forum Linux Programming
    Replies: 3
    Last Post: 05-28-2006, 05:49 AM
  4. need some (urgent) help
    By the Wookie in forum Tech Board
    Replies: 3
    Last Post: 06-27-2003, 07:51 AM
  5. Help! It's Urgent.
    By Mei Wah in forum C Programming
    Replies: 1
    Last Post: 03-22-2002, 12:56 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21