im using this command to return the number of links in my directory,
grep -c -i -h "href" *html */*html *htm *shtml
is there a way of adding these to get the total?
Cheers (3 Replies)
:confused:
I have plain text file "tmp" which include a range of numbers(bytes), say like:
123
234
567
2434
2323
213123
How can I add them and display out.
should I use AWK, then how?
I am a newer in Bourne shell, please give me a hand, thanks a lot (7 Replies)
Hello, I am (trying) to write a script that will check to see how many users are logged on to my machine, and if that number is more than 60 I need to kill off all the oldest sessions that are over 60. So far I have been able to check how many users are on and now I am at the part where I have to... (3 Replies)
Howdy experts,
We have some ranges of number which belongs to particual group as below.
GroupNo StartRange EndRange
Group0125 935300 935399
Group2006 935400 935476
937430 937459
Group0324 935477 935549
... (6 Replies)
I need to change the following field from:
"7/3/2009 7:07:12 PM","12345676","ok","8674"
"6/3/2009 8:07:12 PM","12345676","ok","8674"
"5/1/2009 7:07:12 PM","12345676","ok","8674"
"4/9/2009 3:07:12 AM","12345676","ok","8674"
"3/8/2009 3:07:12 PM","12345676","ok","8674"
"2/7/2009 4:07:12... (10 Replies)
Hello All,
I am having problem to find what is the smallest number from 90% of highest numbers from all numbers in file. I am having file with thousands of lines and hundreds of columns.
I am familiar mainly with bash but I am open to whatever suggestion witch will lead to the solutions.
If I... (11 Replies)
Hi,
I need to number the lines in my text file. I know how to do this with standard numbering (1,2,3,4, etc) but I need to count in multiples of 5, beginning 0,5,10,15...
example existing file:
abcd
efg
hijklm
nopqrs
desired output
0 abcd
5 efg
10 hijklm
15 ... (11 Replies)
Hi again. Sorry for all the questions — I've tried to do all this myself but I'm just not good enough yet, and the help I've received so far from bartus11 has been absolutely invaluable. Hopefully this will be the last bit of file manipulation I need to do.
I have a file which is formatted as... (4 Replies)
Discussion started by: crunchgargoyle
4 Replies
LEARN ABOUT DEBIAN
grml2iso
GRML2ISO(8)GRML2ISO(8)NAME
grml2iso - create a multiboot grml ISO using grml2usb
SYNOPSIS
grml2iso -o <target.iso> <ISO[s]>
Important! The grml team does not take responsibility for loss of any data!
INTRODUCTION
grml2iso allows you to create a multiboot grml ISO. You can specify two or more grml ISOs and will get one single multiboot ISO as a
result. grml2iso requires and uses grml2usb for this task and installs grub2 as bootmanager on the multiboot ISO.
OPTIONS
grml2iso supports the environment variables GRML2USB and WRKDIR. GRML2USB specifies the path to the grml2usb script you'd like to use.
WRKDIR specifies the work directory for creating the filesystem. The work directory needs at least as much free disk space as the sum of
all specified ISOs.
-o <target.iso>
This option is mandatory and specifies where the resulting multiboot grml ISO should be placed. Note that (to avoid any possible data
loss) grml2iso will exit if the specified target.iso exists already.
-c <directory>
The content of the specified directory will be copied to the resulting multiboot grml ISO.
-b <boot params>
Use specified default bootoptions as default.
-f
Force the program to run and overwrite an existing iso image.
-r <boot param>
Remove specified boot parameter from existing command line. Could be specified multiple times.
-p <grml2usb param>
Execute grml2usb with the specified parameters. For a list of valid parameters have a look at the grml2usb webpage[1] or the grml2usb
manpage
-s <URI>
Generate a small iso file which downloads the squashfs file from the specified URI. Due to current limitations in busyboxs wget and DNS
resolution, an URL can not contain a hostname but an IP only. This is useful if you want to boot systems which support booting iso
image from your local system. Besides the iso image this command also copies the squashfs file to the output directory.
USAGE EXAMPLES
# grml2iso -o /tmp/grml.iso grml_2009.05.iso grml64_2009.05.iso
Create multiboot ISO /tmp/grml.iso with grml_2009.05.iso and grml64_2009.05.iso.
# grml2iso -b 'lang=de ssh=passwd' -c /tmp/grml-content -o /srv/grml.iso /srv/grml/grml_2009.10.iso
Create a new iso with additional boot parameters and copy the content from /tmp/grml-content to the generated iso image.
# grml2iso -r quiet -r vga=791 -o /srv/grml.iso /srv/grml-small_2009.10.iso
Create a new iso and remove existing boot parameters quiet and vga=791.
# GRML2USB=/srv/git/grml2usb grml2iso -o /srv/grml.iso /srv/grml/grml_2009.05.iso /srv/grml/grml64-medium_2009.05.iso
Create multiboot ISO /srv/grml.iso with grml_2009.05.iso and grml64-medium_2009.05.iso using /srv/git/grml2usb as grml2usb script.
# WRKDIR=/mnt/test/grml-tmp grml2iso -o /mnt/test/grml.iso grml_2009.05.iso grml64_2009.05.iso
Use /mnt/test/grml-tmp as working directory for creating the multiboot ISO /mnt/test/grml.iso with grml_2009.05.iso and grml64_2009.05.iso.
# grml2iso -p --skip-addons -o /srv/grml.iso /srv/grml-small_2009.10.iso /srv/grml64-small_2009.10.iso
Don't copy the addons from the specified iso images
ONLINE RESSOURCES
Check out the grml2usb webpage[1] and the grml2usb git repository[2].
BUGS
Please report feedback, bugreports and wishes to the author.
AUTHORS
Michael Prokop <mika@grml.org[3]> and Thorsten Glaser <tg@mirbsd.org[4]>
NOTES
1. grml2usb webpage
http://grml.org/grml2usb/
2. grml2usb git repository
http://git.grml.org/?p=grml2usb.git
3. mika@grml.org
mailto:mika@grml.org
4. tg@mirbsd.org
mailto:tg@mirbsd.org
05/28/2012 GRML2ISO(8)