Hi,
Im trying to update some properties files with text from another file:
file1
user=xyz
file2
user=
after script
file2
user=xyz
Im using this reading the $QUARTZURL,ETC... from quartz.properties:
echo... (1 Reply)
Hi, I have a problem..
1) I have a file that contains the lines as below :
VRF-TM_DummyLab/mse02.lab,mse02.lab,ge-2/0/7.222
VRF-EMS_HUAWEI_MSAN_208/mse01.lab,mse01.lab,xe-1/0/0.208
2) I need a method to read this file, line by line
from :... (5 Replies)
I have a input file which looks like this:
Value1=""
Value2=""
Value3=""
ListOfValues=" $Value1 $Value2 $Value3"
I have another program which computes the values ($val1, $val2, $val3). So if $val1 is 'A', $val2 is 'B' and $val3 is 'C', I should edit the input file so it will look like:... (0 Replies)
I have a input file which looks like this:
Value1=""
Value2=""
Value3=""
ListOfValues=" $Value1 $Value2 $Value3"
I have another program which computes the values ($val1, $val2, $val3). So if $val1 is 'A', $val2 is 'B' and $val3 is 'C', I should edit the input file so it will look like:... (6 Replies)
Hi everybody,
I'm trying to replace the $98 field with "T" if the last field (108th) is T
I've tried
awk 'BEGIN{OFS=FS="|"} {if ($108=="T")sub($98,"T"); print}' test.txt
but that doesn't do anything
also tried
awk 'BEGIN{OFS=FS="|"}{ /*T.$/ sub($98,"T")} { print}' test.txt
but... (2 Replies)
Well, to make another post at this helpful forum :b::D:
I recently tried something like this, I want to replace all those numberings/letters that are located
between <string>file://localhost/var/mobile/Applications/ and /Documents/</string>
numberings =----
replace with:
first... (6 Replies)
Hi,
I need help in the following:
I have a file in directory with mutiple comma seperated values. One of the value is a date and time format like 2012-04-10 xx:yy:zz
I need to find that time format in the file and then replace it with xx:yy+1:zz
and then save it as a new file and copy it to a... (3 Replies)
Hallo Everyone.
I have to admit I'm shell scripting illiterate . I need to find certain strings in several text files and replace each of the string by unique & corresponding text.
I prepared a csv file with 3 columns: <filename>;<old_pattern>;<new_pattern>
... (5 Replies)
i'm trying to figure out the easiest way to replace a string:
pineapple pineapple-reg
basketball basketball-reg
football foot-reg-ball
i'm storing the above in a file called wordstoreplace.txt
for each line above, the word in the first column is to be replaced by the word in the second... (4 Replies)
Hi,
I have a file1 like this:
ABAT
ABCA1
ABCC1
ABCC5
ABCC8
ABCE1
ABHD2
ABL1
CAMTA1
ACBD3
ACCN1
And I have a second file like this:
chr19 46118590 46119564 MACS_peak_1499 3100.00 chr19 46122009 46148405 CYP2B7P1 -2445
chr1 7430312 7430990... (7 Replies)
Discussion started by: a_bahreini
7 Replies
LEARN ABOUT CENTOS
kernel-command-line
KERNEL-COMMAND-LINE(7) kernel-command-line KERNEL-COMMAND-LINE(7)NAME
kernel-command-line - Kernel command line parameters
SYNOPSIS
/proc/cmdline
DESCRIPTION
The kernel, the initial RAM disk (initrd) and basic userspace functionality may be configured at boot via kernel command line arguments.
For command line parameters understood by the kernel, please see kernel-parameters.txt[1] and bootparam(7).
For command line parameters understood by the initial RAM disk, please see dracut.cmdline(7), or the documentation of the specific initrd
implementation of your installation.
CORE OS COMMAND LINE ARGUMENTS
systemd.unit=, rd.systemd.unit=, systemd.dump_core=, systemd.crash_shell=, systemd.crash_chvt=, systemd.confirm_spawn=,
systemd.show_status=, systemd.log_target=, systemd.log_level=, systemd.log_color=, systemd.log_location=, systemd.default_standard_output=,
systemd.default_standard_error=, systemd.setenv=
Parameters understood by the system and service manager to control system behavior. For details, see systemd(1).
quiet
Parameter understood by both the kernel and the system and service manager to control console log verbosity. For details, see
systemd(1).
debug
Parameter understood by both the kernel and the system and service manager to control console log verbosity. For details, see
systemd(1).
-b, emergency, single, s, S, 1, 2, 3, 4, 5
Parameters understood by the system and service manager, as compatibility options. For details, see systemd(1).
locale.LANG=, locale.LANGUAGE=, locale.LC_CTYPE=, locale.LC_NUMERIC=, locale.LC_TIME=, locale.LC_COLLATE=, locale.LC_MONETARY=,
locale.LC_MESSAGES=, locale.LC_PAPER=, locale.LC_NAME=, locale.LC_ADDRESS=, locale.LC_TELEPHONE=, locale.LC_MEASUREMENT=,
locale.LC_IDENTIFICATION=
Parameters understood by the system and service manager to control locale and language settings. For details, see systemd(1).
fsck.mode=
Parameter understood by the file system checker services. For details, see systemd-fsck@.service(8).
quotacheck.mode=
Parameter understood by the file quota checker service. For details, see systemd-quotacheck.service(8).
systemd.journald.forward_to_syslog=, systemd.journald.forward_to_kmsg=, systemd.journald.forward_to_console=
Parameters understood by the journal service. For details, see systemd-journald.service(8).
vconsole.keymap=, vconsole.keymap.toggle=, vconsole.font=, vconsole.font.map=, vconsole.font.unimap=
Parameters understood by the virtual console setup logic. For details, see systemd-vconsole-setup.service(8).
udev.log-priority=, rd.udev.log-priority=, udev.children-max=, rd.udev.children-max=, udev.exec-delay=, rd.udev.exec-delay=, net.ifnames=
Parameters understood by the device event managing daemon. For details, see systemd-udevd.service(8).
plymouth.enable=
May be used to disable the Plymouth boot splash. For details, see plymouth(8).
luks=, rd.luks=, luks.crypttab=, rd.luks.crypttab=, luks.uuid=, rd.luks.uuid=, luks.options=, rd.luks.options=, luks.key=, rd.luks.key=
Configures the LUKS full-disk encryption logic at boot. For details, see systemd-cryptsetup-generator(8).
fstab=, rd.fstab=
Configures the /etc/fstab logic at boot. For details, see systemd-fstab-generator(8).
modules-load=, rd.modules-load=
Load a specific kernel module early at boot. For details, see systemd-modules-load.service(8).
SEE ALSO systemd(1), bootparam(7), dracut.cmdline(7), systemd-fsck@.service(8), systemd-quotacheck.service(8), systemd-journald.service(8), systemd-
vconsole-setup.service(8), systemd-udevd.service(8), plymouth(8), systemd-cryptsetup-generator(8), systemd-fstab-generator(8), systemd-
modules-load.service(8)NOTES
1. kernel-parameters.txt
https://www.kernel.org/doc/Documentation/kernel-parameters.txt
systemd 208KERNEL-COMMAND-LINE(7)