UNIX commands and Novell Netware equivalents


Last Updated: Thursday September 21 2000


/mnt/floppy = a: (dos)
/mnt/cdrom = c: (dos)

Commands are in:

	/bin		Absolutely critical system binaries
	/usr/bin	General user binaries
	/sbin		Absolutely critical sysadmin binaries (without 
			these the system will not boot)
	/usr/sbin	Sysadmin binaries used after boot

	/usr/local/bin	Stuff that's not part of the default distribution

ls -l flags
  
	b	block device
	c	character device
	d	directory
	f	fifo 
	-	file
	l	symbolic link
	s	UNIX communications socket


How to see what devices are on your system

1) cat /proc/pci | less

2) /sbin/lspci


Linux command on this side = Novell command on this side


How to view device drivers

lsmod = modules
rmmod = unload
insmod = load (no dependancy checking)
modprobe = load (dependancy checking) 
/lib/modules/(kernel version) = sys:\system

mount = volumes

Example output:
/dev/hdb on /mnt/cdrom type iso9660 (ro,nosuid,nodev,user=thalakan)  
^^^^^^^^    ^^^^^^^^^^      ^^^^^^^
device name|mountpoint      filesystem type

umount (device or mountpoint) = dismount (volume name)

Example of mountpoint name: /mnt/floppy
Example of volume name: sys:\system

On Netware, the cdrom names look like
VOLUME_NAME:\whatever\directory

The volume name is the ISO9660 volume name written to the cd.  You use
"mount cd" in Netware to mount the cdrom.  So when writing the cd,
make sure to use a nice-looking volume name, or you'll be typing stuff
like

ncd 23409832:\crap\that\I\have\on\this\cdrom

Umounting the cdrom
	  umount /mnt/cdrom (or umount /dev/hdb) = dismount (volume name)


/sbin/ifconfig -a = config

ssh = rconsole (encrypted)
telnet = rconsole (not encrypted)
rsh = rconsole (old and crappy and not encryptd)

ctrl-alt-delete = ctrl-alt-escape
alt-sysrq-something = shift-alt-shift-escape

something can be...

"s" to sync the discs
"h" to see other keys
"u" to unmount all disks and remount as read-only
"o" to kill the power on an ATX machine
"b" to reboot the system

Search for CompletionChar and set to "9" to enable tab-completion on NT

shutdown -h now = down
shutdown -r now = down + restart

/sbin/init + /etc/inittab + /etc/rc.d/init.d/* c:\nwserver\startup.ncf
/etc/rc.d/rc.local = sys:\system\autoexec.ncf

ps -axf = ctrl-escape


Home | Site Index | Email me