9 More Discussions You Might Find Interesting
1. Red Hat
OS is redhat 7.
# nmcli dev
DEVICE TYPE STATE CONNECTION
virbr0 bridge disconnected --
eno16777736 ethernet disconnected --
eno33554960 ethernet disconnected --
virbr0-nic ethernet disconnected --
lo ... (1 Reply)
Discussion started by: tien86
1 Replies
2. AIX
Hello guys,
on one of our AIX VIO LPARs I can not remove hdiskpower devices, which seemed to presented to the VIO in an incorrect way and behaviour (not all paths can be seen, pseudo device name is unknown etc.)
Therefor I decided to deattach the hdiskpower device from PowerPath controll by: ... (5 Replies)
Discussion started by: tomek79
5 Replies
3. Shell Programming and Scripting
HI all, im new to shell scripting. need your guidence for my script. i wrote one script and is attached here
Im explaining the requirement of script.
AIM: Shell script to run automatically as per scheduled and backup few network devices configurations. Script will contain a set of commands... (4 Replies)
Discussion started by: saichand1985
4 Replies
4. Shell Programming and Scripting
Hi all, I don't have much experience with shell scripting and I was wondering if there's a shorter way to write this.
Basically, given a list of strings separated by new lines, I want to prepend each string with a prefix and separate the strings with commas
i.e.
stra
strb
strc
becomes... (3 Replies)
Discussion started by: vshan
3 Replies
5. Shell Programming and Scripting
the code below is a small fragment of the actual line, in fact i have about 20 values i'm comparing and want to know if it can be simplified. other than the x.xx.xx format of the value they have nothing in common
if || || ; then
do this
else
do this
fiany suggestions? (6 Replies)
Discussion started by: crimso
6 Replies
6. UNIX for Advanced & Expert Users
Hi,
Is there a way to simplify the below script? Because I am having problems executing this if I added this to CRON. Also, you may notice that its objective is to put all information in one file (rm1.txt). And in addition file "sRMR_6.txt" to sRMR_23.txt" changes its information everyday.... (4 Replies)
Discussion started by: vibora
4 Replies
7. Shell Programming and Scripting
tcpdump -nr testdump|awk '!/:/;gsub(/^+|+$/,""){print $3};a!~$0;{a=$0};{print $3};!/length/;/./;!/11\:/;!/8 7 6 5 4 3 2 1/;!/UDP/{b=$0} END {for (j=i-1; j>=0; ) print b };{for (i=NF; i>0; i--) printf("%s ",i);printf ("\n")}'
*NOTE IN j>=0 the ; ) was given a space since a smiley is showing up...... (1 Reply)
Discussion started by: sil
1 Replies
8. Shell Programming and Scripting
Is there a way to simplify stating 1 through to 10, for example in a for loop construct?
for x in 1 2 3 4 5 6 7 8 9 10
do
....
done
I have tried (1-10) with no luck.. thanks (2 Replies)
Discussion started by: sirtrancealot
2 Replies
9. Shell Programming and Scripting
I need to do a substitution: CPF to ,C,P,F, CPM to ,C,P,M, SPF to ,S,P,F etc. I can do each of them with separate substitutions e.g. s/CPF/,C,P,F/ but I'd like to know if there is a more elegant solution. In general, how can I use the results of the search in the substitution, ... (3 Replies)
Discussion started by: wvdeijk
3 Replies
getconfig(1) General Commands Manual getconfig(1)
NAME
getconfig - get configuration information for the XFree86 server
SYNOPSIS
getconfig [option ...]
DESCRIPTION
getconfig is a programmatic interface that is used by the XFree86 server to get configuration information about video hardware when operat-
ing without an XF86Config file.
This implementation of getconfig is written in perl. It processes a prioritized and ordered list of rules supplied internally and from
meta-configuration files. The rules are in the form of perl expressions. getconfig writes to standard output the XF86Config-style config-
uration data specified by the last highest priority rule that evaluates to true. Information about the format of the meta-configuration
files can be found in the getconfig(5) manual page.
OPTIONS
-I search-path
Specify the search path to use for meta-config files. search-path is a comma-separated list of directories to search. Each direc-
tory in the search path is searched for files with a .cfg suffix. Each such file is opened and checked for a valid signature
string. Rules are read from files with a valid signature string and appended to the list of rules to evaluate. If no search path
is specified, only the internally supplied configuration rules will be used.
-D Enable debugging output.
-V Print out the version information and exit.
-X XFree86-version
Specify the XFree86 version in numeric (integer) form.
-b subsys-id
Specify the PCI subsystem ID of the video device.
-c class
Specify the PCI class of the video device.
-d device-id
Specify the PCI device ID of the video device.
-r revision
Specify the PCI revision of the video device.
-s subsysvendor-id
Specify the PCI subsystem vendor ID of the video device.
-v vendor-id
Specify the PCI vendor ID of the video device.
-S sbus-path
Specify the SBUS path of the video device.
FILES
.cfg files located in the search path. The search path typically specified by the XFree86 server is:
/etc/X11
/usr/X11R6/etc/X11
<modulepath>
/usr/X11R6/lib/X11/getconfig
where <modulepath> is the XFree86 server's module search path.
SEE ALSO
getconfig(5), XFree86(1), XF86Config(5).
AUTHORS
The XFree86 automatic configuration support and the getconfig interface was written by David H. Dawes, with the support of X-Oz Technolo-
gies.
XFree86 Version 4.7.0 getconfig(1)