Sponsored Content
Top Forums UNIX for Beginners Questions & Answers Bash script to get total size off of remainder calculated Post 303029613 by user3528 on Tuesday 29th of January 2019 02:02:47 PM
Old 01-29-2019
Thanks to balajesuri, Don Cragun and RudiC for taking the time to respond to this thread.

Balajesuri - I will play further with the code and report back if any issues.
Don, I can only use Bash but I will go over your post and try to incorporate the suggestions.
RudiC, Thanks for the suggestion, I'll test it out.
 

10 More Discussions You Might Find Interesting

1. HP-UX

total size taken by directory

HI ALL, i am a beginner in unix world. can anyone please tell me the way to find total size taken by each directory (including size of all subdirectories and files) present under /var. e.g what is space occupied by /var/adm , /var/admin etc. its a simple question but still i dont know the... (2 Replies)
Discussion started by: jyoti
2 Replies

2. Shell Programming and Scripting

bash script working for small size files but not for big size files.

Hi, I have one file stat. Stat file contents are as follows: for example. H50768020040913,00260100,507680,13,0000000643,0000000643,00000,0000 H50769520040808,00260100,507695,13,0000000000,0000000000,00000,0000 H50770620040611,00260100,507706,13,0000000000,0000000000,00000,0000 Now i... (1 Reply)
Discussion started by: davidpreml
1 Replies

3. Shell Programming and Scripting

Remainder of x/y in shell script

Hi, Can anyone help me with the syntax for finding out remainder of two integers. Ex: 10/3 ... it should return 1. Is fmod function will be helpful here? I am not able to find out usage of it. Kindly help. Regards, Malay Maru (3 Replies)
Discussion started by: malaymaru
3 Replies

4. Solaris

command to find out total size of a specific file size (spread over the server)

hi all, in my server there are some specific application files which are spread through out the server... these are spread in folders..sub-folders..chid folders... please help me, how can i find the total size of these specific files in the server... (3 Replies)
Discussion started by: abhinov
3 Replies

5. Shell Programming and Scripting

total size

I have a directory that contains files like aaa-2010-05-30.txt ddd-2010-05-30.txt www-2010-05-30.txt i have total 2000 files, i need to calculate total size of files for *2010-05-30.txt like aaa-2010-05-30.txt 200MB ddd-2010-05-30.txt 10GB www-2010-05-30.txt 4GB Total 14.2 GB... (5 Replies)
Discussion started by: learnbash
5 Replies

6. Shell Programming and Scripting

bash script directory size

hello! i need to make a script that get a folder name in parameter and i get back the size of the folder include the subfolders! but i dont know how i need to start :S Example: a folder contain the followings a: drwxr-xr-x 2 user user 4096 febr 25 08.27 b -rw-r--r-- 1 user user 2 febr... (3 Replies)
Discussion started by: impish
3 Replies

7. Solaris

Need command to know the total size

:mad:i need command to know the total size of project in my system by Giga bit i try #du -s /*/projectname but i need total size for this project by G.B can you help me (6 Replies)
Discussion started by: ayman
6 Replies

8. Shell Programming and Scripting

Bash Script - File Size

I have a bash script. I need a modification for safety. my original bash script: mv /home/script/backup /home/script/backup2 mysql -u user -ppassword -Ddatabase --batch --skip-column-names -e 'select id, url from videos where url like "%http%" limit 1' | while read id url do youtube-dl... (1 Reply)
Discussion started by: tara123
1 Replies

9. Shell Programming and Scripting

Script to determine Date,TotalFile,total size of file based on date

I have file listed like below -rw-r--r--+ 1 test test 17M Nov 26 14:43 test1.gz -rw-r--r--+ 1 test test 0 Nov 26 14:44 test2.gz -rw-r--r--+ 1 test test 0 Nov 27 10:41 test3.gz -rw-r--r--+ 1 test test 244K Nov 27 10:41 test4.gz -rw-r--r--+ 1 test test 17M Nov 27 10:41 test5.gz I... (5 Replies)
Discussion started by: krish2014
5 Replies

10. Programming

Program or bash script to see total progress of copy

hi all, i want a program or to make a bash script to find out the total ETA/percent (would be nice aswell a progress bar) of a copy recursive command so lets say i do - cp -r /source_folder/ /destinatation_folder/ and when i run it i get no information on the screen of how the copy is... (20 Replies)
Discussion started by: robertkwild
20 Replies
vbox.conf(5)						    Linux System Administration 					      vbox.conf(5)

NAME
vbox.conf - config file for vbox Description This file is used to configure when and on what conditions calls are taken. It can also be used to define which CALLERID is used with which person. Everything after the "#" is ignored, as are empty lines. All arguments must be separated by whitespace (spaces, tabs). Arguments may not contain whitespace. This file consists of several sections. A section begins with "[" NAME "]". The section name is case insensitive. A section ends at the end of the file or at the end of a new section. These sections exist: [CALLERIDS] This section maps CALLERID to persons and what settings to use. On an incoming call the CALLERID of the caller is detected and compared with this section. The SECTION of the first match is used. Format : PATTERN SECTION REALNAME PATTERN UN*X Pattern of a CALLERID. You may not use whitespace. SECTION Name of a user section to use. You many not use whitespace. With a "-" STANDARD will be used, with a "*" the REALNAME will be used. REALNAME Full name of the person that should be mapped to the CALLERID. Here you may use spaces. At the end of the [CALLERIDS] Section, you should have the entry "* - *** Unknown ***", so that also calls with no or unknown CAL- LERID can be processed. [RINGS] In this section you set when and after how many RINGs a call is taken. This section is the first to be examined when a call is incoming to determine if the call should be taken. The number of RINGs can be overruled in the user section. Format : TIME DAYS RINGS TIME time when the call should be taken. Read the isdntime(5) man page for details. DAYS days when the call should be takes. Read the isdntime(5) man page for details. RINGS Number of rings to wait before taking the call. With version 2.0 of the hisax isdn device driver the interval between two rings is longer (now it's nearly like a telephone; 4 - 5 seconds between rings). user defined sections Here you can make individual settings for some people. The section name has the same format as the other sections. The names CAL- LERIDS and RINGS are reserved. Format : TIME DAYS MESSAGE RECTIME [FLAG] [...] TIME time when the call should be taken. Read the isdntime(5) man page for details. DAYS days when the call should be taken. Read the isdntime(5) man page for details. MESSAGE Standard message to play for this call. You must either give the filename with full path, or a filename relative to /var/spool/vbox/<user>/messages. Default is "standard.msg". You may not use spaces or tabs. RECTIME Time in seconds: how long should vboxgetty record? Default is 60 seconds. FLAGS You can additionally give these flags: NOANSWER Don't answer this call. Default is to answer. NORECORD Don't record a message. Default is to record. NOTIMEOUTMSG Don't play timeout message. Default is to play. NOBEEPMSG Don't play beep message. Default is to play. NOSTDMSG Don't play std message. Default is to play. RINGS= Number of rings to wait before taking the call. Here you can override the [RINGS] section. TOLLRINGS= Number of rings to wait before answering the call, if new messages are available. This flag overrides the section [RINGS] and the flag RINGS= if there are new messages. The directory to search for new messages must be given with TOLLCHECK (or you can use the default). TOLLCHECK= Directory to search for new messages. Default is /var/spool/vbox/<user>/incoming. SCRIPT= TCL-Script to start after taking the call. This must be the full path or a filename relative to /var/spool/vbox/<user>. The default is standard.tcl. FILES
/var/spool/vbox/<user>/vbox.conf this configuration file. /usr/share/doc/isdnvboxserver/examples/vbox.conf an example. SEE ALSO
isdntime(5) AUTHOR
This manual page was written by Andreas Jellinghaus <aj@dungeon.inka.de>, for Debian GNU/Linux and isdn4linux. Now maintained by Paul Slootman <paul@debian.org>. ISDN 4 Linux 3.25 2000/09/15 vbox.conf(5)
All times are GMT -4. The time now is 04:33 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy