Original Message:
Sent: 11-01-2024 10:24
From: Nikolay Semov
Subject: SRX shell is ls command at initial folder performs weird action
Looks like that is the contents of your home folder. I can't tell you how many times I run a command that shows a multi-page listing, and I don't realize it's at the --More-- prompt and I start typing the next command, then look up see I'm typing at a "Filename:" prompt. I think "s" is the key to start saving output to a file, which would explain the missing leading "s" from all those filenames there.
------------------------------
Nikolay Semov
Original Message:
Sent: 11-01-2024 10:13
From: JOHN WILLIAMSON
Subject: SRX shell is ls command at initial folder performs weird action
The same results as the ls command but with file details.
% ls -l
total 1840
-rw-r--r-- 1 radiusAdmin 20 7516 May 16 2023 SendingSyslog
-rw-r--r-- 1 radiusAdmin 20 0 Apr 10 2024 a.john_williamson@NONL-SRX01# delete security utm
-rw-r--r-- 1 radiusAdmin 20 1566 Jan 18 2023 et security ike gateway AVUSD_VPN external-interface ae1.0
-rw-r--r-- 1 radiusAdmin 20 110695 May 2 2023 et security policies from-zone trust to-zone untrust policy AVUSD_Student_Web_Filter description "To filter devices on student wifi network when local filter is not in place."
-rw-r--r-- 1 radiusAdmin 20 110695 May 2 2023 et security policies from-zone trust to-zone untrust policy AVUSD_Student_Web_Filter match application junos-defaults
-rw-r--r-- 1 radiusAdmin 20 110695 May 2 2023 et security policies from-zone trust to-zone untrust policy AVUSD_Student_Web_Filter match destination-address any
-rw-r--r-- 1 radiusAdmin 20 110695 May 2 2023 et security policies from-zone trust to-zone untrust policy AVUSD_Student_Web_Filter match dynamic-application any
-rw-r--r-- 1 radiusAdmin 20 110695 May 2 2023 et security policies from-zone trust to-zone untrust policy AVUSD_Student_Web_Filter match source-address RV_Student_Wifi
-rw-r--r-- 1 radiusAdmin 20 110695 May 2 2023 et security policies from-zone trust to-zone untrust policy AVUSD_Student_Web_Filter match source-address SR_Student_Wifi
-rw-r--r-- 1 radiusAdmin 20 110695 May 2 2023 et security policies from-zone trust to-zone untrust policy AVUSD_Student_Web_Filter match source-identity any
-rw-r--r-- 1 radiusAdmin 20 110695 May 2 2023 et security policies from-zone trust to-zone untrust policy AVUSD_Student_Web_Filter then permit application-services utm-policy wf-global-students
-rw-r--r-- 1 radiusAdmin 20 5564 Mar 17 2023 how
-rw-r--r-- 1 radiusAdmin 20 3996 Sep 20 2022 q
------------------------------
JOHN WILLIAMSON
Original Message:
Sent: 11-01-2024 02:07
From: Ulf
Subject: SRX shell is ls command at initial folder performs weird action
Can you please show an 'ls -l'?
Original Message:
Sent: 10-31-2024 11:35
From: JOHN WILLIAMSON
Subject: SRX shell is ls command at initial folder performs weird action
On our SRX, when a run the "start shell " command, I get the % prompt, but when I try to run the simple ls command it does not show the directory list. It sends something to the Suyslog. Here is an example.
% ls
SendingSyslog
a.john_williamson@NONL-SRX01# delete security utm
et security ike gateway AVUSD_VPN external-interface ae1.0
et security policies from-zone trust to-zone untrust policy AVUSD_Student_Web_Filter description "To filter devices on student wifi network when local filter is not in place."
et security policies from-zone trust to-zone untrust policy AVUSD_Student_Web_Filter match application junos-defaults
et security policies from-zone trust to-zone untrust policy AVUSD_Student_Web_Filter match destination-address any
et security policies from-zone trust to-zone untrust policy AVUSD_Student_Web_Filter match dynamic-application any
et security policies from-zone trust to-zone untrust policy AVUSD_Student_Web_Filter match source-address RV_Student_Wifi
et security policies from-zone trust to-zone untrust policy AVUSD_Student_Web_Filter match source-address SR_Student_Wifi
et security policies from-zone trust to-zone untrust policy AVUSD_Student_Web_Filter match source-identity any
et security policies from-zone trust to-zone untrust policy AVUSD_Student_Web_Filter then permit application-services utm-policy wf-global-students
how
q
If I do a couple cd .. commands and get to a different folder in the system, then the UNIX ls commands work. What is going on ?
------------------------------
JOHN WILLIAMSON
------------------------------