how stop a so long find command

Linux on System z, Linux on zSeries, Linux/390, zLinux, z/Linux, z/VM & UNIX Shell services. IBM OS/360, OS/370, MVS, OS/390, TPF, VM/CMS, VM/ESA, VSE/ESA, z/VSE, z/OS.
User avatar

Topic author
demecarv
Registered Member
Posts: 52
Joined: Sat Sep 12, 2015 2:03 am

how stop a so long find command

Postby demecarv » Fri Oct 09, 2015 12:03 am

I was lloking for Endorsed folder under certain Websphere folder and I typed accidently find . endorsed instead of find . -name 'endorsed'. It has bee finding tousands files and I want to stop the find process but I couldn't. I tried:
1 - control C
2 - control D
3 - control Z
4 - quit
5 - QUIT
6 - Quit
7 -QuitAll
8 - exit
9 - close

All have not effect at all and the screen keeps to show me files as it is an infinite list.




enrico-sorichetti
Global Moderator
Global Moderator
Posts: 823
Joined: Wed Sep 11, 2013 3:57 pm
Been thanked: 69 times

Re: how stop a so long find command

Postby enrico-sorichetti » Fri Oct 09, 2015 1:01 am

not enough info to provide a reply.


cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort 8-)

User avatar

Topic author
demecarv
Registered Member
Posts: 52
Joined: Sat Sep 12, 2015 2:03 am

Re: how stop a so long find command

Postby demecarv » Fri Oct 09, 2015 2:40 am

I was in Unix console after typed omvs. Then, I entered in certain websphere folder and I typed the find command wrongly which started an infinite finding process. How can I stop this?




William Collins
Global Moderator
Global Moderator
Posts: 499
Joined: Sun Aug 25, 2013 7:24 pm
Has thanked: 1 time
Been thanked: 25 times

Re: how stop a so long find command

Postby William Collins » Fri Oct 09, 2015 4:03 am

Maybe the PA1 key? Then logoff or exit. If that doesn't work, get the OPS to cancel your TSO session. There may be neater ways :-)




Return to “zLinux, USS and other Operating Systems for Mainframes.”

Who is online

Users browsing this forum: CommonCrawl [Bot] and 0 guests