10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
I'm using the "select" command in the global_env.sh to log in to the application directory. This file is called in .bashrc profile.
set -o vi
export severname=$(uname -n)
printf '%s\n%30s\n%s\n' "***********************" "Welcome to $severname"... (6 Replies)
Discussion started by: cheers799
2. Shell Programming and Scripting
My input file looks like this
12 3 5.122.281.413 172.31.15.220 3421 4133 2 2 1454 3421 4133 2 2 0
12 44036 22.214.171.124 126.96.36.199 2312 3911 4 4 521 2312 3911 4 4 1
14 504 6.254.324.219 188.8.131.52 4444 5611 7 5 1415 4444 5611 7 5 1 ... (2 Replies)
Discussion started by: sampitosh
3. How to Post in the The UNIX and Linux Forums
Please help me and guide me to write a bash/shell script on Linux box to delete parent entry with all their child entries.
Parent is :
dn: firstname.lastname@example.org, o=wipro, o=in
dn: cn: yogesh kumar, email@example.com,... (1 Reply)
Discussion started by: Chand
I would like to know is there any way to capture the year in /var/adm/sulog file in solaris 10?
Please suggest (2 Replies)
Discussion started by: manoj.solaris
5. Shell Programming and Scripting
I have a file with four columns that looks like the following (tab separated)
1 1 1 a
2 2 2 b
3 3 3 c
4 4 4 d
I would like to create a file with always 4 columns but where the third entry corresponds to the thirst entry of the next line and so on, to get the following
1 1 2 a... (4 Replies)
Discussion started by: klebsiella
more than one user login the our solaris 10 systems with same user account by using ssh connection. i wanna see ip or hostname information of them on sulog instead of it's terminal number. is this possible?
current sulog is like that
SU 02/06 08:59 + pts/1 operation-vuser
SU 02/07 14:27... (1 Reply)
Discussion started by: sdkbjk
I just wrote a very small script that improves readability on system sulog. The problem with all sulog is there is lack of clarity whether the info you are looking at is the most current. So if you just need a simple soution instead of going thru the trouble of writing a script that rotate logs and... (0 Replies)
Discussion started by: sparcguy
How to enable sulog activity in LINUX like /var/adm/sulog in Solaris , AIX.....
I have added
in /etc/login.defs ...but it is not working ...
Thanks a lot for help (1 Reply)
Discussion started by: Anu_1
9. UNIX for Dummies Questions & Answers
In my UNIX (KSH) sytem, in order to Complete Command Entry without Typing the whole path or name, I have to use ESC+\ where as I am used to press TAB key to do the same. Can anyone tell me where we need to change the settings of the keyboard combination so that when I press TAB key the file... (6 Replies)
Discussion started by: jisha
10. UNIX for Dummies Questions & Answers
the sulog file on solaris does not record the user's attempts.
do i have to delete and create a new one or there is a better way?
in addition on the current sulog file is shown the month/day of the user's attempt but
i like to see the year also. there is a way to see the year or more... (2 Replies)
Discussion started by: grep
kclog - manage kernel configuration log file
config] string] type] name] [count]
is the administrative command for the HP-UX kernel configuration log file. The log file is automatically maintained by all of the kernel
configuration commands (and Any change to any kernel configuration gets logged to this log file, which is located at Note that this file is
a plain text file which can be viewed and manipulated using standard Unix file management commands; exists simply for convenience in find-
ing particular log file entries.
Under normal usage, prints the last count entries in the log file. When one of the options is specified, prints the last count entries
that match the specified criteria. If count is not specified, it defaults to 1.
will print all entries matching criteria. If this option is not specified,
will only print the last count entries that match the specified criteria.
will print only log file entries describing changes to the saved
kernel configuration named config. If this option is not specified, will print log file entries describing changes to any
saved or running kernel configuration.
will not print any entries. Instead,
will create a new entry, as if a kernel configuration change had been made, containing the specified comment. This option
is only allowed for users with appropriate privileges.
will print only log file entries that contain the given
will print only log file entries that refer to a configuration object
(module or tunable) of the given name.
will print only log file entries that refer to configuration objects
of the specified type: or
returns zero for success. It returns non-zero and prints a diagnostic message if an error occurs.
To see the last three entries in the log:
To see the last entry for the tunable
To see the last five entries for module changes:
To see all entries for module changes:
To see the last entry mentioning Aberdeen:
The format of the log file may be changed without notice.
Some configuration changes can be made without using the kernel configuration commands. No log file entries are made for such changes.
The log file should not be manually edited. Doing so may cause to behave unpredictably.
kcmodule(1M), kconfig(1M), kctune(1M), kconfig(5).