I am new to UNIX (about a year) and learning as fast as I can. I am an instructor teaching UNIX and have two labs with Ultra 10 333 MHz, Sun Blade 1000 1 GHz, Blade 100, and Two Enterprise 250 Servers. We are currently teaching our classes using the Solaris 2.10 OS, downloaded in May 2006, I am not... (7 Replies)
Hi,
There are multiple files like
file1_11
file2_11
file3_11.....and so on.
How to rename them such tht the suffix _11 is removed and they become file1, file2, file3.
Any help is appreciated.
Regards
er_ashu (1 Reply)
hi,
I have this problem.
I run a script to check which version of a given package is installed and I need something returning a meaningfull answer also if the installation was done with the sources.
Let's say that, a priori, I do not know how the package was installed.
So far I have... (0 Replies)
I would like to remove characters from column 7 so that from an input file looking like this:
>HWI-EAS422_12:4:1:69:89 GGTTTAAATATTGCACAAAAGGTATAGAGCGT U0 1 0 0 ref_chr8.fa 6527777 F DD
I get something like that in an output file:
... (13 Replies)
Hi,
I recently did slight modifications to the basename utility from the coreutils package.
I downloaded the source by typing "apt-get source coreutils", added a new option to the program, updated the respective manpage, build and installed it using "dpkg-buildpackage -uc -b && dpkg -i... (0 Replies)
I was wondering if anyone already had a script to check rpm packages versions x.x.x or greater.
so I could do a:
# CheckRpmVersion Somepackage-1.2.3
And would output: whether the package is installed or not and if it was equal to or greater than the version 1.2.3.
I know I can pull out... (0 Replies)
I just upgraded my laptop from Fedora 13 to 14, and normally, before I do the upgrade (Fresh install) I run an rpm command to make a list of all the packages I have installed, but without the version and architectures specified, so that I can just feed that list to yum after the upgrade to... (2 Replies)
Hi all,
I desperately need a small script which deletes everything in a particular .txt file when "Abs = {" appears till "},", and also when "B-1 = {" appears till "},"
I would like all the text in between of those instances to be deleted, however, other text to be unedited (kept as it is).... (12 Replies)
I need a programmatic way to check, that supersede of required package is installed. At Linux I do it using rpmvercm utility to compare installed package version to my minimal requirement.
So - I need analog of Linux "rpmvercm" utility for Solaris (10/11)
Let us say - I know that minimal version... (10 Replies)
Hello, I'm running Ubuntu 18.04 and I would like to install libboost-python version 1.46. Currently I have installed version 1.65:
wakatana@local-machine:~$ dpkg -l | grep libboost-python
ii libboost-python-dev 1.65.1.0ubuntu1 amd64 ... (1 Reply)
Discussion started by: wakatana
1 Replies
LEARN ABOUT PLAN9
dh_installemacsen
DH_INSTALLEMACSEN(1) Debhelper DH_INSTALLEMACSEN(1)NAME
dh_installemacsen - register an Emacs add on package
SYNOPSIS
dh_installemacsen [debhelperoptions] [-n] [--priority=n] [--flavor=foo]
DESCRIPTION
dh_installemacsen is a debhelper program that is responsible for installing files used by the Debian emacsen-common package into package
build directories.
It also automatically generates the preinst postinst and prerm commands needed to register a package as an Emacs add on package. The
commands are added to the maintainer scripts by dh_installdeb. See dh_installdeb(1) for an explanation of how this works.
FILES
debian/package.emacsen-compat
Installed into usr/lib/emacsen-common/packages/compat/package in the package build directory.
debian/package.emacsen-install
Installed into usr/lib/emacsen-common/packages/install/package in the package build directory.
debian/package.emacsen-remove
Installed into usr/lib/emacsen-common/packages/remove/package in the package build directory.
debian/package.emacsen-startup
Installed into etc/emacs/site-start.d/50package.el in the package build directory. Use --priority to use a different priority than 50.
OPTIONS -n, --no-scripts
Do not modify postinst/prerm scripts.
--priority=n
Sets the priority number of a site-start.d file. Default is 50.
--flavor=foo
Sets the flavor a site-start.d file will be installed in. Default is emacs, alternatives include xemacs and emacs20.
NOTES
Note that this command is not idempotent. dh_prep(1) should be called between invocations of this command. Otherwise, it may cause multiple
instances of the same text to be added to maintainer scripts.
SEE ALSO debhelper(7) "usr/share/doc/emacsen-common/debian-emacs-policy.gz"
This program is a part of debhelper.
AUTHOR
Joey Hess <joeyh@debian.org>
11.1.6ubuntu2 2018-05-10 DH_INSTALLEMACSEN(1)