Hi,
I work with AIX 5 and have two basic questions:
1) How do I underline/bold a word in a text output? Any way to do it with echo command?
basic example: echo "FOLDER " >> folder.txt ( I wish the word FOLDER to be underlined and bold).
2) Suppose I have the following pipe delimited... (1 Reply)
hi,
why the following is giving entire /etc/passwd file as output
even when it does not contain ^ or $ .
grep ' ' /etc/passwd
whereas the following is not giving any output
grep ' ^$ ' /etc/passwd (3 Replies)
How can I perform a grep and it will give me a contain word (maintenance) instead of a string or the whole line of info.
grep with exclusive output?
or is there a CONTAIN with IF statement ?
I have a file call yast2_vhost.conf and it contain multiple entries call
maintenance.html... (2 Replies)
Hello,
I have a list of stings that I'm using with grep to determine which files contain the strings. Here's what I have now:
list of strings in a file (list.txt):
/directory/direc tory/file.jsp
/dire ctory/directory/direct ory/file.jsp
grep I'm doing to find files that contain the... (4 Replies)
From below mentioned line,i have to display output as last word only ie:arch_1_105366_720809746.dbf
-rw-r----- 1 oracle dba 98887680 02 Mar 12:01 arch_1_105366_720809746.dbf
Please .. (5 Replies)
hi
i am running grep -c on a bunch of files some of which may be non existent. The output i get is in the same order as the files grep checks and this is what i want as i need to copy the output to a spreadsheet. However when i tried to pipe the output to sed to strip away the filenames and just... (5 Replies)
hi I want to write a script, while using the SED editor, to output the text, in this case a variable, to the result file but highlighted it in bold, is it possible to do that? can you tell me how?
eg. in text.txt
sed '$ a\
'$variable'
' <text.txt >text2.txt
so it will add the... (2 Replies)
currently I have process from a raw file to this stage
ALTER TABLE "EXCEL_ADMIN"."TC_TXN_VOID" ADD CONSTRAINT "PK_TC_TXN_VOID" PRIMARY KEY ("TC_TXN_IID")
ALTER TABLE "EXCEL_ADMIN"."TC_TXN_AMT" ADD CONSTRAINT "PK_TC_TXN_AMT" PRIMARY KEY ("TC_TXN_AMT_IID")
ALTER TABLE... (10 Replies)
Hi guys -
I am trying to have a certain file display information horizontally divided by a pipe.
for example
file name: foo.dat has information like this:
name1
name2
name3
namenamename4
namene5
I would like it to display like this:
name1|name2|name3|namenamename4|namene5
... (6 Replies)
Hi.
I have a command line that will generate exif data from .jpg files...
So to get the Camera Model I use:
find -iname "*.jpg" -print0 | xargs -0 exiftool -a | grep "Camera Model"
But I want the file name AND the camera model... How to I get the grep to give me TWO bits of information from... (2 Replies)
Discussion started by: TuftyDave
2 Replies
LEARN ABOUT DEBIAN
mic-livecd-iso-to-disk
MIC-LIVECD-ISO-TO-DISK(1) General Commands Manual MIC-LIVECD-ISO-TO-DISK(1)NAME
mic-livecd-iso-to-disk - Convert a livecd image to a live USB image then write to a USB disk or partition
SYNOPSIS
mic-livecd-iso-to-disk [--reset-mbr] [--noverify] [--overlay-size-mb <size>] [--home-size-mb <size>] [--unencrypted-home] <isopath>
[usbstick device]
<isopath> is your livecd image path name, [usbstick device] is optional, if not provided, it will detect automatically and ask you to
select.
DESCRIPTION
mic-livecd-iso-to-disk can convert a livecd image to a live USB image and write it to a USB disk or partition, it is different from mic-
image-writer which is just a safer dd with progress bar.
mic-livecd-iso-to-disk can detect all the removable USB disks and let you select one of them, if you didn't insert any USB disk, it will
ask you to insert until a USB disk is available, it can decide if your USB disk need to be formated and if your USB disk has an appropriate
partition for this livecd image, all the operations are interactive and have warnings f they will damage your old data on your USB disk.
mic-image-manager has a GUI tool for it.
OPTIONS --reset-mbr Set MBR on your USB disk
--noverify Don't verify your livecd image
--overlay-size-mb Specify overlay size, the default size is 64 MB
--home-size-mb Specify home size, the default is 0
EXAMPLES
Write a Molib live image to your USB disk:
mic-livecd-iso-to-disk your-2.1-final.img
EXIT STATUS
mic-livecd-iso-to-disk returns a zero exist status if it succeeds, otherwise return non-zero and print error message.
AUTHOR
Yi Yang, Anas Nashif, Jianfeng Ding
SEE ALSO mic-image-creator(1), mic-convertor(1), mic-chroot(1), mic-image-writer(1), mic-image-manager(1)perl v5.12.3 2011-05-31 MIC-LIVECD-ISO-TO-DISK(1)