Sponsored Content
Full Discussion: Bash display error
Operating Systems Solaris Bash display error Post 302825991 by solaris_1977 on Tuesday 25th of June 2013 03:32:59 PM
Old 06-25-2013
Bash display error

Some of my admin made some changes on my Solaris-10 box and after that I started getting this wiered issue. I checked path, but not able to figure it out. This is for a non-root user
Code:
gcadmin@brbpod06:[~] $ echo $SHELL
/usr/bin/bash
gcadmin@brbpod06:[~] $ bash
bash: brbpod06:: command not found
gcadmin@brbpod06:[~] $ echo $PATH
/usr/bin:/bin:/usr/sbin:/bin/nms/apps/netcool/Omnibus/netcool/bin:/nms/apps/netcool/Omnibus/omnibus/bin:/nms/apps/netcool/Omnibus/omnibus/probes:/nms/apps/netcool/Omnibus/netcool/platform/solaris2/jre64_1.6.0/jre/bin
gcadmin@brbpod06:[~] $
gcadmin@brbpod06:[~] $ cat .profile
ulimit -n 8192
# New environment setting added by IBM Tivoli Network Manager on Wed Jun 05 15:07:07 PDT 2013 1.
# The unmodified version of this file is saved in /nms/apps/netcool/.profile2104888322.
# Do NOT modify these lines; they are used to uninstall.
DB_LOCALE=EN_US.UTF8
export DB_LOCALE
# End comments by InstallAnywhere on Wed Jun 05 15:07:07 PDT 2013 1.
 
#
# Copyright (c) 2001 by Sun Microsystems, Inc.
# All rights reserved.
#
# ident "@(#)local.profile      1.10    01/06/23 SMI"
#stty istrip
#PATH=/usr/bin:/usr/ucb:/etc:.
#export PATH
export TCR_HOME=/nms/apps/netcool/Omnibus/tipv2Components/TCRComponent
export TIP_HOME=/nms/apps/netcool/Omnibus/tipv2
export TIPHOME=/nms/apps/netcool/Omnibus/tipv2
export PRECISION_HOME=/nms/apps/netcool/Omnibus/netcool/precision
export PRECISION_DOMAIN=ITNM_P
export PATH=/usr/bin:/bin:/usr/sbin:/bin:$PRECISION/bin:$ITNMHOME/bin:$TIP_HOME/bin:$TIPHOME/bin:$NCHOME/bin:$OMNIHOME/bin:$OMNIHOME/probes:$NCHOME/platform/solaris2/jre64_1.6.0/jre/bin
export ITNMHOME=/nms/apps/netcool/Omnibus/netcool/precision
export INFORMIXDIR=/nms/apps/netcool/informix
export NCHOME=/nms/apps/netcool/Omnibus/netcool
export OMNIHOME=/nms/apps/netcool/Omnibus/omnibus
export PATH=/usr/bin:/bin:/usr/sbin:/bin$NCHOME/bin:$OMNIHOME/bin:$OMNIHOME/probes:$NCHOME/platform/solaris2/jre64_1.6.0/jre/bin
#export LD_LIBRARY_PATH=/usr/lib:/usr/local/lib:/nms/apps/netcool/Omnibus/platform/solaris2/lib64:/nms/apps/netcool/Omnibus/omnibus/platform/solaris2/lib64:/nms/apps/netcool/Omnibus/platform/solaris2/lib:/nms/apps/netcool/Omnibus/omnibus/platform/solaris2/lib
export HISTFILESIZE=5000
export HISTSIZE=50000
export PS1="\u@\h:[\w] $ "
gcadmin@brbpod06:[~] $

 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Bash Script to display directories in Path?

Hello there, As a newbie: The directories in PATH can be hard to distinguish when printed out as one line with colon .Please, can i have a sample script to display them,one to a line. Thank you. (1 Reply)
Discussion started by: debut
1 Replies

2. Shell Programming and Scripting

Display runnning countdown in a bash script?

I am looking for a way to display on a single line, a running countdown for a given amount of time in a terminal using a bash script. I am looking for this to use as part of a larger bash script that captures Video. The script sets up a bunch of parameters for DVgrab, and one of the parameters... (11 Replies)
Discussion started by: Starcast
11 Replies

3. Shell Programming and Scripting

Bash Help: users who are not logged into the system to display

A Newbie here, I am working on a script and am having problems with the else part of the script. I can't get the users who are not logged into the system to display on the screen with their username and the text "The user is not logged in". I am sure it is something simple and stupid, but I... (5 Replies)
Discussion started by: rchirico
5 Replies

4. Shell Programming and Scripting

Run a bash script, display on the screen and save all information in a file including error info

Hi all, How to: Run a bash script, display on the screen and save all information in a file including error information. For example: I have a bash script called test.sh now I want to run the test.sh and display the output on the screen and save the output including error info to a file. ... (1 Reply)
Discussion started by: Damon sine
1 Replies

5. Shell Programming and Scripting

Display output bash program

Hello, i have a problem with the output from my bash program. I made this program #!/bin/bash BESTANDEN=$* # Plaatst bestanden in de variabele BESTANDEN TMPFILE=xmlprog.sh.$$.$RANDOM # basisnaam voor tijdelijke bestanden # controller of het programma correct is aangeroepen if then ... (6 Replies)
Discussion started by: dutchspiders
6 Replies

6. Shell Programming and Scripting

bash script to display tail

Hi everyone, I'm trying to write a script to format a file using unix2dos. I want to output all but the first 14 lines in a file. Then I want to pipe this to unix2dos to convert the output to a file that's easily readable on windows. Here's what I have: export Lines=`wc -l < $1` export... (11 Replies)
Discussion started by: LuminalZero
11 Replies

7. Shell Programming and Scripting

Bash Info Display

I have written the following bash function prArgv Suppose the calling sequence is as follows prArgv VAL1 VAL2 DESC VAL3 VAL4 v2d1 s4 p15 The call will look at the tag k1v2, add the numbers together, in this case 2+1=3 This means that the function will look at the first 3 user arguments... (1 Reply)
Discussion started by: kristinu
1 Replies

8. Shell Programming and Scripting

Display-performance in terminal, bash or python?

Heyas I've been working on my project TUI (Text User Interface) for quite some time now, its a hobby project, so nothing i sit in front of 8hrs/day. Since the only 'real' programming language i knw is Visual Basic, based upon early steps with MS-Batch files. When i 'joined' linux 3 years ago,... (7 Replies)
Discussion started by: sea
7 Replies

9. Shell Programming and Scripting

Display user selction from bash menu

I am trying to display the text the user selects from a bash menu. The below will display the menu and allow the user to enter a number, but will not display the choice selected. bash while true do printf "\n please make a selection from the MENU \n ... (4 Replies)
Discussion started by: cmccabe
4 Replies

10. Linux

Bash Display First Friday of the next month

Hello, I need to find the date of next first Friday of the month and set as a variable in a bash script ie - FIRSTFRIDAY=$(date -dfirst-friday +%d) I know date -dfirst-friday doesn't work, but unsure if I can use this / cal + awk or something else to find the right date of the... (7 Replies)
Discussion started by: summerdays
7 Replies
install-solaris(1M)                                                                                                            install-solaris(1M)

NAME
install-solaris - install the Solaris operating system SYNOPSIS
install-solaris install-solaris invokes the Solaris Install program. Depending on graphical capability and available memory at the time of invocation, install-solaris invokes either a text-based installer or a graphical installer. The following minimum requirements for physical memory dictate which features are available during installation: For SPARC machines: 128 MB Minimum physical memory for all installation types 128 MB Minimum physical memory required for windowing system 384 MB Minimum physical memory required for graphical-based installation For x86 machines: 256 MB Minimum physical memory for all installation types 256 MB Minimum physical memory required for windowing system 512 MB Minimum physical memory required for graphical-based installation In some cases, even if the minimum physical memory is present, available virtual memory after system startup can limit the number of fea- tures available. install-solaris exists only on the Solaris installation media (CD or DVD) and should be invoked only from there. Refer to the for more details. install-solaris allows installation of the operating system onto any standalone system. install-solaris loads the software available on the installation media. Refer to the for disk space requirements. Refer to the for more information on the various menus and selections. See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcdrom (Solaris instal- | | |lation media) | +-----------------------------+-----------------------------+ |Interface Stability |Evolving | +-----------------------------+-----------------------------+ pkginfo(1), install(1M), pkgadd(1M), attributes(5) It is advisable to exit install-solaris by means of the exit options in the install-solaris menus. 23 Sep 2005 install-solaris(1M)
All times are GMT -4. The time now is 08:48 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy