[LBo] Displaying Directories

Stefan Waidele St.Waidele at LinuxBasics.org
Sat Jul 14 12:18:07 CEST 2007


pip wicke schrieb:
> Hello everyone! This is my very first post. I just hope that you
> don't think it too stupid. Well here goes!

People who manage to subscribe and post cannot be stupid :)


I do not have Mandriva installed, so I can only give you general
instructions, which will work in any linux-distribution

I will do so in a terminal-window (aka "the command line"). So open one
of these "xterm", "konsole", "gnome-terminal" or anything that let's you
type in commands via keyboard. (If all fails, press alt-f2 and type "xterm")

In order to LiSt the directory content, you need the "ls" command. Try
it out: Type "ls" and press the return/enter key. You see what you have
inside the current directory. If your .tar.bz2 file is not in this
directory, you need to change the Current Directory, using the "cd"
command, e.g. "cd Downloads"

> I am trying to install the latest version of Skype 1.4 onto my
> computer. The file which is in the .tar.bz2 format

If you see this .tar.bz2 file, you need to extract it using "tar xvfj
whatever-filename.tar.bz2"

Chances are, the contents is extracted into a new directory into which
you can "cd" into.

> and in order that
> it will function properly i will have to move certain files and place
> them in other directories.

"mv" is the command to MoVe stuff around. "mv this-file that-dircetory/"
moves this-file into that-directory. Try hitting the tab-key after you
typed some characters of the filename. If possible, the
commandline-shell will automatically complete it for you. Saves a lot of
typing and typos :)

> So would someone take pity on this old
> n00b and tell him how he can display all the directories in the Linux
> "Mandriva" file system.

If the "tree" command is installed, typing "tree -d / | less" will
display the whole directory tree. Although I doubt that this is what you
want, you can page through it using the cursor-keys and exit the whole
thing by pressing "q".

Stefan


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
Url : http://LinuxBasics.org/pipermail/qna/attachments/20070714/411daa08/attachment-0001.pgp 


More information about the QnA mailing list