2 added 18 characters in body
source | link

Try something like this:-

path1="/etc/passwd" path2="/var/log/secure"

[root@localhost base_filters]# ls -l "$path1" "$path2" -rw-r--r--. 1 root root 1876 Mar 10 22:15 /etc/passwd -rw-------. 1 root root 2408 Apr 5 23:09 /var/log/secure

path1="/etc/passwd"
path2="/var/log/secure"

[root@localhost base_filters]# ls -l "$path1" "$path2"
-rw-r--r--. 1 root root 1876 Mar 10 22:15 /etc/passwd
-rw-------. 1 root root 2408 Apr  5 23:09 /var/log/secure

Try something like this:-

path1="/etc/passwd" path2="/var/log/secure"

[root@localhost base_filters]# ls -l "$path1" "$path2" -rw-r--r--. 1 root root 1876 Mar 10 22:15 /etc/passwd -rw-------. 1 root root 2408 Apr 5 23:09 /var/log/secure

Try something like this:-

path1="/etc/passwd"
path2="/var/log/secure"

[root@localhost base_filters]# ls -l "$path1" "$path2"
-rw-r--r--. 1 root root 1876 Mar 10 22:15 /etc/passwd
-rw-------. 1 root root 2408 Apr  5 23:09 /var/log/secure
1
source | link

Try something like this:-

path1="/etc/passwd" path2="/var/log/secure"

[root@localhost base_filters]# ls -l "$path1" "$path2" -rw-r--r--. 1 root root 1876 Mar 10 22:15 /etc/passwd -rw-------. 1 root root 2408 Apr 5 23:09 /var/log/secure