User`s guide
50 XgOS User’s Guide • September 2014
Example: Archive and Compress
To create an archive then compress it:
Example: Upload and Download
To upload a file named “foo.gz”toftp.xsigo.com:
To download the file named “recent_config.xml”:
Example: Search for Text in a File
To find the text “foobar” in the file “myfile” and include the line number:
show tech-support > mydebug
file copy mydebug
scp://joeuser@computefarm06.xsigo.com/homes/joeuser/mydebug.txt
joeuser@computefarm06.xsigo.com's password:
Copying...
####################################################################### [100%]
file archive -noconfirm foo.tar file1 file2
file compress foo.tar
file upload foo.gz
foo.gz
################################################# [100%]
file download recent_config.xml
Downloading...
################################################# [100%]
recent_config.xml
file search foobar -linenumbers myfile
15:foobarq