Tagged Questions
7
votes
2answers
961 views
How can you move (or copy) all files to a directory with the same filename prefix?
Using Bash
So let's say I have a bunch of files randomly placed in a parent directory ~/src, I want to grab all the files matching a certain suffix and move (or copy) them to a ~/dist directory.
...
4
votes
1answer
183 views
What's the name of the top-level directory
I am using Ubuntu.
I know by using cd ~/ , I can go to home/ directory.
But if I want to go to the directory (I do not know the official name of this directory) which contains etc/, var/, opt/, ... ...
6
votes
3answers
1k views
File and directory naming conventions
I want to refactor the files and directories on my system. However I am not sure what is best practice.
After reading this question and it's answers I assume the most important part is to be ...