Debian GNU/Linux : Guide to Installation and Usage by John Goerzen;Ossama Othman
page 80 of 298 (26%)
page 80 of 298 (26%)
![]() | ![]() |
|
looking at the directory tree, and nearly all commands work just the
same way no matter what physical device(s) your files are really on. Don't worry if all this isn't completely clear yet. There are many examples to come. Using Files: A Tutorial To use your system, you'll have to know how to create, move, rename, and delete files and directories. This section describes how to do so with the standard Debian commands. The best way to learn is to try things. As long as you aren't root (and haven't yet created any important personal files), you cannot mess up too seriously. Jump in - type each of these commands at the prompt and press Enter. pwd One directory is always considered the current working directory for the shell you're using. You can view this directory with the pwd command, which stands for Print Working Directory. pwd prints the name of the directory you're working in - probably /home/yourname. ls ls stands for ``list,'' as in ``list files.'' When you type ls, the system displays a list of all the files in your current working directory. If you've just installed Debian, your home directory may well be empty. If your working directory is empty, ls produces no output, because there are no files to list. cd / |
|