Page 1 of 1

Trying out the command line for the first time

Posted: 19. Aug 2012, 15:34
by punchy71
I was going through the Salix mini walkthroughs in the online manual on page 37 "working with the command line interface" tutorial. It shows new users how to use the command line interface for the first time. I was trying to see the contents of my user directory with the command "ls" at the "myname[~]$" prompt and nothing came up. What did I do wrong?

Thank you

Re: Trying out the command line for the first time

Posted: 19. Aug 2012, 16:02
by Tim CowChip
Either you have nothing in the directory that you were in when you ran the command or you did something wrong.

If you use a flag like

Code: Select all

ls -a
all files and folders including hidden ones (with a leading "." in their name, like .config) will be listed.

Hacker Public Radio has a really good in depth series "Linux in the Shell" by Dann Washko. http://hackerpublicradio.org/series.php?id=67 there's a link on the page for a video as well.

Re: Trying out the command line for the first time

Posted: 19. Aug 2012, 17:52
by punchy71
okay that worked, thank you.