Ubuntu blinking cursor

ManieyaK_
ManieyaK_ used Ask the Experts™
on
What does it mean in Ubuntu after entering command in terminal, no output just blinking cursor?  I'm trying to find directories that don't have a valid group owner using the following command  sudo find / -nogroup
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Principal Software Engineer
Commented:
This usually means that the command is incomplete and more arguments are expected.  However, in this instance that is not the case.

On Debian (from which Ubuntu is derived):

root:/var/log/apache> find / -nogroup
find: â/proc/2944/task/2944/fd/6â: No such file or directory
find: â/proc/2944/task/2944/fdinfo/6â: No such file or directory
find: â/proc/2944/fd/5â: No such file or directory
find: â/proc/2944/fdinfo/5â: No such file or directory
/var/lib/systemd/timesync
/var/lib/systemd/timesync/clock
/usr/src/pcre/pcre-8.43
(on, and on, and on)
/usr/src/pcre/pcre-8.43/config-cmake.h.in
/usr/src/pcre/pcre-8.43/libpcrecpp.pc.in
root:/var/log/apache>

Open in new window


It may mean that the find command is still processing.  On something like a Raspberry Pi running off SD I would not be surprised if this command took an hour.

Put the session in the background, then bring up top and see what is going on.  Alternatively, run the find command in screen, pop out of screen, then bring up top.
David FavorFractional CTO
Distinguished Expert 2018

Commented:
Running the command you mention can take a very long time.

If you hit <CR> after the above command, it will run... till finished...

You can easily test this...

net16 # mkdir foo

net16 # cd foo

net16 # touch foo

net16 # chgrp 100000 foo

net16 # find . -nogroup
./foo

Open in new window


This will show you find is working as expected.
ManieyaK_CSSP

Author

Commented:
Thanks guys.
David FavorFractional CTO
Distinguished Expert 2018

Commented:
You're welcome!

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial