Topic Options
Rate This Topic
#134144 - 03/23/06 04:08 AM OT: Solaris Commands
tekkytommy Offline
journeyman

Registered: 03/11/04
Posts: 56
**
Hi All,

I am a windows person working on a Solaris box. I am ordering a Solaris beginners book. I went to Sun's website and I am going thru the extensive list of commands. I used Solaris maybe a year ago, briefly. I can not remember many of the commands. I will be using Solaris much more now.

I am on remote desktop connected to the Solaris box and I am trying to read some Remedy log files. I know how to navigate to the directory ("beginner's style).
How do I view the Remedy file contents on the screen, page up/down, copy the file from the remote system to my desktop c drive.

I am also looking for Remedy migrator on the box, and I am not sure where it is.


20060125This posting was submitted with HTML in it

Top
#134145 - 03/23/06 04:15 AM Re: Solaris Commands [Re: johnba]
rick cook Offline
Old Hand
*****

Registered: 07/03/01
Posts: 2984
**
To display the contents of directories, use the "ls" command (like "dir" in DOS) - to navigate among the directories, "cd" works just like in DOS, except the slashes are backward. Type "Help " to get a list of options for these - you'll want to use some. To work within a file, my preference is "vi", which is a standard Unix text editor. There are others, too, but that one was the sweet spot for me matching ease of learning and functionality.

Rick



From: Action Request System discussion list(ARSList) [mailto:arslist@ARSLIST.ORG] On Behalf Of Koyb P. Liabt
Sent: Thursday, March 23, 2006 8:08 AM
To: arslist@ARSLIST.ORG
Subject: OT: Solaris Commands


**
Hi All,

I am a windows person working on a Solaris box. I am ordering a Solaris beginners book. I went to Sun's website and I am going thru the extensive list of commands. I used Solaris maybe a year ago, briefly. I can not remember many of the commands. I will be using Solaris much more now.

I am on remote desktop connected to the Solaris box and I am trying to read some Remedy log files. I know how to navigate to the directory ("beginner's style).
How do I view the Remedy file contents on the screen, page up/down, copy the file from the remote system to my desktop c drive.

I am also looking for Remedy migrator on the box, and I am not sure where it is.


20060125This posting was submitted with HTML in it
20060125This posting was submitted with HTML in it

Top
#134146 - 03/23/06 04:19 AM Re: Solaris Commands [Re: johnba]
james_mckenzie1 Offline
journeyman

Registered: 03/14/06
Posts: 133
**
Koyb:

More or less are the commands that I use. more is a provided program and less is a better version if it is on your system.

Depending on your client you can use the up or down arrows to move line by line. Cntrl+B moves you back one full page and Cntrl+F wil move you forward one full page.

More can be found by reading through the man(ual) pages by typing in man more or man less.

James McKenzie
UNIX Guru (part time)
Remedy Administrator/Engineer



-----Original Message-----
From: Action Request System discussion list(ARSList) [mailto:arslist@ARSLIST.ORG]On Behalf Of Koyb P. Liabt
Sent: Thursday, March 23, 2006 9:08 AM
To: arslist@ARSLIST.ORG
Subject: OT: Solaris Commands


**

Hi All,

I am a windows person working on a Solaris box. I am ordering a Solaris beginners book. I went to Sun's website and I am going thru the extensive list of commands. I used Solaris maybe a year ago, briefly. I can not remember many of the commands. I will be using Solaris much more now.

I am on remote desktop connected to the Solaris box and I am trying to read some Remedy log files. I know how to navigate to the directory ("beginner's style).
How do I view the Remedy file contents on the screen, page up/down, copy the file from the remote system to my desktop c drive.

I am also looking for Remedy migrator on the box, and I am not sure where it is.


20060125This posting was submitted with HTML in it

20060125This posting was submitted with HTML in it

Top
#134147 - 03/23/06 04:26 AM OT: Solaris Commands [Re: johnba]
tekkytommy Offline
journeyman

Registered: 03/11/04
Posts: 56
ls, ls-l, cd, whoami, exit are the commands I use.
I typed vi and my screen appeared to be doing nothing. I believe I pressed
vi arfilter.log.
There was like a blank screen with > symbols. I could not get out of the
view I was in so I pressed ctrl+c, which did not work. I was hung so I shut
down the ssh application.
Then I received a letter from the administrator saying the application
abruptly closed.

Not sure how to read the actual file contents on the screen of error logs.
The file will be long so I need to be able to scroll up/down. I am in the
middle of fixing a bug, and I can't open the file to see the error in the
filter log. Can someone tell me what command I would enter to read a file?



**************:
Subj: Re: Solaris Commands Date: 3/23/2006 11:17:15 A.M. Eastern Standard
Time From: rcook@DENALIAI.COM (mailto:rcook@DENALIAI.COM) Reply-to:


UNSUBSCRIBE or access ARSlist Archives at http://www.ARSLIST.o

Top
#134148 - 03/23/06 04:36 AM Re: Solaris Commands [Re: johnba]
beanta Offline
enthusiast

Registered: 09/15/04
Posts: 313
**
If you have Samba shares set up on the server, you would be able to copy files directly to your networked Windows pc (see http://www.kempston.net/solaris/samba.html). Otherwise, I would suggest FTP to transfer files.
If you are reading the files from the server, you'll probably want to become familiar with 'vi' (see http://www.csb.yale.edu/userguides/wordprocess/videscrip.html). You can look at the man page ('man vi ') for a complete listing of vi commands. Other useful commands for reading text files on *nix:

cat
more
head
tail

Remedy Migrator only runs on Windows to my knowledge, although it can be used to migrate workflow between AR Servers on any platform.

HTH,

Thomas


----- Original Message -----
From: Koyb P. Liabt
Newsgroups: gmane.comp.crm.arsystem.general
Sent: Thursday, March 23, 2006 10:08
Subject: OT: Solaris Commands

**

Hi All,

I am a windows person working on a Solaris box. I am ordering a Solaris beginners book. I went to Sun's website and I am going thru the extensive list of commands. I used Solaris maybe a year ago, briefly. I can not remember many of the commands. I will be using Solaris much more now.

I am on remote desktop connected to the Solaris box and I am trying to read some Remedy log files. I know how to navigate to the directory ("beginner's style).
How do I view the Remedy file contents on the screen, page up/down, copy the file from the remote system to my desktop c drive.

I am also looking for Remedy migrator on the box, and I am not sure where it is.


20060125This posting was submitted with HTML in it

20060125This posting was submitted with HTML in it

Top
#134149 - 03/23/06 09:07 AM OT: Solaris Commands [Re: johnba]
tekkytommy Offline
journeyman

Registered: 03/11/04
Posts: 56
**
Hi All,

I found that I did not have access to the file I was trying to open, which is why the commands more, cat were not working.

Now I have access, however the filter log is 1000000 long and I need to be able to copy paste this file, and stop the screen to display one screen at a time instead of jumping to the end.

Which command would I use to stop and display segments of this file at a time.
I did install a tool, however I am not sure how to export this file Also to be able copy/paste this to an external source.

Is the UNIX Weekend Crash Course book the best book to learn Solaris 9? I am looking for a book that would help me in "simple English' terms". I am going for Solaris certification, I just want to be able to administer the Remedy Server.




20060125This posting was submitted with HTML in it

Top