scripting

Tag details

Welcome to the 'scripting' tag page at Technorati. This page features content from the farthest reaches of the Blogosphere that authors have "tagged" with 'scripting'.

Are you an expert about 'scripting'? Do you want to be the Technorati authority on 'scripting'? You can write a description that will appear right here: Join Blogcritics!

Look up Offsite Link "scripting" at The Free Dictionary

Original Technorati articles tagged “scripting”

Latest blogosphere posts tagged “scripting”
 

  • Scripting Games - Win32_LogicalDisk or Win32_Volume


    Authority Authority:
    I have heard some discussions recently regarding whether Win32_LogicalDisk or Win32_Volume should be used in the answer to event 3 in the Scripting Games. The problem requires you pull the drive letter, drive size and freespace for local disks on the server. Notice the emphasis – that will be important. ...
    2 days ago
  • Want to remove / and character using awk or sed


    Authority Authority:
    Below i am trying to remove "/" and "r" from the output, so i need output as: hdiskpower3 hdisk0 hdisk1 Code: #inq | grep 5773 | awk {print $1} | sed s/dev//g | awk -F"/" {$1=$1}1 .....................................................//rhdiskpower0 //rhdiskpower1 //rhdiskpower2 //rhdiskpower3 //rhdisk0 ...
    2 days ago
  • Timed command-line screenshots


    iPhone FirmwareAuthority Authority: 157
    A TUAW staffer recently asked if there were a way to snapshot the exact same region of the screen over and over at timed intervals without buying third-party software.There is, but it depends on your comfort with the command line. If youre experie...
    2 days ago
  • Timed command-line screenshots


    iPhone FirmwareAuthority Authority: 157
    A TUAW staffer recently asked if there were a way to snapshot the exact same region of the screen over and over at timed intervals without buying third-party software.There is, but it depends on your comfort with the command line. If youre experie...
    2 days ago
  • Cpu utilization by a process has to be mailed if more than 5% on AIX


    Authority Authority:
    i am using the below command in order to find the cpu utilization by a user..now i want to mail if the cpu utilization goes beyond 5%....can someone please help me ? ps auxw | sort -r +2 | awk { print $3,$1 } | head -6 | egrep "USER|#anonymous#" %CPU USER 2.0 anonymous Regards, Priyank Arora
    2 days ago
  • Timed command-line screenshots


    Authority Authority:
    A TUAW staffer recently asked if there were a way to snapshot the exact same region of the screen over and over at timed intervals without buying third-party software. There is, but it depends on your comfort with the command line. If youre experienced in Unix scripting, read on. If not, you may want to investigate ...
    2 days ago
  • Shell script executed from Informatica ETL tool is spawning 2 processes for one script


    Authority Authority:
    Hi, I am having a shell script which has a while loop as shown below. Code: while [ ! -f LANDDIR/TRIGGERFILE ] do   sleep 60 done I am executing this script from Informatica ETL tool command task from where we can execute UNIX commands/scripts. When i do that, i am seeing 2 processes getting started for ...
    2 days ago
  • Expect script to show cisco configs


    Authority Authority:
    I know there are better ways to do this. I prefer snmp. I do not have the proper perl modules loaded on the platorm. Snmp isnt loaded on the platform. Telnet is not an option. I need to write an expect script to pull cisco equipment configs. The following code is executed once I gain access. the running config ...
    3 days ago
  • PowerTip: Create an XML Representation of a Registry Key with PowerShell


    Authority Authority:
    Summary : Use Windows PowerShell to create an XML representation of a registry key.  How can I easily create an XML representation of a registry key by using Windows PowerShell?  Use the  Get-ChildItem  cmdllet and the registry provider to get the registry key, and pipe the results to the  Export-CliXML ...
    3 days ago
  • Replace a multi-line strings or numers


    Authority Authority:
    Hi I have no experience in Unix so any help would be appreciated I have the flowing text 235543 123 45654 199 225 578 45654 199 225 I need to find this sequence from A file 45654 199 225 and replaced it with in B file 45654 258 so the new file B will be 235543 123 45654 258 578 45654 258 any help?
    3 days ago
  • Prevoty Gets $700K For Cross Site Scripting Security


    Authority Authority:
    Los Angeles-based Prevoty , a developer of security tools for preventing cross-site scripting (XSS), a security issue for websites, has raised $700,000 in seed funding, the firm disclosed today. The funding came from Plus Capital, MM Capital, Paige Craig, Eric Hann (Netscape), and other angels. The firm is part of ...
    3 days ago
  • How To Bypass Surveys


    Authority Authority:
    So lets say you’re browsing the internet and found a link to website that has some really important information  you been searching for weeks now so you click on the link to see the info then ……     It happens the annoying survey pops up     We all know the feeling when this [...] The post How To Bypass ...
    3 days ago
  • FTP a File to a Remote Server


    Authority Authority:
    Hi, Im fairly new to Linux and need help with a script to ftp a .csv file to a remote server. I can ftp the .csv file manually from my server to the remote server in the "/" location. When I execute the script I receive the following message Could not create file. Heres what I have for the script so far. Code: ...
    3 days ago
  • awk help


    Authority Authority:
    Hi guys, I have yet another awk question. I have a list of items: Lemon Juice Orange Lemon Juice Apple Lemon I need to be able to count, through an awk script the number of times a line (think Lemon Juice instead of only Lemon) repeats itself in the list of items. I got as far as counting the number of times a word ...
    3 days ago
  • Setting userID on a running process


    Authority Authority:
    Hi Gurus I have a process that starts as root then changes to nobody. Its on a headless Arm5 pogoplug, and everything is running as root. so it cant use mailx, and strangely login to a remote site. I can get the PID, but I cant find anywhere an example of how to use setuid or set setgid to change the owner of the ...
    3 days ago
  • Calling script from script


    Authority Authority:
    I have a script that run several commands and displays them as they run. I want to call the script from another script and have the output write to a text file. I currently have a line in my calling script like; Code: /location_of_script/script_to_be_called > /tmp/file_to_write.txt Nothing is getting ...
    3 days ago
  • Mapping Servers


    Authority Authority:
    Hi All, I need an urgent assistance please . My case below: I have a list of 500 IP addresses. All These ip addresses are mapped/connected to different machine kinds : NT, Linux, Switch, Router ,FW, and so on. My Requirement is to filter from all this ip address only the Linux machines. In other words,to create a ...
    3 days ago
  • Breaking the sum of a column when specific pattern is found


    Authority Authority:
    Hi Am trying to sum up a file Code: # cat /Out maths                  2            0.0          english                2091            0.2          history              -1            0.0          physics                18            ...
    3 days ago
  • Network Error


    Authority Authority:
    Hi, Im working as a DBA and DB is installed on linux os,I am wrtting a health script to check if any errror in network is there or not or all required parameter which required to be checked from DB perspective on OS ,Also i would like to add TSM,Data domain information for Backup Perspective.Please help.Appreciate ...
    3 days ago
  • Retain the unmatched columns while joining


    Authority Authority:
    I have 2 files Code: file1 id  city    car type    model 1  york    subaru  impreza king 2  kampala toyota  corolla sissy 3  luzern  chrysler    gravity falcon Code: file2 id  name    rating 3  zanzini PG 2  tara    X when i use join sorted_file1 sorted_file2 >output i ...
    3 days ago

Comments about scripting

Personal attacks are NOT allowed
Please read our comment policy