Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: Marcel1958
  • Content: Threads
  • Order by date
  1. Marcel1958

    Tar and zip

    I have to deliver a file what is tarred and zipped. Now i do first the tar and than gzip. The file extension is .gz but they want the extension .tgz In Linux i found the for the tar command the parameter -z to compress and tar but in AIX i cannot found this. How can i create the .tgz file in...
  2. Marcel1958

    problem with if and else

    I wrote the an script to check the file systems. df -k | tr -d "%" | grep dev | while read filesystem blocks free gebruik A1 iused mounted do if [ "$gebruik" -gt "50" ] && [ "$mounted" = "/var/psf" ] | [ "$gebruik" -gt "90" ] && [ "$mounted" =...
  3. Marcel1958

    uuencode problem

    I send an file as an attachment with the mail. The receiver gets the file not as an attachment but in incorporated in the mail. The text is also wrong. With an other file it works oke. The command is: uuencode /prt/$1/input.mail/Result2N.txt.130504-133640...
  4. Marcel1958

    mail command problem

    I need to monitor the disk space so i wrote this little script to send an email when the free space is to low. Problem is that when the first problem is found the script stops. When i do only the echo command it works ok. user0="root" user1="mg.bogaard@xxx.nl" user2="r.van_der.vliet@xxx.nl"...
  5. Marcel1958

    check if on position 1 in an cell is an character

    in an cell i have the value : v 8,00 now i have to check if there is an v in the first position and if so fill the new cell with 8,00 if there is another character then the new cell must be empty
  6. Marcel1958

    sed: 0602-404 Function s:\(.*\)\(.\):\1,\2: 738 0 canno

    The following line gives the error: print "$DATUM"" ""${GEMID01}" | sed -e 's:\(.*\)\(.\):\1,\2:'"$GEMID02"" ""$TELAANTAL" The problem is "$GEMID02"" ""$TELAANTAL" whithout this it works oke
  7. Marcel1958

    add , to variable

    I have the variable $TRY. When i print this variable the result is: 1242 Now i will add an , between 124 an the last 2 How can i add this so the result will be 124,2
  8. Marcel1958

    syntax error

    I have some problems with the let TOTAAL=$TOTAAL+$freemb command in mine script: The messages on the console are: MEM T0156 63,0 0 /usr/bin/leesnmon[66]: TOTAAL=0+63,0: 0403-057 Syntax error Hereby a part of the script. BESTAND="./prd01_030417_0915.nmon.csv" while read -r...
  9. Marcel1958

    check if there is an file and then move it to another dir

    In a directory i have several files. For example the following names: jan.001 jan001.001 jan002.001 feb.001 feb002. 1 i will check if there are files in the directory starting with name jan (this can be different each time i start the script so i have to use an variable) 2 if exist move...
  10. Marcel1958

    How to send an SMS?

    Can anyone tell me how to send an SMS? Do i need an special program? Thanks a lot
  11. Marcel1958

    reporting disk usage with df -vk command

    Hello experts, I have to report (by email) on a daily basis(using the df -vk command): 1 the total amount of disk usage 2 signal if the usage of a file system is > 80% Who can help me with a usefull script? Regards Marcel

Part and Inventory Search

Back
Top