how would I search through subdirectories under the current directory and delete all files in certain directories.
in ThisDirectory....
want to go into foundMe directory which there are several in other subdirectories and delete all files in foundMe ?
thank you... (1 Reply)
I have a very large database and once in awhile the database auto loading scripts that update the database for the daily updates fails and I have to go in and manually fix it but when that happens I usually have to start from scratch on sundays I have access to a weekly database rebuild. Then I... (3 Replies)
Hello all,
Run a search but see no previous queries. Trying to get to the bottom of why a server running Solaris 9 reports the following every other day:
lonpcbcfp1:Jun 20 16:33:20 lonpcbcfp1 in.mpathd: missed sending 17 probes cur_time 1478014085 snxt_time 1478015026 snxt_basetime 1478014018... (0 Replies)
I have some xml files that cannot be read using a standard parser, or I am using the wrong parser. The issues seems to be spaces in some of the tags.
Here is a sample,<UgUn 2 >
<Un>
-0.426753
</Un>
</UgUn>The parser isn't able to find the number 2, so that information is lost, etc. It seems... (16 Replies)
Hi - can someone please help me combine find, grep and possibly ls into something workable:
i.e. How can I list all the files that contain the word "pet" in all directories under the current directory that are called "animal", bar those anywhere under directories called "archive"?
I suspect... (6 Replies)
Hello, I have a problem comparing two files, both .csv. One file, let's call it files.csv, contains a list of thousands of file names for models of molecules that have made it through an optimization process. The other file, formulas.csv, contains file names for the same kind of models, and has... (2 Replies)
Hello,
I am following the HPUX 11.31 install/update guide and I am trying to install "Update-UX" from the installation media. I put the CD into the drive, and I am trying to mount the device. The instructions state:Find the DVD-ROM device file name:
ioscan -C disk -f -n -k | more
A typical... (5 Replies)
Hi all,
I thought this would be simple, but I've been having a lot of trouble trying to write this IF statement, if I may ask for help pls:
In BASH, how would I construct the if statement:
Should ONLY be true if USEROPTscript=="yes"]] AND $mode=="INSTALL" /or/ $mode=="CHANGE" ]]... (3 Replies)
Hello All,
OS: openSUSE 13.1 (Bottle) (armv7hl)
PC: CuBox-i (*mini-pc)
The PC in question is a CuBox-i mini-pc. Since this PC doesn't have a battery, everytime the PC reboots the hardware clock is reset back to the same date every time, which is "2014-07-08 00:00".
I have NTP configured... (5 Replies)
Discussion started by: mrm5102
5 Replies
LEARN ABOUT LINUX
debpkg
DEBPKG(1) General Commands Manual DEBPKG(1)NAME
debpkg - wrapper for dpkg
SYNOPSIS
debpkg dpkg-options
DESCRIPTION
debpkg simply invokes dpkg(1) but first becomes superuser so that dpkg is able to install and remove packages. It also cleans the environ-
ment and resets PATH to a sane default: "/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11" so that local versions of programs are not run by
accident.
REQUIREMENTS
debpkg must be given superuser privileges in some way to function properly. Access to debpkg with those privileges is the same as having
superuser access to your machine. debpkg will abort if it finds that it neither being run by root nor setuid root.
The devscripts package has been designed to allow debpkg to be made setuid root. This works by using a compiled wrapper script, which
means that suidperl is not required. See dpkg-statoverride(8) if you wish to make this program setuid root. sudo or super could also con-
ceivably be used.
AUTHOR
Christoph Lameter <clameter@debian.org>; minor modifications made by Julian Gilbey <jdg@debian.org>.
DEBIAN Debian Utilities DEBPKG(1)