0

I followed an instruction to prepare LPIC and encounter such a find instruction

$ sudo find / -perm +6000 -type f
[sudo] password for Christine:
/lib64/dbus-1/dbus-daemon-launcher-helper
/home/Christine/bigprogram.sh
/sbin/pam_timestamp_check
/sbin/netreport
/sbin/unix_chkpwd
[...]
$

but when I tried ,

me@host:~$ sudo find / -perm +6000 -type f
find: invalid mode ‘+6000’

the book is 2015 version LPIC-1: Linux Professional Institute Certification Study Guide: Christine

How could I enable +6000 working on Ubuntu 18.10

1 Answer 1

3

According to man pages of find perm +mode is deprecated

-perm +mode
              This is no longer supported (and has been deprecated since 2005).  Use -perm /mode instead.

You can try:-

find / -perm /6000 -type f
2

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.