Buying Need someone to execute this shell script

Discussion in 'Programming' started by Shazz, Jun 13, 2012.

  1. #1
    Shazz, Jun 13, 2012 IP
  2. dilgrover

    dilgrover Member

    Messages:
    55
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    41
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #2
    what price?
     
    dilgrover, Jun 13, 2012 IP
  3. Einheijar

    Einheijar Well-Known Member

    Messages:
    539
    Likes Received:
    13
    Best Answers:
    3
    Trophy Points:
    165
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #3
    
    cd /bin
    nano WHATEVERYOUWANT
    
    Code (markup):
    Copy paste this code into the nano window
    
    #!/bin/bash
    find / -xdev –type f ‘(‘ –name core –o –name ‘core[0-9]*’ –o –name ‘*.core’ ‘)’ –atime +7 –exec rm –f {} ‘;’
    
    Code (markup):
    After that continue with
    
    chmod -R 777 WHATEVERYOUWANT
    
    Code (markup):
    That code should be free to be executed from that script. Although if you want to run it as a normal user instead of root, additional tweaks are needed
     
    Einheijar, Jun 13, 2012 IP
    Shazz likes this.