Find the answer to your Linux question:
Page 1 of 3 1 2 3 LastLast
Results 1 to 10 of 30
Hi there! This is my first post and i'm a bit ashamed of the difficulty of the problem i'm facing. I have a task at my company to install and ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Feb 2007
    Posts
    15

    A total newbie


    Hi there! This is my first post and i'm a bit ashamed of the difficulty of the problem i'm facing.

    I have a task at my company to install and configure an advanced system including Asterisk, PHP, mysql, apache and get all this working.

    Now i have one problem! I'm a total newbie to linux!

    As first thing i wanted to check what is my distribution of linux is(because it is installed automaticly by this AsteriskNOW software CD) and start learning it. I found out that i can check the distribution by looking for some files in the /etc folder. So i learned how to move thorugh folders and how to list files and folder but i got a big problem now! my etc folder has many files that won't fit into one window, so i checked how to list page by page and i discovered ls | more command, but it turned out that this command only lists one page and i gets back to the shell blinking command line, and nothing happens when i press space (as described in the command - it should list the next page, but it's not listing anything).

    If it means anything at the boot up there is a message saying "Red Hat nash version 4.2.15" and the shell command line is in format: "sh-3.00#"

    Help please...

  2. #2
    Administrator MikeTbob's Avatar
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    7,864
    Try using ls -la /etc |more
    And don't be ashamed of being new to Linux.
    I do not respond to private messages asking for Linux help, Please keep it on the forums only.
    All new users please read this.** Forum FAQS. ** Adopt an unanswered post.

    I'd rather be lost at the lake than found at home.

  3. #3
    Just Joined!
    Join Date
    Feb 2007
    Posts
    15
    Hi Mike,


    Thanks for helping. I tried the command and i got a detailed list (with size, dates and times) but only for the first page - from a to d! How can i check the rest of the files (from d-z)?

  4. #4
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    Code:
    ls /etc | less
    use Up and Down arrow keys to move.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  5. #5
    Just Joined!
    Join Date
    Feb 2007
    Posts
    15
    same again, it lists the firts page and i have the shell line blinking. Page up and Page down does not make anything at all. I suppose it should list the first page and wait for my actions without the shell line blining for me, right?

    What is my problem?

  6. #6
    Administrator MikeTbob's Avatar
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    7,864
    My guess would be that it's doing this because of the shell you're using.
    sh-3.00#
    Try changing to bash
    Just type "bash" at the prompt then try again.
    EDIT: Use the space bar to scroll down.
    I do not respond to private messages asking for Linux help, Please keep it on the forums only.
    All new users please read this.** Forum FAQS. ** Adopt an unanswered post.

    I'd rather be lost at the lake than found at home.

  7. #7
    Just Joined!
    Join Date
    Feb 2007
    Posts
    15
    changed the bash, now it's [root@localhost etc]#, but i still can't pause a page. Only list a firts page and get's back to the copmmand line..

  8. #8
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    ls /etc and try Shift+Up and Down keys.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  9. #9
    Just Joined!
    Join Date
    Feb 2007
    Posts
    15
    Thanks a lot, devils_casper, shift + page up/down works!

    Now, where can i see what is the distribution of linux i have?

  10. #10
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    Code:
    cat /etc/issue
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

Page 1 of 3 1 2 3 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •