10-12-2016
Moderator's Comments:
|
|
Posting "Does not work" without explanation does not help you or anyone. If a command does not work for you, please show the exact circumstances you used it, and the exact error or malfunction you received. Do not paraphrase errors, or post the text as links, images, or attachments if you can avoid it: Paste the exact message, in code tags, like [code] text [/code] or by selecting the text and using the button.
Thank you.
The UNIX and Linux Forums
|
|
7 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi All,
I have a basic question in Scripting.
Can anyone tell me what is the difference b/w the two syntax :
if (( $lines = 0 ));
and
if ;
when do we use the square brackets & when to use the paranthesis.
Thanks,
Pradeep (3 Replies)
Discussion started by: pradeep_desh
3 Replies
2. UNIX for Dummies Questions & Answers
Can any body help me on how to check whether a file contains a required extension or not.
pseudo is:
if (filename contains .jpg || filename contains .gif)
--- do some thing
end if
Example file names:
test1.grm.gtrx.drx.jpg
test.de.mi.jpg
test2.ds.gif
test3.gif
thanks in advance (2 Replies)
Discussion started by: devs
2 Replies
3. Shell Programming and Scripting
Hi,
I have a script which I need to modify the date "01/10/2008" and "31/10/2008" every month before running the report. Can I have some script to take the date automatically from the cal option.
Hope it makes sense.
Thanks in advance. (1 Reply)
Discussion started by: Jayanthsec
1 Replies
4. AIX
Hello , Everyone ,
I want to know the Aix Basics and how it works ,hardware related problems and solution etc. (1 Reply)
Discussion started by: narendram
1 Replies
5. Shell Programming and Scripting
how do i use the ls command with a single argument to list all files whose names end with the letter 'r'? (7 Replies)
Discussion started by: lilbo4231
7 Replies
6. UNIX for Dummies Questions & Answers
hello everyone
i have to start with unix as it is a part of my training programme and i have to do a self study, i dont know where to start from. i need some basic questions to be answerd like why we use unix ? what is a terminal? what is an editor? why we write commands inside terminal?
these... (4 Replies)
Discussion started by: aryancool
4 Replies
7. Solaris
Trying to figure out the best method of security for oracle user accounts. In Solaris 10 they are set as regular users but have nologin set forcing the dev's to login as themselves and then su to the oracle users.
In Solaris11 we have the option of making it a role because RBAC is enabled but... (1 Reply)
Discussion started by: os2mac
1 Replies
LEARN ABOUT DEBIAN
dpkg-preconfigure
DPKG-PRECONFIGURE(8) Debconf DPKG-PRECONFIGURE(8)
NAME
dpkg-preconfigure - let packages ask questions prior to their installation
SYNOPSIS
dpkg-preconfigure [options] package.deb
dpkg-preconfigure --apt
DESCRIPTION
dpkg-preconfigure lets packages ask questions before they are installed. It operates on a set of debian packages, and all packages that
use debconf will have their config script run so they can examine the system and ask questions.
OPTIONS
-ftype, --frontend=type
Select the frontend to use.
-pvalue, --priority=value
Set the lowest priority of questions you are interested in. Any questions with a priority below the selected priority will be ignored
and their default answers will be used.
--terse
Enables terse output mode. This affects only some frontends.
--apt
Run in apt mode. It will expect to read a set of package filenames from stdin, rather than getting them as parameters. Typically this
is used to make apt run dpkg-preconfigure on all packages before they are installed. To do this, add something like this to
/etc/apt/apt.conf:
// Pre-configure all packages before
// they are installed.
DPkg::Pre-Install-Pkgs {
"dpkg-preconfigure --apt --priority=low";
};
-h, --help
Display usage help.
SEE ALSO
debconf(7)
AUTHOR
Joey Hess <joeyh@debian.org>
2012-09-10 DPKG-PRECONFIGURE(8)