04-02-2010
Quote:
Originally Posted by
masloff
So, in general it doesn`t really matter which package is installed - root or usr?
It does matter a lot. When both root and usr packages exist like SUNWGtku and SUNWGtkr,
both must be installed. / and /usr serve different purposes, they aren't alternative installation locations.
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi Friends,
Can any of you explain me about the below line of code?
mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'`
Im not able to understand, what exactly it is doing :confused:
Any help would be useful for me.
Lokesha (4 Replies)
Discussion started by: Lokesha
4 Replies
2. Shell Programming and Scripting
Hi,
I have line in input file as below:
3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL
My expected output for line in the file must be :
"1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL"
Can someone... (7 Replies)
Discussion started by: shis100
7 Replies
3. Shell Programming and Scripting
logs:
"/home/abc/public_html/index.php"
"/home/abc/public_html/index.php"
"/home/xyz/public_html/index.php"
"/home/xyz/public_html/index.php"
"/home/xyz/public_html/index.php"
how to use "cut" or "awk" or "sed" to get the following result:
abc
abc
xyz
xyz
xyz (8 Replies)
Discussion started by: timmywong
8 Replies
4. Solaris
The system don't boot.
on the screen appears following:
press enter to maintenance (or type CTRL-D to continue)...I checked with format command.
... the slices "0-root","1-swap","2-backup" exist.
...the slises "3-var","6-usr" -unassigned. :( (16 Replies)
Discussion started by: wolfgang
16 Replies
5. AIX
Our AIX servers send e-mails which have the "from" address set to "root@company.com" for our root user ("C{M}company.com" in /etc/sendmail.cf). The problem is that when bad e-mails are sent out or rejected by remote servers, they are being returned and delivered to e-mail box of "Mary Root".
... (2 Replies)
Discussion started by: kah00na
2 Replies
6. UNIX for Dummies Questions & Answers
How to use "mailx" command to do e-mail reading the input file containing email address, where column 1 has name and column 2 containing “To” e-mail address
and column 3 contains “cc” e-mail address to include with same email.
Sample input file, email.txt
Below is an sample code where... (2 Replies)
Discussion started by: asjaiswal
2 Replies
7. Shell Programming and Scripting
I'm on Ubuntu 14.04 and I manually updated my coreutils so that "tee" is now on version 8.27
I was running a script using bash where there is some write to pipe error at some point causing the tee command to exit abruptly while the script continues to run. The newer version of tee seems to prevent... (2 Replies)
Discussion started by: stompadon
2 Replies
8. Shell Programming and Scripting
Hello.
System : opensuse leap 42.3
I have a bash script that build a text file.
I would like the last command doing :
print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt
where :
print_cmd ::= some printing... (1 Reply)
Discussion started by: jcdole
1 Replies
9. AIX
Hi 2 all,
i have had AIX 7.2
:/# /usr/IBMAHS/bin/apachectl -v
Server version: Apache/2.4.12 (Unix)
Server built: May 25 2015 04:58:27
:/#:/# /usr/IBMAHS/bin/apachectl -M
Loaded Modules:
core_module (static)
so_module (static)
http_module (static)
mpm_worker_module (static)
... (3 Replies)
Discussion started by: penchev
3 Replies
LEARN ABOUT DEBIAN
dh_installchangelogs
DH_INSTALLCHANGELOGS(1) Debhelper DH_INSTALLCHANGELOGS(1)
NAME
dh_installchangelogs - install changelogs into package build directories
SYNOPSIS
dh_installchangelogs [debhelperoptions] [-k] [-Xitem] [upstream]
DESCRIPTION
dh_installchangelogs is a debhelper program that is responsible for installing changelogs into package build directories.
An upstream changelog file may be specified as an option. If none is specified, it looks for files with names that seem likely to be
changelogs. (In compatibility level 7 and above.)
If there is an upstream changelog file, it will be be installed as usr/share/doc/package/changelog in the package build directory. If the
changelog is a html file (determined by file extension), it will be installed as usr/share/doc/package/changelog.html instead, and will be
converted to plain text with html2text to generate usr/share/doc/package/changelog.
FILES
debian/changelog
debian/NEWS
debian/package.changelog
debian/package.NEWS
Automatically installed into usr/share/doc/package/ in the package build directory.
Use the package specific name if package needs a different NEWS or changelog file.
The changelog file is installed with a name of changelog for native packages, and changelog.Debian for non-native packages. The NEWS
file is always installed with a name of NEWS.Debian.
OPTIONS
-k, --keep
Keep the original name of the upstream changelog. This will be accomplished by installing the upstream changelog as changelog, and
making a symlink from that to the original name of the changelog file. This can be useful if the upstream changelog has an unusual
name, or if other documentation in the package refers to the changelog file.
-Xitem, --exclude=item
Exclude upstream changelog files that contain item anywhere in their filename from being installed.
upstream
Install this file as the upstream changelog.
SEE ALSO
debhelper(7)
This program is a part of debhelper.
AUTHOR
Joey Hess <joeyh@debian.org>
9.20120909 2011-09-12 DH_INSTALLCHANGELOGS(1)