Allot of times when at the command prompt in UNIX, the backspace key doesn’t do what the backspace key should and instead simply put ^H’s on the screen.

photo by thegareth
There are three ways to fix this:
- Use the delete key instead. Sometimes the delete is mapped to erase the first character to the left.
- Use CTRL+H to backspace. Sometimes simply using ctrl+h will erase the first character to the left.
- Use stty to map ^H to be erase, like this,
# stty erase ^H
You can also fix it put configuring the terminal program you are using. Look for any options mentioning backspace or CTRL+H and turn them on.
The default screen resolution in Virtual Box for OpenSolaris is 1024×768.
If you want a higher resolution screen for you OpenSolaris virtual machine then before starting the VirtualBox guest run:
C:\virtual\box\install\path> VBoxManage setextradata "OSolarisVB" "CustomVideoMode1" "1280x10240x24"
Where “OSolarisVB” is the name of OpenSolaris VirtualBox and I’d recommend bumping the video memory to at least 64MB.
Then run in full screen mode.
With Solaris 10 just make sure that the hostname you want to use is in /etc/nodename; the contents of that file will then be used to set the hostname. Note that it is essential that the hostname you put into /etc/nodename is terminated with a carriage return
Setting up a network printer is a bit more difficult in Solaris than it
is in Linux.
And it can be a tick to find a helpful page on the internet.
But I did manager to find this page,
http://www2.petervg.nl/cgi-bin/docs.cgi?a=read&doc=168 and I have added
a tip to my tips database about it
(http://www.malcolmchalmers.com/tips/tip.php?tipid=83)
To view the process consuming the most virtual memory
# prstat -s size -n 5
To stop a Solaris server it is best to use the init command and the number of the level you want to go to.
However I can never remember which number is which, so here they are:
| Event |
Level |
| Power Off |
5 |
| Reboot |
6 |
| PROM/BIOS |
0 |
The Solaris date command syntax format is “mmddhhmmyy” ,
where mm is month ,
dd is day of the month,
hh is the hour
mm is minutes
yy is the current year.
For example :
# date 0309081408
Sun Mar 9 08:14:03 EST 2008
#
To encrypt
encrypt -a aes -i input_file -o output_file
and decrypt a file: -
decrypt -a aes -i input_file -o output_file
In Linux
mount -t smbfs -o username=tridge,password=foobar //server/share /local/folder
In Solaris
mount -F smbfs -o username=tridge,password=foobar //server/share /local/folder
Sun type 6 keyboards come with a bunch of ‘extra’ keys on the left hand side. If these aren’t working for you try adding the following entries to you .Xmodmap file.
! Sun Type 6 USB PC keyboard special keys
keycode 117 = SunCompose
keycode 134 = SunProps
keycode 140 = SunFront
keycode 248 = SunCopy
keycode 191 = SunOpen
keycode 192 = SunPaste
keycode 188 = SunCut
keycode 222 = SunPowerSwitch SunPowerSwitchShift
keycode 135 = SunUndo
keycode 133 = SunAgain
keycode 122 = SunFind
keycode 232 = SunStop
keycode 113 = SunAltGraph
keycode 174 = SunAudioLowerVolume SunVideoLowerBrightness
keycode 176 = SunAudioRaiseVolume SunVideoRaiseBrightness
keycode 160 = SunAudioMute SunVideoDegauss
keycode 245 = Help
Read the file with “xmodmap ~/.Xmodmap”, which you can put in your .xsession or .xinitrc or whatever you use to initialize your desktop.