-
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.
-
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
-
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
-
By AndersonSS in forum General Support
Replies: 1
Last Post: 07-13-2005, 05:25 PM
-
By Jan deBoer in forum General Support
Replies: 1
Last Post: 09-10-2004, 04:37 PM
-
By davidc in forum Customising & Remastering
Replies: 0
Last Post: 04-15-2004, 08:15 PM
-
By Alexxx in forum General Support
Replies: 0
Last Post: 03-03-2004, 11:37 AM
-
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
-
Forum Rules

Dell Poweredge R720 8SFF 2.5" x Xeon E5-2680 v2 2.8GHz 20-Cores 128gb 4x Trays
$349.99

Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram 2x 550W PSU No HDD
$275.00

Dell PowerEdge R730XD Server 2x E5-2695 V4 = 36 Cores H730p 32GB RAM 4x trays
$649.99

Dell PowerEdge R420 Rack Server Intel Xeon 1.90GHz Six-Core 8GB DDR3 RAM
$95.00

Dell Poweredge R720 8SFF 2.5" 2x Xeon E5-2680 v2 2.8GHz 20-Cores 64gb 4x Trays
$259.99

Dell Poweredge R740 8 Bay LFF 3.5" 2U Rack Server DUAL XEON GOLD CPUs HOMELAB US
$399.94

Dell PowerEdge R620 2x Xeon E5-2630 v2 3.1GHz 2.5" 4-BAY 32GB RAM No OS 2x 495w
$174.95

Dell PowerEdge XC430 / R430 Server 2x E5-2620v4 2.10Ghz No RAM 2x 200GB SSD 4Bay
$164.95

Dell PowerEdge R530 2x E5-2630v4 H330 iDRAC8 Port Card Riser No PSU/RAM/HDD
$99.99

Dell Poweredge R630 2x Xeon E5-2680 v3 2.5ghz 24-Cores / 64gb / Raid / 2x 1Tb
$374.99