Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

ksshell(1) [centos man page]

KSSHELL(1)						      General Commands Manual							KSSHELL(1)

NAME
ksshell -- an interactive kickstart shell SYNOPSIS
ksflatten [-i | --input INFILE] [-o | --output OUTFILE] [-v | --version VERSION] DESCRIPTION
ksshell is an interactive kickstart shell. It optionally takes an input kickstart file as the basis, allows the user to specify additional kickstart commands, and then writes out the finished kickstart file to stdout or the given file name. This program supports all the usual readline niceties including tab completion of kickstart commands and their options, though not the values those options can take. In addition to understanding all the kickstart commands, ksshell has some builtin commands of its own to make working with kickstart files in the context of a shell easier: .clear Clear the existing kickstart data, including any from INFILE. This essentially starts you over from a blank state. .quit Quit the interactive shell, either saving to the file given by OUTFILE or printing to stdout if none was given. .show Print the current kickstart file state. EXIT STATUS
ksflatten returns 0 on success, and 1 if VERSION is incorrect. If INFILE does not exist, a warning will be printed but the user will still be dumped to the interactive shell. OPTIONS
-i, --input INFILE The name of the input kickstart file. -o, --output OUTFILE Write the flattened kickstart file to OUTFILE, or stdout if no filename is given. -v, --version VERSION Use this version of kickstart syntax when processing the file, or the latest if no version is given. SEE ALSO
ksvalidator (1), ksverdiff (1) KSSHELL(1)

Check Out this Related Man Page

show-installed(1)														 show-installed(1)

NAME
show-installed - show installed RPM packages and descriptions SYNOPSIS
show-installed [options] DESCRIPTION
show-installed gives a compact description of the packages installed (or given) making use of the comps groups found in the repositories. OPTIONS
-h, --help show this help message and exit -f FORMAT, --format=FORMAT yum, kickstart or human; yum gives the result as a yum command line; kickstart the content of a %packages section; "human" readable is default. -i INPUT, --input=INPUT File to read the package list from instead of using the rpmdb. - for stdin. The file must contain package names only separated by white space (including newlines). rpm -qa --qf='%{name} ' produces proper output. -o OUTPUT, --output=OUTPUT File to write the result to. Stdout is used if option is omitted. -q, --quiet Do not show warnings. -e, --no-excludes Only show groups that are installed completely. Do not use exclude lines. --global-excludes Print exclude lines at the end and not after the groups requiring them. --global-addons Print package names at the end and not after the groups offering them as addon. --addons-by-group Also show groups not selected to sort packages contained by them. Those groups are commented out with a "# " at the begin of the line. -m, --allow-mandatories Check if just installing the mandatory packages gives better results. Uses "." to mark those groups. -a, --allow-all Check if installing all packages in the groups gives better results. Uses "*" to mark those groups. --ignore-missing Ignore packages missing in the repos. --ignore-missing-excludes Do not produce exclude lines for packages not in the repository. Florian Festi 21 October 2010 show-installed(1)
Man Page

15 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

adding order number in the output file

Hello, I have a list of all order number like below: maryu01001 johnm00003 peter02234 catmy66751 For the above, all number must in 5 digits and I need to add one into the number and output a new list like below: maryu01002 johnm00004 peter02235 catmy66752 How can write a... (20 Replies)
Discussion started by: happyv
20 Replies

2. Shell Programming and Scripting

Bash : how do i check the user input and make sure is only chracter or only number ?

Bash : how do i check the user input and make sure is only character or only number ? (7 Replies)
Discussion started by: CheeSen
7 Replies

3. Linux

problem with pmap_set (portmapper)

Hi guys, i am putting this problem again please help me out.. The RPC problem is appearing on the screen while starting the portmap service,take a look of the real.. #/etc/init.d/portmap restart Stopping portmap: Starting portmap: Cannot register service: RPC: Timed out not registered:... (15 Replies)
Discussion started by: daya.pandit
15 Replies

4. Programming

Print C file output both in stdout and file

Hello! I want to post a question. does anybody know how to print the output of a C program both in stdout and a file?? thanx (8 Replies)
Discussion started by: nicos
8 Replies

5. Shell Programming and Scripting

how to identify the mode of the file in unix

hi, I have a requirement in that i need to process a input file The problem is, the input file sometimes it is coming in dos mode and some times it is coming in unix mode The script which i have written will process the file only if it is in unix mode and it is not processing if the file is in... (7 Replies)
Discussion started by: trichyselva
7 Replies

6. Shell Programming and Scripting

Simple script to modify kickstart file

Hi, I would like to create a script so that it will ask me the following: 1) What is the ip address? 2) What is the gateway address? 3) What is the hostname? and then put the answer to the below kickstart file (kickstart.cfg) Here I included the kickstart.cfg: # Kickstart file... (9 Replies)
Discussion started by: beeloo
9 Replies

7. Shell Programming and Scripting

Rows to Columns - File Transpose

Hi I have an input file and I want to transpose it but I need to take care that if any field is missing for a record it should be popoulated with space for that field - using a shell script INFILE ---------- emp=1 sal=2 loc=abc emp=2 sal=21 sal=22 loc=xyz emp=5 loc=abc OUTFILE... (10 Replies)
Discussion started by: 46019
10 Replies

8. Shell Programming and Scripting

Can someone explain the 2 lines of code?

I have something like in the script. Can anyone explain what does the sort command does and followed by the sed sort -r -k3.7,3 -k3.1,3 -k3.4,3 -t: $dir"abc_"$x"_parsed" | sed -e 's/\(\)\(\{3\}\)/\1,\2/2' -e 's/\/2,00/\/200/' The file abc_"$x"_parsed contains something like below ... (7 Replies)
Discussion started by: Muthuraj K
7 Replies

9. Shell Programming and Scripting

ordering a data file

With an input file like this: How can I get an output like this? (In the quoted examples, the "_" sign represents an empty space) Note that there are some minus signs and no spaces, in the example above the first character of the first line is an empty space, so each number spans 10... (16 Replies)
Discussion started by: lego
16 Replies

10. Shell Programming and Scripting

Suppressing space replacing by comma

hi i want to replace spaces by comma my file is ADD 16428 170 160 3 WNPG 204 941 No 204802 ADD 16428 170 160 3 WNPG 204 941 No 204803 ADD 16428 170 160 3 WNPG 204 941 No 204804 ADD... (9 Replies)
Discussion started by: raghavendra.cse
9 Replies

11. Shell Programming and Scripting

user auditing

Hello, is there some way to track what shell commands some user is executing ? Something like to have some log file where i could see what commands some user used, e.g. rm -r dirname , ls -l .... and so on ... I have 2.6.13-1.1526_FC4smp (9 Replies)
Discussion started by: tonijel
9 Replies

12. Red Hat

RHEL 5.5 on VMBOX

I am currently working with 2 virtual machines (VirtualBox), my plan is to configure a kickstart for rhel 5.5 on one and using the other to install it too. The problem I have having is the machines do not talk to one another ?! I am running ubuntu 10.04 with (2 VMboxes) that do not talk to... (8 Replies)
Discussion started by: NelsonC
8 Replies

13. Red Hat

Help in ANACONDA-ks.cfg

i have automated installation of my proprietory linux.. using PXE. it all goes well. but after complete installation, while using the admin interface.. i am facing display problems. is it due to package dependencies.? or i have to write post script in anaconda-ks.cfg file??? can some one tell... (10 Replies)
Discussion started by: jayesh_j
10 Replies

14. Shell Programming and Scripting

help with file processing

Hi , I have a memory file like this with two columns: @C010 AA @C011 AA @C012 FE @C013 FF @C014 F7 @C015 FF first is memory add, second is the data. I wan to convert into a serial sequence starting from '00000' all the way to 'FFFFF' with those fields from the above file... (15 Replies)
Discussion started by: return_user
15 Replies

15. UNIX for Beginners Questions & Answers

INTO OUTFILE Error 2

Good day, I am trying to run the following command but it does not seem to work. # mysql -pPassword asteriskcdrdb -s -b -e "select 'Account ID','Destination','Operator','Provider','Date','BillSec','Rate id','Cost' UNION select accountcode,dst,'PBX',route_name,date_format(calldate,'%Y/%c/%e... (8 Replies)
Discussion started by: esgaroth32
8 Replies