2
votes
2answers
1k views

Putty: login, execute command/change environment variable, and do NOT close the session

I would like to configure my PuTTY session in such a way that I could login to a remote host, and (a) start bash (b) change the PS1 variable (prompt content) (c) continue work in the session as ...
1
vote
3answers
266 views

Open man-page with less [duplicate]

Possible Duplicate: How to let man utility to use less to display manual rather than more? How can i open up the Man-page for a command with the less-editor? Alternatively, how can i find ...
1
vote
1answer
545 views

How do I add additional information to output redirected to a log file?

Currently I have something like this: ./player_script |grep "videoname" >> log.log & The output of player_script shows when a video starts and ends, grep then takes only certain video ...
1
vote
1answer
354 views

What do Solaris pmap entries dev: and ino: represent?

Running the pmap command on a process in Solaris, I see certain processes have blocks of memory with tags like the following: dev:337,2 ino=2433431 What do the dev and ino represent? My ...
0
votes
2answers
416 views

How to foreground a job from another session

As root, is there a way to foreground (fg) a job within a root session that is in the foreground of another root session? If the job in the other session has to be put in the background (using bg) ...
0
votes
1answer
839 views

How can I keep Solaris 11 command history after the user logs out?

It seems that in Solaris 11 the command history is cleared every time user exits the shell. Is there an option to keep history after the user logs out so that it will be available at next login?
3
votes
5answers
2k views

grep -r not working on Solaris

How can I do recursive grep on Solaris? When I tried, I received this error: -r: invalid option.