Sponsored Content
Full Discussion: any goof ups like this?
The Lounge What is on Your Mind? any goof ups like this? Post 302142546 by bakunin on Saturday 27th of October 2007 08:14:39 AM
Old 10-27-2007
Matters of Standardization

In a really BIG oil company i worked for several years ago the Unix group (me) got a new team leader - a former systems programmer from the mainframe. One day i hear him curse in his office:

Me:What is the problem?
He: I type in this line now for the fifth time...

He was typing some really long commandline with several long pathnames and of course didn't get it right - he didn't know about commandline editing and the cursor keys were of course not working. I went there, issued "set -o vi" and hit ESC-k, then showed him how to edit the commandline.

Several days later i heard him cursing again:

Me: What's up, need help?
He: The tips you give me are all nonsense! You told me about ESC-k and now see this...

I had a look on his screen, where a shell with the SAP R/3 system user where open, a line full of ESC-k's where there. For no apparent reason SAP had its system user use csh instead of ksh like the rest of the system (AIX 3.2.5). The following dialog took place:

Me: ahh, that is c-shell, use "!!" to repeat the command
He: and why not ESC-k?
Me: because its C-shell
He: and why is ESC-k working here (points to another window)
Me: because it is Korn Shell
He: ok, but why isn't it working here? (point to csh window)
Me: because it is C-shell and not Korn Shell
(...skipped at least 5 repeats ....)

He: so you want to tell me there are *several* shell in Unix??
Me: yes. The common shell in AIX is Korn shell, some prefer BASH, the SAP system user is csh, which some programmers also prefer and there is the ancestor of them all, the Bourne shell and some others, ...

After this he went into his office and started thinking. 2 hours later he came out beaming:

He: I have thought that over. We will now decide which shell we use as a standard and every other shell will have to be deleted from the system.

I told him to discuss this with the IBM technician and resigned from the job within the next hour.

bakunin
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Newbie UPS help

I am a newbie and I just got a Sun Ultra 5, and want an UPS. I have been looking at the different models, but I do not know which brand has software that is compatable with Solaris 2.8 for automatic shutdown. I have looked at the power setup options in Solaris, but there doesn't seem to be any... (1 Reply)
Discussion started by: jeremiebarber
1 Replies

2. UNIX for Advanced & Expert Users

UPS for HP-9000

Hello Everyone I run 4 HP 9000 servers with HP-UX 11.0 on all 4, with an Infomix Database. About 6 months ago one system starting acting real weird it will display the message that it lost power (which did not) and it would shutdown, Then roughly 30 seconds later it would then say power has... (4 Replies)
Discussion started by: JackieRyan26
4 Replies

3. IP Networking

goof up

i did a vi on an executable in /var/sbin. now its created a file named # cd /usr/sbin # ls -l named* -rwxrwxrwx 1 root system 1 Oct 28 17:44 named -rwxrwxrwx 1 root ... (1 Reply)
Discussion started by: cubicle^dweller
1 Replies

4. Solaris

Suns and UPS tripplite

I'm having some trouble getting my ups to work on my Sun ultra enterprise servers. I have it hooked to serial port b and i have the tripplite power alert software installed and running, but it doesn't see the connection, is there something else i'm supposed to do to make it realize it is hooked to... (2 Replies)
Discussion started by: kymberm
2 Replies

5. Solaris

installing a UPS on a sun workstation

Has anyone ever setup the APC powerchute (business edition agent) software, using a USB drive on any solaris machines? We installed the software, and it doesnt seem to be giving the option for a /dev/usb device, it only gives options of /ttya, ttyb etc... anyone ever done this with a USB? or... (0 Replies)
Discussion started by: BG_JrAdmin
0 Replies

6. Solaris

UPS Installation

Dear All, I have installed package ups reillo in solaris but i could not use setup normaly, i could not connection with ttya , i need connect with ups for set system shutdown and another configuration. please i need help for solution thanks. (0 Replies)
Discussion started by: athurbayunata
0 Replies

7. Shell Programming and Scripting

script to poweroff when running on UPS

Hi all, The place where i stay experiences lot of power cuts and my solaris box is almost always on. It so happens that many times i will not be around to switch it off as soon as there is a power cut..(i also have UPS which provides alternative supply for 15min) So i wanted to write a script... (3 Replies)
Discussion started by: wrapster
3 Replies

8. UNIX for Dummies Questions & Answers

telnet via ssh to an APC UPS

Hello! First post, please be gentle! I have some APC UPS devices that I'm trying to log in to. They are currently configured to use telnet -- as a safety precaution, they can only be accessed from our 'bounce' machine. Because I want to do this from a script on my local machine, I'm doing it... (2 Replies)
Discussion started by: Korla Plankton
2 Replies

9. Hardware

CyberPower UPS

Is anyone here using this brand, and if so, how satisfied are you with its 'PowerPanel for Linux' software? Any problems? (0 Replies)
Discussion started by: Varsel
0 Replies

10. What is on Your Mind?

The green pop-ups...

Admins... I just lerve the pop-ups that appear whilst replying to someones post. It reminds me of "Paperclip" from my MS Windows days... ;oDD Love it, as it makes me smile, telling me I am creating a thread ATM... ;o) Neat little addition/feature guys... (4 Replies)
Discussion started by: wisecracker
4 Replies
MT(1)							    BSD General Commands Manual 						     MT(1)

NAME
mt -- magnetic tape manipulation SYNOPSIS
mt [-f tapename] command [count] DESCRIPTION
The mt program is used to give commands to a magnetic tape drive. By default mt performs the requested operation once. Operations may be performed multiple times by specifying count. Note that tapename must reference a raw (not block) tape device. If tapename is of the form "host:tapename", or "user@host:tapename", mt writes to the named tape device on the remote host using rmt(8). The rmt(8) process on the remote host is typically initiated via rsh(1), although an alternate method such as ssh(1) can be specified via the RCMD_CMD environment variable. The available commands are listed below. Only as many characters as are required to uniquely identify a command need be specified. asf Move forward count files from the beginning of the tape. This is accomplished by a rewind followed by fsf count. eof, weof Write count end-of-file marks at the current position on the tape. fsf Forward space count files. fsr Forward space count records. bsf Back space count files. bsr Back space count records. rewind Rewind the tape. (The count is ignored.) offline, rewoffl Rewind the tape and place the tape unit off-line. Where supported, this ejects the tape. (The count is ignored.) status Print status information about the tape unit. (The count is ignored.) retension Retensions the tape. Not all tape drives support this feature. (The count is ignored.) erase Erases the tape Not all tape drives support this feature. (The count is ignored.) eew Enable or disable early warning EOM behaviour. Set count to nonzero to enable, zero to disable. eom Forward space to the end of recorded media. (The count is ignored.) blocksize, setblk Set the tape blocksize to count bytes. A count of zero sets variable blocksize. density, setdensity Set the tape density code to count as specified in the SCSI-3 specification. See the DENSITY CODES section for a list of codes for commonly used media types. rdspos Read the logical block position of the tape. Not all tape drives support this feature. (The count is ignored.) rdhpos Read the hardware block position of the tape. Not all tape drives support this feature. (The count is ignored.) setspos Set the logical block position of the tape to count. Not all tape drives support this feature. sethpos Set the hardware block position of the tape to count. Not all tape drives support this feature. compress If count is zero, disable compression. Otherwise enable compression. Not all tape drives support this feature. If a tape name is not specified, and the environment variable TAPE is not set, then mt uses the device /dev/nrst0. ENVIRONMENT
If the following environment variables exist, they are used by mt. TAPE mt uses device filename given in the TAPE environment variable if the tapename argument is not given. RCMD_CMD mt will use RCMD_CMD rather than /usr/bin/rsh to invoke rmt(8) on a remote machine. The full path name must be specified. FILES
/dev/rst* Raw SCSI tape device /dev/rmt* Raw magnetic tape device EXIT STATUS
mt returns a 0 exit status when the operation(s) were successful, 1 if the command was unrecognized, and 2 if an operation failed. DENSITY CODES
The SCSI-3 specification defines a number of density codes for various tape media, some of which are listed here. Note that many tape drive vendors also define model-specific codes. Code Format 0 Device default 1 1/2" 800 bpi 2 1/2" 1600 bpi 3 1/2" 6250 bpi 4 QIC-11 5 QIC-24 15 QIC-120 16 QIC-150 17 QIC-320/525 18 QIC-1320/1350 19 DDS 28 QIC-385M 29 QIC-410M 30 QIC-1000C 31 QIC-2100C 32 QIC-6GB 33 QIC-20GB 34 QIC-2GB 35 QIC-875M 36 DDS-2 37 DDS-3 38 DDS-4 SEE ALSO
dd(1), ioctl(2), mtio(4), st(4), environ(7) HISTORY
The mt utility appeared in 4.3BSD. BSD
March 9, 2008 BSD
All times are GMT -4. The time now is 10:39 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy