1 Cmd#1 on Machine HPMC7 User root
(ndxNo=1 Cmd# No=1 on Machine HPMC7 User root no_tm_u_h_cwd=2:39:15 root@HPMC7 /tmp u_h=root@HPMC7)
BASH 2:39:15 root@HPMC7 /tmp # whichma x+ "*"
whichma to get all the executable, the + option if to treat * as a regular expression
2 Cmd#2 on Machine HPMC7 User root
(ndxNo=2 Cmd# No=2 on Machine HPMC7 User root no_tm_u_h_cwd=2:39:28 root@HPMC7 /tmp u_h=root@HPMC7)
BASH 2:39:28 root@HPMC7 /tmp # whichma X+ "*"
whichma to get all the not executable
3 Cmd#3 on Machine HPMC7 User root
(ndxNo=3 Cmd# No=3 on Machine HPMC7 User root no_tm_u_h_cwd=2:39:38 root@HPMC7 /tmp u_h=root@HPMC7)
BASH 2:39:38 root@HPMC7 /tmp # whichma X+f "*"
whichma to get all the not executable and show their MIME types
4 Cmd#4 on Machine HPMC7 User root
(ndxNo=4 Cmd# No=4 on Machine HPMC7 User root no_tm_u_h_cwd=2:39:45 root@HPMC7 /tmp u_h=root@HPMC7)
BASH 2:39:45 root@HPMC7 /tmp # whichma X+fp "*"
whichma to get all the not executable, show their MIME types, and their permission bits
5 Cmd#5 on Machine HPMC7 User root
(ndxNo=5 Cmd# No=5 on Machine HPMC7 User root no_tm_u_h_cwd=2:40:29 root@HPMC7 /tmp u_h=root@HPMC7)
BASH 2:40:29 root@HPMC7 /tmp # whichma Xx+iRl "*start*"
whichma to get show any directory or file that has the word 'start', the R option for colorful display when matching the regex, the i to ignore case, and the l option to follow symbolic link
6 Cmd#6 on Machine HPMC7 User root
(ndxNo=6 Cmd# No=6 on Machine HPMC7 User root no_tm_u_h_cwd=2:42:25 root@HPMC7 /tmp u_h=root@HPMC7)
BASH 2:42:25 root@HPMC7 /tmp # whichma Xx+iRl "*enable*"
whichma to get show any directory or file that has the word 'enable'
7 Cmd#7 on Machine HPMC7 User root
(ndxNo=7 Cmd# No=7 on Machine HPMC7 User root no_tm_u_h_cwd=2:42:32 root@HPMC7 /tmp u_h=root@HPMC7)
BASH 2:42:32 root@HPMC7 /tmp # whichma Xx+iRl "*enable|start*"
blablabla
etc......
whichma to get show any directory or file that has the word 'enable' or the word 'start'
8 Cmd#8 on Machine HPMC7 User root
(ndxNo=8 Cmd# No=8 on Machine HPMC7 User root no_tm_u_h_cwd=2:42:38 root@HPMC7 /tmp u_h=root@HPMC7)
BASH 2:42:38 root@HPMC7 /tmp # whichma Xx+iRf "server*"
whichma to get show any file that has the word 'server'
9 Cmd#9 on Machine HPMC7 User root
(ndxNo=9 Cmd# No=9 on Machine HPMC7 User root no_tm_u_h_cwd=2:42:44 root@HPMC7 /tmp u_h=root@HPMC7)
BASH 2:42:44 root@HPMC7 /tmp # whichma xXR ".*"
show only these directories ending with a directory or file that start with a period
10 Cmd#10 on Machine HPMC7 User root
(ndxNo=10 Cmd# No=10 on Machine HPMC7 User root no_tm_u_h_cwd=2:42:59 root@HPMC7 /tmp u_h=root@HPMC7)
BASH 2:42:59 root@HPMC7 /tmp # whichma xX+R ".*"
show any directory or file that has a period
11 Cmd#11 on Machine HPMC7 User root
(ndxNo=11 Cmd# No=11 on Machine HPMC7 User root no_tm_u_h_cwd=2:43:8 root@HPMC7 /tmp u_h=root@HPMC7)
BASH 2:43:8 root@HPMC7 /tmp # whichma xX+ "*"
everything executable or not
12 Cmd#12 on Machine HPMC7 User root
(ndxNo=12 Cmd# No=12 on Machine HPMC7 User root no_tm_u_h_cwd=2:43:18 root@HPMC7 /tmp u_h=root@HPMC7)
BASH 2:43:18 root@HPMC7 /tmp # whichma xX+f "*"
everything executable or not, and show the MIME file types
13 Cmd#13 on Machine HPMC7 User root
(ndxNo=13 Cmd# No=13 on Machine HPMC7 User root no_tm_u_h_cwd=2:43:34 root@HPMC7 /tmp u_h=root@HPMC7)
BASH 2:43:34 root@HPMC7 /tmp # whichma + "*"
everything executable
14 Cmd#14 on Machine HPMC7 User root
(ndxNo=14 Cmd# No=14 on Machine HPMC7 User root no_tm_u_h_cwd=2:43:41 root@HPMC7 /tmp u_h=root@HPMC7)
BASH 2:43:41 root@HPMC7 /tmp # whichma +f "*"
everything executable with MIME type
15 Cmd#15 on Machine HPMC7 User root
(ndxNo=15 Cmd# No=15 on Machine HPMC7 User root no_tm_u_h_cwd=2:43:53 root@HPMC7 /tmp u_h=root@HPMC7)
BASH 2:43:53 root@HPMC7 /tmp #
#