Which Unix commands are available in the PacketShaper command-line?


<< Back to Knowledge Search

Solution

Overview

The following Unix-like commands are available from the PacketShaper command-line.  However, all options normally found in the equivalent Unix command may not be present:

  • Commands and filenames are case insensitive while command options are not.
  • Shell globbing is present so * and ? as wildcards are not available. 
  • These commands cannot be executed within a command file and  they will not be available for command scheduling.

 

cat - Output a file

usage: cat [-benstv] filename...

 

cd - Change directory

usage: cp <file1> <file2>

 

cp - Copy a file

usage: cp [-i] src target; or: cp [-irR] src1 ... srcN directory

 

echo - Display a line of text

usage: echo <string>

 

head - Display the first part of file

usage: head [-n] filename...

 

ls - Display directory listing on flash-disk. Use -l for details.

usage: ls [-lR] [filename...]

 

mkdir - Make directory

usage: mkdir [-p] dirname ...

 

more - Display a file a screen at a time

usage: cat [-benstv] filename...

 

mv - Move/rename a file

usage: mv [-if] src target; or: mv [-if] src1 ... srcN directory

 

rm - Remove a file

usage: rm [-rif] filename...

 

rmdir - Remove a directory

usage: rmdir directory ...

 

tail - Display the last part of file

usage: tail [+|-number[lc]] filename

 

Cause
Resolution
Workaround
Additional Information
Bug Number
InQuira Doc IdFAQ541
Attachment

Article Feedback

Hide Properties
First Published      10/01/2014
Last Modified      10/01/2014
Last Published      10/01/2014
Article Audience
Product      PacketShaper 10000, PacketShaper 1400, PacketShaper 1700, PacketShaper 3500, PacketShaper 7500, PacketShaper 900
Article Number      000015961
Summary     
Was this helpful?
Comments:
 
Previous MonthNext Month
SunMonTueWedThuFriSat