The command has to be  ls -ld   Just from viewing the output of this, how can I determine how many files are in this directory?
How can number of subdirectories and files be determined from the output of using ls -ld command?  I realize that this command only lists the directories.
How to reload a gem on every request in Development mode? What (if any) countries are either open to or have set definitive plans to allow international tourism? Order of the Rubik's cube group Product rule intuition Can anyone think of an intuitive explanation of the product rule? I'm not asking for a derivation. To me it seems like quite an un-untuitive result, as apposed to the chain-rule (which is ironically harder to derive). How does a credit card company make any money off of me using their card if there are no fees associated with the card (I don't pay any extra) and I pay off my balance on time every month (so I don't pay any fees ever for this either).  Are they just banking on the fact that many people don't do this and end up owing them money? In Bash, when to alias, when to script, and when to write a function? Is $D_n$, the dihedral group of order $2n$, isomorphic to a subgroup of $S_n$ ( symmetric group of $n$ letters) for all $n&gt;2$? Seeking neighborhood boundaries globally? Besides Zillow's creative-commons licensed  shapefiles, what sources of neighborhood boundaries are there? Not just in the US, but all over the world.  Free/open source is ideal, but paid sources could be interesting too. Provide a means to reward users and their answers (decoupled from bounties) How can I find the codes related to a function in GAP? When I use "??" in front of the name of function there is no help, so I want to find the code of function among packages. Is "gift" accepted as a verb? I have always argued adamantly, as long as the issue has been around, that gift should never be used as a verb. However, someone whose English knowledge I quite respect disagrees.  I’ve done some searching and I haven’t found a consensus; should gifting be shunned? Computing $\int_{0}^{\pi}\ln\left(1-2a\cos x+a^2\right) \, dx$ Why do Lambertian Reflectors Privilege the Observer? How to find all subgroups of a direct product? I am wondering how do we find all subgroups of a direct product? Is there a method to find it?  For example, how can we find all the subgroups of $\mathbb{Z}_2\times\mathbb{Z}_2$?  There is the answer: $\{(0, 0), (1, 0)\}, \{(0, 0), (0, 1)\}, \{(0, 0), (1, 1)\}$, and the improper and trivial subgroup. But I do not know the method how to find it.   All I can think about is the following: since the order of $\mathbb{Z}_2\times\mathbb{Z}_2$ is $4$, the order of a subgroup of it can be $1,2$ or $4$.   If order is $1$, then it is trivial, and if order is $4$, it is proper. Then, the order of a subgroup is $2$. We know all the elements of   $\mathbb{Z}_2\times\mathbb{Z}_2$, so we try all the pairs.   Is that the method?   But what if we are given a bigger order product, such as $\mathbb{Z}_2\times\mathbb{Z}_8\times\mathbb{Z}_3\times\mathbb{Z}_9$? It looks very long to try all possibilities.   Can anyone help?  Thanks 90s (or earlier) Japanese anime movie: two planets at war, young man is in love with princess from the other planet, and floods his own village I would like to find out the title of a Japanese anime feature film (not a series) that I saw on Romanian TV in the early 90s.   It was about a feud between the peoples of two planets (one very technologically advanced, the other not). The two planets go to war against each other, and a young man from one of the planets falls in love with a princess from the other planet.  I recall a scene where the army of the second planet take off in hot air balloons when they go to war.  The only other thing I recall is that there is a dam next to the village where the young man lives, and for some reason he opens the dam gates and floods his own village.   I do not recall there being robots in the movie, however I remember very vaguely that the technology level was probably at the level of late 19th century Europe on one planet and pre-industrial on the other one.  What it's not:   Nobunaga the Fool Aldnoah Zero Queen Millennia Uchuu Senkan Yamato (movie) What is the opposite of postpone? I have two large external drives with about 2.5 TB of data. About half the storage is images and videos that I want to put on a new NAS drive/device. I don’t want to carry over junk, duplicates and non photo/video files.   I am hoping Lightroom can help scour the mounds of folder structures on these drives and copy images/videos the new drive that I want to catalogue and keep clean as a working platform for all images and video. Once completed I plan to format the original drives and copy the cleaned-up content back to them as part of a backup strategy.  Can Lightroom help? If so, how? If not, is there some other application for Mac OS X that I can use for help with this? One problem I had with my original attempt is I wasn't sure how to move images and rename folders to get the new drive contents to make sense, so I formatted it and am looking to try again.  (steps for this operation would be helpful) How to shut down the computer safely by pressing the power button? So this is pretty simple: when I press the power button whilst the machine is on, it comes up with a menu (of which one of the options is to shutdown)  However, I just want it to just start shutting down once I press the power button without any further interaction!  How do I accomplish this? Set normal orientation of origin I want to change the orientation of my object to a specified direction.  Say I have an axle of a train whose normal orientation is set off by 90° from the global orientation:    The green arrow (Y-axis) points to the back of the train (along the global X-axis). But I want it to point to the sides of the train, so all I want is to rotate the orientation by 90° without rotating the object itself.  In other words, I want the normal and global orientation of the axle to be the identical:    Is this possible and if so, how?  Background: The game engine to use this model will move the bogies and the axles according to their orientations. After importing this train into the game the axles rotated 90° off. I understand that when I press and release the power button on the top of my iPhone or iPad, it stays on but turns off the screen.  Whereas if I press and hold the power button, a "slide to turn off" control appears on the screen.  Sliding this, as I was told, does turn the unit off, but it does so by suspending the RAM to disk (flash memory, actually.) So, when turning on the iPhone or iPad, it isn't so much rebooting the OS as it is resuming it from flash storage.  How to force the OS to completely reboot on these devices?