Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ls -a example #847

Open
solevillar opened this issue Sep 26, 2018 · 1 comment
Open

Add ls -a example #847

solevillar opened this issue Sep 26, 2018 · 1 comment

Comments

@solevillar
Copy link

@solevillar solevillar commented Sep 26, 2018

Adding a ls -a example would give the opportunity to explain that . points to the current directory and .. points to the parent directory and will help students understand how to navigate the file system with
cd ..
./something
etc

@rgaiacs
Copy link
Contributor

@rgaiacs rgaiacs commented Sep 27, 2018

Adding a ls -a example

I think we had one and as far as I check we have.

The special directory .. doesn't usually show up when we run ls. If we want
to display it, we can give ls the -a flag:

$ ls -F -a

{: .language-bash}

./   .bash_profile  data/       north-pacific-gyre/  pizza.cfg  thesis/
../  creatures/     molecules/  notes.txt            solar.pdf  writing/

{: .output}

-a stands for "show all";

@solevillar Thanks for the issue. Could you expand what you want to change? If the text that we have on episode 02 is good enough, could you close this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants