0
votes
1answer
73 views

What is the difference between ~ and / in paths [duplicate]

When I first log in to Unix on my Mac, I usually see a ~ after my username in the command line. However, if I look at the apps contained in that directory ~/Applications they are not all of my ...
1
vote
1answer
117 views

What is the “~/” directory?

I'm trying to locate where some files are stored and I can easily browse to them via ssh by going to "cd ~/foldername", however, I have no idea what directory "~/" actually is. When I browse around ...
0
votes
1answer
2k views

Looping over directory entries in bash and saving to an array

(See update at the foot of the question). This is a followup question to "Make directory copies using find". This question involved manipulating a bunch of directories, This got too complicated to ...
2
votes
2answers
108 views

how to have find on a directory with a changing pattern?

I have a folder structure like this: /domains/some-domain-1/applications/j2ee-apps /domains/some-domain-2/applications/j2ee-apps /domains/some-domain-3/applications/j2ee-apps What is the best way ...