Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision Next revision Both sides next revision | ||
cd [2015/08/05 10:28] steve created |
cd [2015/08/05 10:29] steve |
||
---|---|---|---|
Line 3: | Line 3: | ||
=== Tips and Tricks === | === Tips and Tricks === | ||
- | If you don't know what the parent folder's name is, but you do know the child folder's name is, you can use ''cd */foo/** to get there. | + | If you don't know what the parent folder's name is, but you do know the child folder's name is, you can use ''cd */foo'' to get there. |
Examples: I'm in a ports system (OpenBSD, Gentoo, etc), and I know I'm looking for package name mplayer, but I don't know what category it's in: | Examples: I'm in a ports system (OpenBSD, Gentoo, etc), and I know I'm looking for package name mplayer, but I don't know what category it's in: | ||
Line 10: | Line 10: | ||
cd */mplayer/ | cd */mplayer/ | ||
</code> | </code> | ||
+ | |||
+ | If two of the same child directories exist in more than one of the parent folders, then ''cd'' will go into the first one it finds. |