10-07-2014
Thanks Cero. Personally I like to go with your approach. But the advise I got from the teams is to do it the way it is currently setup. Even my manager agrees with them and asked me to follow KISS methodology. When I asked him what is KISS methodology, he says 'Keep It Simple and Stupid'
I hate to agree with him on this, but there is no other choice for me now.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
hi , i added ls -F to .profile. and i need to do ./.profile for the effect to take effect BUT i didnt and YET the next day when i came to work and log in, the changes took effect. i am on aix.
please explain..
thanks (4 Replies)
Discussion started by: yls177
4 Replies
2. Shell Programming and Scripting
Hi Guys,
I modified my .bash_profile script , and tried to change the prompt.
Following is the line of code in my .bash_profile script.
export PS1=" \W "
But I get the output as:
\W
This appears to be my prompt now.
Any idea what should be done..
Thanks! (0 Replies)
Discussion started by: nua7
0 Replies
3. Shell Programming and Scripting
We are more users using the oracle account, and people want to include theyr own files in .bash_profile. Like this:
while ; do
echo -n "LOGNAME is '$LOGNAME' (no sens), who are you? " >/dev/stderr
read ln
export LOGNAME=$ln
done
This works well when logging in to... (1 Reply)
Discussion started by: hannem
1 Replies
4. UNIX for Dummies Questions & Answers
Hi all. when i connect as user megaguru i have a problem my .bash_profile does not working^:(
if i do:
. ./.bash_profile
all enviroment variables are in place. How can i force linux to use .bash_profile before logon process?
thanx in advance. (1 Reply)
Discussion started by: smallman
1 Replies
5. Infrastructure Monitoring
Hello
I really wonder what's trap in etc/profile and in each user .profile.
I try to google for it but I think I have no luck. Mostly hit is SNMP traps which I think it is not the same thing.
I want to know ...
1. What's a "trap 2 3" means and are there any other value I can set... (4 Replies)
Discussion started by: Smith
4 Replies
6. UNIX for Advanced & Expert Users
Hi,
happy new year.
on AIX 6.1 , for user oracle , there are two files :
bash_profile and .profile
I do not know which one is executed when login ? How to know ,
More over in both of them we have :
in .profile :
ORACLE_HOME=/appli/oracle/product/10.2.0/db_1... (5 Replies)
Discussion started by: big123456
5 Replies
7. Shell Programming and Scripting
Hi,
I wanted to do the following, but the command does not seem to work. Any ideas or suggestions please help.
#1. If the particular ENV variable IMPACT_HOME is not there in a file
grep -q IMPACT_HOME infile || sed -i 'i IMPACT_HOME=/my/new/path' infile
#2. If the ENV variable... (4 Replies)
Discussion started by: dbashyam
4 Replies
8. UNIX for Dummies Questions & Answers
Hi All
I am kind of confused, when to use .bash_profile or .profile
I have just created a user on a test server, with:
useradd -u 103 -d /fretagi -m -s /bin/bash fretagi
but now in its home dir I have:
-bash-3.2$ ls -al
total 14
drwxr-xr-x 2 fretagi other 512 Dec 5 15:54 .... (5 Replies)
Discussion started by: fretagi
5 Replies
9. UNIX for Dummies Questions & Answers
Hi All
Please can you tell , what is the difference between bash_profile and bashrc. How to create them? (8 Replies)
Discussion started by: fretagi
8 Replies
10. UNIX for Dummies Questions & Answers
Hello everyone,
I'm trying to set my .bash_profile to change my primary prompt from this:
banbatchtest1v:MCPPRD:~>to this:
banbatchtest1v:MCPPRD:/home/rcarvall>
Here's what my .bash_profile looks like right now:
# .bash_profile
# Get the aliases and functions
if ; then
.... (2 Replies)
Discussion started by: galileo1
2 Replies
LEARN ABOUT DEBIAN
spattach
KISSATTACH(8) Linux System Managers Manual KISSATTACH(8)
NAME
kissattach, spattach - Attach a KISS or 6PACK interface
SYNOPSIS
kissattach [-b] [-6] [-l] [-m mtu] [-v] tty port [inetaddr]
spattach [-b] [-l] [-m mtu] [-v] tty port [inetaddr]
DESCRIPTION
Attach a KISS or a 6PACK interface to what is normally a tty line connected to a TNC in KISS or 6PACK mode. This program will turn itself
into a background process. To down an interface send its attach process a SIGTERM.
Kissattach takes many of the parameters for the port from the axports(5) file. If the speed parameter in the file is not equal to zero then
it is used for the serial port speed, a zero value means that no speed is set. The paclen parameter is used for the device mtu unless over-
ridden by a value on the command line.
The tty argument will typically be that of a serial port with a KISS or 6PACK TNC attached, although it could be a pseudo tty or a KISS
port emulator such as an SCC card. Kissattach supports BSD-style pseudo-terminals as well as the Unix98 pty's. If the tty argument is
"/dev/ptmx", then Unix98 behaviour will automaticaly take effekt. With Unix98 pty's, the slave tty name could not be forseen. That's why
kissattach will print the corresponding slave pty name as a separate line on stdout.
The port argument is the name of a port as given in the axports(5) file.
The optional inetaddr argument is the IP address of the new interface. Some time it was mandatory argument (although due to historical rea-
sons this restriction is lifted if the old -i option is used). But there's really not a need for the interface to have an IP address
assigned to.
OPTIONS
-6 Use the 6PACK line discipline instead of KISS. This is the default if the program is called as spattach.
-i inetaddr Set the internet address of the interface. This address may either be a dotted decimal address or a host name. This option
is now depreciated and the program will complain about it, though still work.
-l Log messages to the system log, the default is not to.
-b Allow broadcasts on the interface (default no - because for e.g. samba broadcasts are a pain..)
-m mtu Sets the mtu of the interface. If this value is not given then the value is taken from the paclen parameter in axports.
-v Display the version.
SEE ALSO
kill(1), stty(1), ax25(4), axparms(4), axports(5), ifconfig(8).
AUTHOR
Alan Cox GW4PTS <alan@cymru.net>
Jonathan Naylor G4KLX <g4klx@g4klx.demon.co.uk>
Linux 4 July 1999 KISSATTACH(8)