Thread: Urgent help on Linux...

  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
    5,108
    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

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, 01:56 AM