techtiptom

Tech Tip Tom, formerly of WIBC 93.1FM and wibc.com

Month: January, 2013

A walk down (computer) Memory Lane

sx64

In my daily web surfing, I found this cool website:

http://oldcomputers.net/

Pictures and descriptions of all the computers I used to have, and many more that I didn’t.. Check it out!

The machine above is a Commodore SX-64, one of my earliest machines. The SX-64, also known as the Executive 64, was a portable, briefcase/suitcase-size “luggable” version of the popular Commodore 64 home computer and it holds the distinction of being the first full-color portable computer.

The SX-64 featured a built-in five-inch composite monitor and a built-in 1541 floppy drive. It weighed 23 pounds! It was carried by its sturdy handle, which doubled as an adjustable stand. It was released in 1984, at $995.00….

Advertisements

iPhone/iPad apps for IT folks

Glowing sphere from color application iconsEvery time I think of something good to blog about, seems someone has beat me to it….  I was going to write on iPhone/iPad apps for IT people, when I found this:

http://www.cultofmac.com/161655/the-best-iphone-and-ipad-apps-for-it-professionals-feature/

Ryan Faas covers this much better than I could. Check out a snippet:

  • AD Helpdesk and ADManager Mobile – Both of these tools provide a mobile interface for managing Microsoft’s Active Directory. The primary mobile needs when it comes to Active Directory are basic user account management (locking/unlocking accounts, resetting passwords or password policies, changing group memberships, and managing which workstations users are allowed to access). Both of these tools handle all of these tasks. AD Helpdesk focuses a bit more on resolving user-related issues while ADManager Mobile offers a somewhat broader range of administrative features. Which one is best for you is a matter of your specific needs/responsibilities and personal preference.
  • Server Admin Remote – This app provides an iOS interface to OS X Server’s Server Admin utility. Obviously, its use only applies to organizations that use Mac servers, but it is an excellent tool for that community. One can even argue that it’s a more streamlined and efficient tool than Lion Server’s mashup between the basic Server app and advanced tools including Server Admin.
  • Server Monitor – Keeping tabs on the current status of any server in an organization is a key IT requirement. Server Monitor is a simple and straightforward way to that. It uses SSH connections to retrieve and display uptime, load average, and memory status.
  • RBL Status – Realtime blacklists are most commonly associated with mail servers, where they can automatically screen out mail from domains known or suspected of pumping out spam. RBL Status lets you quickly and easily determine if any servers in your organization have been blacklisted.

What is the difference between http and https?

What is the difference between http and https?

(Reprinted with permission)

Don’t know how many of you are aware of this difference, but it is worth sending to any one who may not know…..

The main difference between http:// and https:// is it’s all about keeping you secure. HTTP stands for Hyper Text Transfer Protocol.

The S (big surprise) stands for “Secure.” If you visit a website or web page, and look at the address in the web browser, it will likely begin with the following: http://.
This means that the website is talking to your browser using the regular “unsecured” language. In other words, it is possible for someone to “eavesdrop” on your computer’s conversation with the website. If you fill out a form on the website, someone might see the information you send to that site.

This is why you never ever enter your credit card number in an http website! But if the web address begins with https://, that basically means your computer is talking to the website in a secure code that no one can eavesdrop on.

If a website ever asks you to enter your credit card information, you should automatically look to see if the web address begins with https://.

If it doesn’t, you should NEVER enter sensitive information…

….such as a credit card number, SS #, etc.

 PASS IT ON (You may save someone a lot of grief)

A List of Run Commands for Windows 7

windows7-002

Windows logo key + R

Administrative Tools

Administrative Tools = control admintools
Authorization Manager = azman.msc
Component Services = dcomcnfg
Certificate Manager = certmgr.msc
Direct X Troubleshooter = dxdiag
Display Languages = lpksetup
ODBC Data Source Administrator = odbcad32
File Signature Verification Tool = sigverif
Group Policy Editor = gpedit.msc
Add Hardware Wizard = hdwwiz.cpl
iSCSI Initiator = iscsicpl
Iexpress Wizard = iexpress
Local Security Settings = secpol.msc
Microsoft Support Diagnostic Tool = msdt
Microsoft Management Console = mmc
Print management = printmanagement.msc
Printer User Interface = printui
Problems Steps Recorder = psr
People Near Me = p2phost
Registry Editor = regedit or regedt32
Resoure Monitor = resmon
System Configuration Utility = msconfig
Resultant Set of Policy = rsop.msc
SQL Server Client Configuration = cliconfg
Task Manager = taskmgr
Trusted Platform Module = tpm.msc
TPM Security Hardware = TpmInit
Windows Remote Assistance = msra
Windows Share Folder Creation Wizard = shrpubw
Windows Standalong Update Manager = wusa
Windows System Security Tool = syskey
Windows Script Host Settings = wscript
Windows Version = winver
Windows Firewall with Advanced Security = wf.msc
Windows Memory Diagnostic = MdSched
Windows Malicious Removal Tool = mrt

Computer Management

Computer Management = compmgmt.msc or CompMgmtLauncher
Task Scheduler = control schedtasks
Event Viewer = eventvwr.msc
Shared Folders/MMC = fsmgmt.msc
Local Users and Groups = lusrmgr.msc
Performance Monitor = perfmon.msc
Device Manager = devmgmt.msc
Disk Management = diskmgmt.msc
Services = services.msc
Windows Management Infrastructure = wmimgmt.msc

Conrtol Panel

Control Panel = control
Action Center= wscui.cpl
Autoplay = control.exe /name Microsoft.autoplay
Backup and Restore = sdclt
Create a System Repair disc = recdisc
BDE Administrator = bdeadmin.cpl
Color Management = colorcpl
Credential Manager = control.exe /name Microsoft.CredentialManager
Credential Manager Stored User Names and Passwords = credwiz
Date and Time Properties = timedate.cpl
Default Programs = control.exe /name Microsoft.DefaultPrograms
Set Program Access and Computer Defaults = control appwiz.cpl,,3 or ComputerDefaults
Devices and Printers = control printers
Devices and Printers Add a Device = DevicePairingWizard
Display = dpiscaling
Screen Resolution = desk.cpl
Display Color Calibration = dccw
Cleartype Text Tuner = cttune
Folders Options = control folders
Fonts = control fonts
Getting Started = GettingStarted
HomeGroup = control.exe /name Microsoft.HomeGroup
Indexing Options = control.exe /name Microsoft.IndexingOptions
Internet Properties = inetcpl.cpl
Keyboard = control keyboard
Location and Other Sensors = control.exe /name Microsoft.LocationandOtherSensors
Location Notifications = LocationNotifications
Mouse = control mouse or main.cpl
Network and Sharing Center = control.exe /name Microsoft.NetworkandSharingCenter
Network Connections = control netconnections or ncpa.cpl
Notification Area Icons = control.exe /name Microsoft.NotificationAreaIcons
Parental Controls = control.exe /name Microsoft.ParentalControls
Performance Information = control.exe /name Microsoft.PerformanceInformationandTools
Personalization = control desktop
Windows Color and Appearance = control color
Phone and Modem Options = telephon.cpl
Power Configuration = powercfg.cpl
Programs and Features = appwiz.cpl or control appwiz.cpl
Optional Features Manager = optionalfeatures or control appwiz.cpl,,2
Recovery = control.exe /name Microsoft.Recovery
Regional and Language = intl.cpl
RemoteApp = control.exe /name Microsoft.RemoteAppandDesktopConnections
Sound = mmsys.cpl
Volume Mixer = sndvol
System Properties = sysdm.cpl or Windows logo key + Pause/Break
SP ComputerName Tab = SystemPropertiesComputerName
SP Hardware Tab = SystemPropertiesHardware
SP Advanced Tab = SystemPropertiesAdvanced
SP Performance = SystemPropertiesPerformance
SP Data Execution Prevention = SystemPropertiesDataExecutionPrevention
SP Protection Tab = SystemPropertiesProtection
SP Remote Tab = SystemPropertiesRemote
Windows Activation = slui
Windows Activation Phone Numbers = slui 4
Taskbar and Start Menu = control.exe /name Microsoft.TaskbarandStartMenu
Troubleshooting = control.exe /name Microsoft.Troubleshooting
User Accounts = control.exe /name Microsoft.UserAccounts
User Account Control Settings = UserAccountControlSettings
User Accounts Windows 2000/domain version = netplwiz or control userpasswords2
Encryption File System = rekeywiz
Windows Anytime Upgrade = WindowsAnytimeUpgradeui
Windows Anytime Upgrade Results = WindowsAnytimeUpgradeResults
Windows CardSpace = control.exe /name Microsoft.cardspace
Windows Firewall = firewall.cpl
WindowsSideshow = control.exe /name Microsoft.WindowsSideshow
Windows Update App Manager = wuapp

Accessories

Calculator = calc
Command Prompt = cmd
Connect to a Network Projector = NetProj
Presentation Settings = PresentationSettings
Connect to a Projector = displayswitch or Windows logo key + P
Notepad = notepad
Microsoft Paint = mspaint.exe
Remote Desktop Connection = mstsc
Run = Windows logo key + R
Snipping Tool = snippingtool
Sound Recorder = soundrecorder
Sticky Note = StikyNot
Sync Center = mobsync
Windows Mobility Center (Only on Laptops) = mblctr or Windows logo key + X
Windows Explorer = explorer or Windows logo key + E
Wordpad = write
Ease of Access Center = utilman or Windows logo key + U
Magnifier = magnify
Narrator = Narrator
On Screen Keyboard = osk
Private Character Editor = eudcedit
Character Map = charmap
Ditilizer Calibration Tool = tabcal
Disk Cleanup Utility = cleanmgr
Defragment User Interface = dfrgui
Internet Explorer = iexplore
Rating System = ticrf
Internet Explorer (No Add-ons) = iexplore -extoff
Internet Explorer (No Home) = iexplore about:blank
Phone Dialer = dialer
Printer Migration = PrintBrmUi
System Information = msinfo32
System Restore = rstrui
Windows Easy Transfer = migwiz
Windows Media Player = wmplayer
Windows Media Player DVD Player = dvdplay
Windows Fax and Scan Cover Page Editor = fxscover
Windows Fax and Scan = wfs
Windows Image Acquisition = wiaacmgr
Windows PowerShell ISE = powershell_ise
Windows PowerShell = powershell
XPS Viewer = xpsrchvw

Open Documents folder = documents
Open Pictures folder = pictures
Open Music folder = music
Open Videos folder = videos
Open Downloads folder = downloads
Open Favorites folder = favorites
Open Recent folder = recent
Logs out of Windows = logoff
Locks User Account = Windows logo Key + L

OpenVMS Commands with unix equivalents

OpenVMS Commands with unix equivalents

OpenVMS				unix		Explanation/examples
=========================================================================
APPEND				cat		Concatenates files.  If contencs of file1 need to be placed at the end of file2 issue the following unix command.cat file1 >> file2
ASSIGN or DEFINE		= 		(Bourne & Korn)set (C shell)	in Bourne or Korn shell DIR = lsin C shell set DIR ls
ATTACH				fg	
BACKUP				tar or pax	back up files into a tar file.
  /INIT				tar -c or pax	Restore files.
  /LIST				tar -t		List contents.
  /LOG				tar -v		Report progress.
  /NOREWIND			tar -r		Write at end of existing backup (tar) files.
  /RECORD			tar -m		Update file^Òs modification date upon restore.
COPY				cp		Copy a file 
COPY				ftp		Copy to/from a nontrusted remote host.
COPY				rcp		Copy to/from a remote host.
COPY /CONFIRM			cp -i		Confirm before copying.
CREATE				touch		Create or update a file.
  /DIRECTORY			mkdir		Create a subdirectory.
CREATE filename			cat << filename	Create a file from the keyboard.
CREATE filename			cat	
DEBUG				dbx		Debug a program.
DELETE				rm		Delete a file.
DELETE				rmdir		Delete an empty subdirectory.
  /CONFIRM			rm -i		Confirm deletion.
  /ENTRY			lprm		Remove queued line printer job.
  /QUEUE			lprm -P		Remove all jobs from the queue.
  /LOG				rm -e		Delete files and list them as they are deleted.
  /SYMBOL			unset		Get rid of an environment variable.
DIFFERENCES			diff		Display all differences in files or directories.
  /MAXIMUM_DIFF= 1		cmp		Display first difference in two files (typically used with binary files).
  /NUMBER NL:			cat -n	Display a file with line numbers.
  /SLP				diff - e	Generate editing changes for the ed editor.
DIRECTORY			ls		List files.
DIRECTORY [...]			ls -R		Do a recursive directory/list of files.
DIRECTORY [...]			find		Find a file
DIRECTORY *.DIR			ls -d		List directory name(s) only ls -Rd
  /BY_OWNER			ls -l dir | grep owner	List only those files owned by a specifed user.
  /COLUMN			ls -1		List one file per line.
  /DATE				ls -c		List by creation/last modification.
  /FULL				ls -l		Long listing.
  /FULL /TOTAL			du		Summarize disk usage.
  /MODIFIED /SINCE [...]	find -mtime +n	Modified more than n days ago.
  /MODIFIED /BEFORE [...]	find -mtime +n	Modified more than n days ago.
  /OWNER			ls -g		Include group (used with |).
  /SIZE				ls -s		Include size.
DISMOUNT /UNLOAD		mt rewofmt offline	Rewind and unload the tape.
DUMP				od		Dump a file in various formats.
  /HEXADECIMAL			od -h		Hexadecimal dump.
  /OCTAL			od -o		Octal dump.
EDIT /EDT,EDIT /EVE, EVE	vi		Screen editor session.
EDIT /RECOVER			vi -r		Recover a screen editing session.
EXCHANGE			dd		Back up, restore, and convert nonstandard files.
EXIT				exit		Terminate a script.
HELP				man		Display online reference pages. 
HELP HINTS			man -k topic	Display a list of commands that correspond to the specified topic.
INQUIRE /NOPUNCTUATION		read choice? 	Prompt for a responce and put the response into an environment variable.
INITIALIZE device:		fddisk -fmt device	Format a diskette.
LIBRARY				ar		Library maintainer.
  /CREATE			ar -cr		Create library.
  /EXTRACT			ar -x		Extract modules.
  /INSERT			ar -q		Insert modules.
  /LIST				ar -t		List modules.
  /REPLACE			ar -r		Replace modules.
LINK				ld		Link compiled source code into an executable image.
login procedureLOGIN /CLI	.login.cshrc.profile.kshrc	Set of commands automatically executed at login time.  On OpenVMS, LOGIN/CLI specifies an alternate command language interpreter.
LOGOUT				logout C shellexit Bourne & Korn shell	Terminate a terminal session.
MAIL				mail		Invoke the mail utility.
MERGE				sort -m		Merge sorted files.
MOUNT				mount		Mount a tape.
ON COUNTROL_C THEN		trap 2		Enable handler for Stop signal.
ON CONTROL_Y			onintr		On interrupt.
PHONE				talk tty	name	Communicate interactively with another user.
PRINT				lpr		Print a file on the default line printer.
  /COPIES=N			lpr -#n		Print n copies.
  /DELETE			lpr -r		Remove file after printing
PRINT commands cont.		
  /FORM				lpr -ln		Make page n lines (default = 66)
  /FORM				lpr -n		Print n column output.
  /FORM				lpr -wn		Set line width to n
  /HEADER			pr -h string | lpr	Print a header on each page.
  /NAME=jobname			lpr -Jjobname	Include job name on the first page of the job.
  /NOFLAG			lpr -h		Print with no header page.
  /NOTIFY			lpr -m		Send mail upon completion.
  /PAGES=(n,^Ô^Ô)			lpr +n		Begin printing on page n.
  /QUEUE			lpr -Pqueue	Print a file on the specified queue.
READ				read		Read input (korn shell)
RECALL /ALL			history		Recall command lines
REPLY /USER			write		Send a brief message to a logged-in user
RENAME	mv			move/rename a file(s)
   /CONFIRM			mv -i		confirm the move/rename of a file(s)
SEARCH				grep		Search files for strings.
   /MATCH=NOR			grep -v		List only lines that do not match
   /NOEXACT			grep -i		Ignore case distinctions.
   /NUMBERS			grep -n		Precede each match with line number.
   /STATISTICS			grep -c		List only a file name that contains match
  /WINDOW = 0			grep -l		Return only file name(s) that contains match
  file pat^Òrn /WINDOW=5		more -5 	+/pat^Òrn file	Display search line plus two lines before and after. (Terminate with q).
  file pat^Òrn /WIND=(5,0)	cat file | more -5+pat^Òrn	Display search line plus next five lines.
SET DEFAULT			cd		Change directory.
SET FILE/OWNER			chgrp		Change group ownership of a file.
SET HOST			rlogin		Network login to trusted host.
SET HOST /DTE			tip		Dial remote host.
SET HOST 0 /LOG			script		Record a transcript of a terminal session.
SET PASSWORD			passwd		Change you local password.
SET PROCESS /PRIORITY		nice or renice	Change the priority of a process.
SET PROTECTION			chmod		Change file protection.
   /DEFAULT			umask		Change default protection for files not yet created.
SET TERMINAL			tset or stty	Set terminal characteristics.
SET VERIFY			ksh -x orcsh -x	Verify command or script execution.  Echo after variable substitution.
SHOW DEFAULT			pwd		Display current directory.
SHOW DEVICE /FULL		df filesystem	Display information on a file system
SHOW LOGICAL			printenv	Display environment characteristics.
SHOW PROCESS /ALL		ps -l		Dislay all processes on system.
SHOW /QUEUE			lpq		Display default print queue status.
SHOW STATUS			time		Display resources used by a process.
SHOw TIME			date		Display date and time
SHOW USERS			who		Display the list of current system users.
SORT				sort		Sort and merge.
   /KEY	sort 			   +fskip.cskip /-fskip.cskip	Starting/ending porint of sort key.
   /OUTPUT			sort -o file	Direct output to file.
SPAWN /NOWAIT			bg		Move a process to the background.
STOP /ID			kill -9		Remove a process.
SUBMIT				at		Start a process at a latter time.
TYPE				cat		Display a file
   /PAGE			more		Display a file, pausing after each page.
   /PAGE NL:			clear		Clear the terminal screen.
WRITE				/bin/echovar > file	Create a file and write a string or the contents of a variable to it.
WRITE				/bin/echovar >> file	Append a string or the contents of a variable to an existing file.
WRITE SYS$OUTPUT		echo (c Shell)print (Korn)	Write to standard output.

OpenVMS Mathematical Operators Function Equivalents
====================================================
OpenVMS		unix	Explanation
.EQ., .EQS.	==	Equal to
.NE., .NES.	!	Not equal to
.AND.		&&	Boolean and
.OR.		||	Boolean or
.GT., .GTS.	>	Greater than
.GE., .GES.	>=	Greater than or equal to
.LT., .LTS.	<	Less than
.LE., .LES.	<=	Less than or euqal to
+		+	add
-		-	Subtract
*		*	Multiply
/		/	Divide
var + 1		var++	Increment by 1
var - 1		var--	Decrement by 1
		%	Modulo
		>>	Right bit shift
		<<	Left bit shift
.NOT.		~	1^Òs complement
.NOT.		!	Logical negation
.OR.		|	Inclusive OR
		^	Exclusive OR
.AND.		&	And

OpenVMS Lexical Function and unix Equivalents
=============================================
OpenVMS					unix		Explanation
F$ENVIRONMENT(^ÓINTERACTIVE^Ô)		tty -s		Determine if you are an interactive user.
F$EXTRACT(start, length, string)	cut -c		Locate fields in a test string and write them out.
F$ELEMENT(element#, delimiter, string)	cut -f -d awk	Locate delimited fields in a test string.
F$ENVIRONMENT(^ÓPROCEDURE^Ô)		$0 (Korn)$arg [0] (C)	Get name of currently executing script.
F$TRANSLATE(^ÓSYS$SYSDEVICE^Ô)		sizer -r	Get name of the device from which the operating system bootstrapped.
F$GETDVI(^ÓTT:^Ô, ^ÓDEVNAM^Ô)		tty -s		Determine the name of the terminal you are using.
F$GETSYI(^ÓHW_NAME^Ô)			sizer -c	Get model name of the CPU
F$GETSYI(^ÓHW_MODEL^Ô)F$GETSYI(^ÓCPU^Ô)	sizer -wt	Return workstation device type
F$GETSYI(^ÓVERSION^Ô)			sizer -bstrings /vmunix | grep ^Ñ(Rev^Òuname -a	Determine booted kernel^Òs file name and system version.
F$GETSYI(^ÓPHYSICALPAGES^Ô)		uerf -r 300 -R | grep physical (+2)wc -c/dev/mem	Get the physical memory on a system.
F$GETSYI(^ÓBOOTTIME^Ô)			who -b	Get system boot time.

 unix Branching statements
DCL command procedures rely on the statements if, gosub, call, and goto for program branching.  The shells under unix offer several branching statements.

Shell	Branching Statements Offered
====================================
csh	if, goto, while, foreach, switch, shift
ksh	do, case, elif, for, function, if, select, time, until, while
sh	if, for, while, until, case

Debugging Shell Scripts
Debugging of shell scripts is done by invoking ksh or sh scripts with the -x and -v flags.  Debuging of C shell scripts by invoking them with the -v, -V, -x or -X flags.  The result is like using the OpenVMS command set verify.