10-04-2010
not to execute any grapf if the file in a directory is zero byte
Hi thanks for ur reply.but how to check for the latest file and execute that file if it is greater than zero bytes?
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
:mad: I did this the other day but one of my support personnel removed my history so i could call it back up to remeber the exact command since i am air-headed at times. I am trying to take a 30 MEG file off the system and drop it to tape then i want to make the file go back to being 0 bytes so... (1 Reply)
Discussion started by: JackieRyan26
1 Replies
2. Shell Programming and Scripting
Hi all,
Does anybody know or guide me on how to remove the first N bytes and the last N bytes from a binary file? Is there any AWK or SED or any command that I can use to achieve this?
Your help is greatly appreciated!!
Best Regards,
Naveen. (1 Reply)
Discussion started by: naveendronavall
1 Replies
3. UNIX for Dummies Questions & Answers
Hi,
How do I check for the total bytes of character used by a file?
Can I used a od command to check?
Thanks. (1 Reply)
Discussion started by: user50210
1 Replies
4. Programming
What is the easiest way to inspect the bytes stored in a file?
Ideally, If my file was 10 bytes each of which had only the high bit set, I'd be able to browse for it and get output like this:
01 - 10000000
02 - 10000000
03 - 10000000
04 - 10000000
05 - 10000000
06 - 10000000
07 -... (7 Replies)
Discussion started by: sneakyimp
7 Replies
5. Shell Programming and Scripting
While running script I am getting an error like
Few lines in data are not being processed.
After googling it I came to know that adding such line would give some memory to it
ini_set("memory_limit","64M");
my input file size is 1 GB.
Is that memory limit is based on RAM we have on... (1 Reply)
Discussion started by: elamurugu
1 Replies
6. Programming
Hi,
If I want to copy a 1024 byte data stream in to the target location in 3-bytes chunk, I guess I can use the following script.
dd bs=1024 count=3 if=/src of=/dest
But, I would like to know, how to do it via a C program. I have tried this with memcpy(), that did not help. (3 Replies)
Discussion started by: royalibrahim
3 Replies
7. UNIX for Dummies Questions & Answers
Hello guys. I really hope someone will help me with this one..
So, I have to write this script who:
- creates a file home/student/vmdisk of 10 mb
- formats that file to ext3
- mounts that partition to /mnt/partition
- creates a file /mnt/partition/data. In this file, there will... (1 Reply)
Discussion started by: razolo13
1 Replies
8. Shell Programming and Scripting
hello,
suppose, entered input is of 1-40 bytes, i need it to be converted to 40 bytes exactly.
example: if i have entered my name anywhere between 1-40 i want it to be stored with 40 bytes exactly.
enter your name:
donald duck (this is of 11 bytes)
expected is as below - display 11... (3 Replies)
Discussion started by: shravan.300
3 Replies
9. Shell Programming and Scripting
is there a better way to do this:
head -c 10000k /var/dump.log | head -c 6000k
unfortunately, the "-c" option is not available on sun solaris. so i'm looking at "dd". but i dont know how to use it to achieve the same exact goal as the above head command.
this needs to work on both solaris... (5 Replies)
Discussion started by: SkySmart
5 Replies
10. Red Hat
Hi Expert,
I'm having grub problem here:
grub> root
(hd0,0): Filesystem type is ext2
grub> setup
Error 11 : Unrecognized Device String
I try install boot loader follow the instruction from 26.2. Booting into Rescue Mode
It says : select Continue, it attempts to mount your file... (4 Replies)
Discussion started by: justbow
4 Replies
LEARN ABOUT DEBIAN
maria-vis
MARIA-VIS(1) General Commands Manual MARIA-VIS(1)
NAME
maria-vis - graph visualization script for maria
SYNOPSIS
maria-vis
DESCRIPTION
This manual page documents briefly the maria-vis command.
maria-vis is a lefty script invoked by maria in order to visually present information to the user. The script reads commands and direc-
tives from standard input and may write maria query language commands to standard output. An end-of-file condition on standard input ter-
minates the script.
The script is built on top of the dotty script that is part of the GraphViz package. The commands prefixed with visual in maria issue two
kinds of commands to this script: new(); or add(); followed by a newline character and a graph definition in the dot input language. The
new function in the script displays the graph in a new window, while the add function copies information from the graph to the last modi-
fied graph.
SEE ALSO
dot(1), dotty(1), lefty(1), maria(1).
AUTHOR
This manual page was written by Marko Makela <msmakela@tcs.hut.fi>. The maria-vis script and the visualization option were designed and
implemented by Marko Makela. Please see the copyright file in /usr/share/doc/maria for details.
August 10, 2001 MARIA-VIS(1)