06-09-2018
Use 1d; in the sed command.
What does "the output is not in decimal" mean?
This User Gave Thanks to RudiC For This Post:
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi
A) I am able to send eMail using mailx from a UNIX ( solaris 8 ) host to my Outlook-email-ID : FName.Surname@Citigroup.com ( This is NOT my actual -eMail-ID). But in Outlook the "From :" eMail address is displayed as
" usr1@unix-host1.unregistered.email.citicorp.com " .i.e the words... (2 Replies)
Discussion started by: Vetrivela
2 Replies
2. Shell Programming and Scripting
Hi All,
happy new year.
I have a file with 4xN columns like
0.0000e+00 0.0000e+00 7.199E+07 7.123E+07 6.976E+07 6.482E+07 5.256E+07 2.523E+07
0.0000e+00 0.0000e+00 8.641E+07 8.550E+07 8.373E+07 7.780E+07 6.309E+07 3.028E+07... (8 Replies)
Discussion started by: f_o_555
8 Replies
3. Solaris
Hello everyone
I have a problem and I need your help:
I have a Solaris 10 and Solaris 8 UNIX Servers, and Linux Centos4 as email server.
I need send an email from Solaris servers preferably using Centos4 email server.
I have no mail service configured in my Solaris computers (1 Reply)
Discussion started by: aflores
1 Replies
4. Shell Programming and Scripting
Hello ,
I am trying to write a unix shell script to compare folder permission to say drwxr-x-wx and then send an email to my id in case the folders don't have the drwxr-x-wx permissions set for them .
I have been trying to come up with a script for few days now , pls help me:( (2 Replies)
Discussion started by: nairshar
2 Replies
5. UNIX for Dummies Questions & Answers
hi, i'm running openldap on ubuntu 10.04, creating new items with apache directory studio (windows version).
i use the ldap just as an address book to our small office (email clients are windows live mail 2009, 2011, microsoft outlook 2007 and 2010).
a. i cant see a list of the contacts,... (0 Replies)
Discussion started by: V4705
0 Replies
6. Shell Programming and Scripting
Hi all, I know this sounds suspiciously like a homework course; but, it is not.
My goal is to take a file, and match my "ID" column to the "Date" column, if those conditions are true, add the total number of minutes worked and place it in this file, while not printing the original rows that I... (6 Replies)
Discussion started by: mtucker6784
6 Replies
7. Shell Programming and Scripting
My File looks like:
"|" -> Field separator
A|B|C|100|1000
D|E|F|1|2
G|H|I|0|7
D|E|F|1|2
A|B|C|10|10000
G|H|I|0|7
A|B|C|1|100
D|E|F|1|2
I need to do a SUM on Col. 5 and Col.6 by grouping on Col 1,2 & 3
My expected output is:
A|B|C|111|11100 (2 Replies)
Discussion started by: machomaddy
2 Replies
8. Shell Programming and Scripting
Hi all, I'm pretty much a newbie to UNIX. I would appreciate any help with UNIX coding on comparing two large csv files (greater than 10 GB in size), and output a file with matching columns.
I want to compare file1 and file2 by 'id' and 'chain' columns, then extract exact matching rows'... (5 Replies)
Discussion started by: bkane3
5 Replies
9. Shell Programming and Scripting
HI All,
I'm embedding SQL query in Script which gives following output:
Assignee Group Total
ABC Group1 17
PQR Group2 5
PQR Group3 6
XYZ Group1 10
XYZ Group3 5
I have saved the above output in a file.
How do i sum up the contents of this output so as to get following output:
... (4 Replies)
Discussion started by: Khushbu
4 Replies
10. UNIX for Beginners Questions & Answers
Dear Experts,
I have input file which is comma separated, has 4 columns like below,
BRAND,COUNTRY,MODEL,COUNT
NIKE,USA,DUMMY,5
NIKE,USA,ORIGINAL,10
PUMA,FRANCE,DUMMY,20
PUMA,FRANCE,ORIGINAL,15
ADIDAS,ITALY,DUMMY,50
ADIDAS,ITALY,ORIGINAL,50
SPIKE,CHINA,DUMMY,1O
And expected output add... (2 Replies)
Discussion started by: ricky1991
2 Replies
LEARN ABOUT NETBSD
mount_kernfs
MOUNT_KERNFS(8) BSD System Manager's Manual MOUNT_KERNFS(8)
NAME
mount_kernfs -- mount the /kern file system
SYNOPSIS
mount_kernfs [-o options] /kern mount_point
DESCRIPTION
The mount_kernfs command attaches an instance of the kernel parameter namespace to the global filesystem namespace. The conventional mount
point is /kern. The directory specified by mount_point is converted to an absolute path before use. This command is normally executed by
mount(8) at boot time.
The filesystem includes several regular files which can be read, some of which can also be written. The contents of the files is in a
machine-independent format, either a string, or an integer in decimal ASCII. Where numbers are returned, a trailing newline character is
also added.
The options are as follows:
-o Options are specified with a -o flag followed by a comma separated string of options. See the mount(8) man page for possible options
and their meanings.
FILES
boottime the time at which the system was last booted (decimal ASCII).
copyright kernel copyright message.
hostname the hostname, with a trailing newline. The hostname can be changed by writing to this file. A trailing newline will be stripped
from the hostname being written.
hz the frequency of the system clock (decimal ASCII).
ipsecsa the directory that contains IPsec security associations (SA) in PF_KEY format. Filenames are SPI in decimal number. The content
of files can be inspected by using setkey(8).
ipsecsp the directory that contains IPsec security policies in PF_KEY format. Filenames are security policy ID in decimal number. The
content of files can be inspected by using setkey(8).
loadavg the 1, 5 and 15 minute load average in kernel fixed-point format. The final integer is the fix-point scaling factor. All numbers
are in decimal ASCII.
msgbuf the kernel message buffer, also read by syslogd(8), through the log device, and by dmesg(8).
pagesize the machine pagesize (decimal ASCII).
physmem the number of pages of physical memory in the machine (decimal ASCII).
rootdev the root device.
rrootdev the raw root device.
time the second and microsecond value of the system clock. Both numbers are in decimal ASCII.
version the kernel version string. The head line for /etc/motd can be generated by running: ``sed 1q /kern/version''
SEE ALSO
mount(2), unmount(2), ipsec(4), fstab(5), dmesg(8), mount(8), setkey(8), syslogd(8)
HISTORY
The mount_kernfs utility first appeared in 4.4BSD.
BUGS
This filesystem may not be NFS-exported.
lkm(4) version does not support IPsec-related files/directories.
BSD
September 8, 2003 BSD