Results 1 to 3 of 3

Thread: Need help with directories & files

  1. #1
    Junior Member
    Join Date
    Dec 2004
    Posts
    9

    Need help with directories & files

    1 -Linux, unlike msdos, does not show directories as directories, and files as files. How can you differentiate when doing a dir?

    2 - I downloaded FreePascal, saved a couple documents with OpenOffice, and everything went in the directory username@computername:~$. I'd like to make a couple subdirectories, but I'm afraid the path might not let the files be found unless I change it.

    3 - I have downloaded some PDF documents. I know Adobe Reader is in here someplace, but can't open the files to read.

    Any help is appreciated.

  2. #2
    Senior Member
    Join Date
    Nov 2003
    Posts
    1,323
    1. There's a "d" for directory at the beginning of ls -l output:
    markus@fujibox:~$ mkdir directory
    markus@fujibox:~$ touch file
    markus@fujibox:~$ ls -ld directory file
    drwx------ 2 markus markus 4096 Jan 3 19:26 directory
    -rw------- 1 markus markus 0 Jan 3 19:26 file

    2. Not sure I understand you.
    You can change the path in /etc/profile and make a directory with: mkdir dirname

    3. Try: apropos pdf
    It should give at least xpdf and kghostview

  3. #3
    Junior Member
    Join Date
    Dec 2004
    Posts
    9
    Thanks Marcus, and sorry for the lack of clarity in my questions. Being new to Linux and used to msdos, the difference in which directory contents are displayed had me a little confused. In one of the Linux books I'm reading, the author says to forget everything the reader ever knew about msdos.

    Got the PDF files open ok.

Similar Threads

  1. Missing Directories
    By AndersonSS in forum General Support
    Replies: 1
    Last Post: 07-13-2005, 05:25 PM
  2. Exploring file directories
    By Jan deBoer in forum General Support
    Replies: 1
    Last Post: 09-10-2004, 04:37 PM
  3. Directories that need RW
    By davidc in forum Customising & Remastering
    Replies: 0
    Last Post: 04-15-2004, 08:15 PM
  4. /etc/rc directories
    By Alexxx in forum General Support
    Replies: 0
    Last Post: 03-03-2004, 11:37 AM
  5. permissions for directories and files
    By mikji in forum General Support
    Replies: 2
    Last Post: 10-24-2003, 09:52 PM

Posting Permissions

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


Cisco/Linksys SPA2102 VoIP Phone Adapter Router 2FXS (Unlocked) picture

Cisco/Linksys SPA2102 VoIP Phone Adapter Router 2FXS (Unlocked)

$17.99



Grandstream WP810 Portable Cordless Wi-Fi IP Phone picture

Grandstream WP810 Portable Cordless Wi-Fi IP Phone

$54.99



Yealink MP54 - VoIP Phone - Black Teams phone Android POE WIFI Bluetooth picture

Yealink MP54 - VoIP Phone - Black Teams phone Android POE WIFI Bluetooth

$49.95



Lot of 35 Polycom VVX 300 & VVX400 IP Phones picture

Lot of 35 Polycom VVX 300 & VVX400 IP Phones

$150.00



Yealink SIP-T58W-PRO Gigabit VoIP IP Phone 7

Yealink SIP-T58W-PRO Gigabit VoIP IP Phone 7" Touchscreen Wi-Fi Bluetooth PoE

$324.99



Cisco CP-8821-K9 Wireless VoIP Phone w/ Battery - WORKING picture

Cisco CP-8821-K9 Wireless VoIP Phone w/ Battery - WORKING

$144.99



Lot Of 16: Polycom VVX 501 VoIP Touchscreen Desktop Phone W/Handsets & Stands picture

Lot Of 16: Polycom VVX 501 VoIP Touchscreen Desktop Phone W/Handsets & Stands

$150.00



Verizon Yealink SIP-T54W IP Phone Gigabit WiFi Bluetooth VoIP Excellent Tested picture

Verizon Yealink SIP-T54W IP Phone Gigabit WiFi Bluetooth VoIP Excellent Tested

$37.99



Cisco CP-8832-K9 V06 IP Conference Phone With PoE New picture

Cisco CP-8832-K9 V06 IP Conference Phone With PoE New

$99.99



Yealink SIP-T48S Gigabit IP Phone Complete Unused picture

Yealink SIP-T48S Gigabit IP Phone Complete Unused

$64.95