current working directory of a process
1
vote
8answers
96 views
remove content of directory in elegant way
I would like to remove all content of the current working directory.
How to do it in efficient and elegant way?
I have several files, directories and some of them starts with dot, like:
touch .abc; ...
2
votes
2answers
86 views
Resolving symbolic links (pwd)
Say I do the following:
cd /some/path
ln -s /target/path symbolic_name
If then do:
cd /some/path
cd symbolic_name
pwd
I get:
/some/path/symblic_name
and not:
/target/path
Is there a way to ...