Shafiq Alibhai — Blog

      • English
    • blog

    Regular Expression

    [HowTo] Replace ip address using sed

    Calendar 20 juin 2011
    Development
    IP, IP Address, Ipad, Regular Expression, Sed, Unix

    La commande suivante recherchera un motif d’adresse IP dans le fichier spécifié et le remplacera par celle fournie :

    sed 's/[0-9]\{1,3\}.[0-9]\{1,3\}.[0-9]\{1,3\}.[0-9]\{1,3\}/**IPADDRESS-COMES-HERE**/g' /SourceFilename > /DestinationFilename
    • Categories
      • Uncategorised 16
      • Productivity 1
      • Activities 1
      • Art 1
      • Learning 1
      • Financial 4
      • Self-Help 8
      • Development 83
      • Management 30
      • Uncategorized 28
      • Quote 10
      • Architecture 7
      • Design 16
      • Développement 0
    • Tags
      • Colouring Book 1
      • Illustrations 1
      • Toddlers 1
      • Collaboration 1
      • Communication 1
      • Architecture 3
      • ERP 5
      • Sed 10
      • Business 3
      • Archimate 1
      • Project Initiation Documentation RACI Chart 1
      • RACI Matrix 1
      • Stakeholder Analysis 2
      • Stakeholder Roles Groups 1
      • Stakeholder List 1
      • Assertiveness 1
      • Building 2
      • Emotional Intelligence 1
      • Intel 3
      • IOS 3
      • People Skills 1
      • Design 8
      • New Year Resolution 1
      • Simplify 1
      • Debugging 1
      • Drupal 6 1
      • PHP 6
      • Web Development 1
      • CSS 1
      • DataTables 1
      • JavaScript 4
      • JQuery 1
      • Ebay 1
      • Ebay Api 1
      • Ecommerce 1
      • Email 4
      • FedEx 1
      • IP 17
      • Postal Service 1
      • Royal Mail 1
      • XML 2
      • Database 4
      • Network Security 1
      • Operating Systems 1
      • Security 1
      • System Hardening 1
      • Virtual Machine 1
      • Firefox 2
      • Firefox Apps 1
      • Firefox Linux 1
      • Firefox Os 1
      • Ubuntu 4
      • IOS WordPress 1
      • WordPress 2
      • WordPress Template 1
      • WordPress Theme 1
      • Capistrano 1
      • CI/CD 1
      • Git 4
      • Jenkins 1
      • MCollective 1
      • Puppet 3
      • Releng 1
      • Automation 1
      • Beginners Guide 1
      • Expect 2
      • Perl 1
      • Favourites 1
      • Mobile Phones 1
      • Available Virtual Memory 1
      • AWK 2
      • Grep 2
      • Programming 10
      • Virtual Memory 1
      • Vmstat 1
      • Customer Service 1
      • Goa 5
      • Hard Drive 1
      • Hyderabad 1
      • India 2
      • Iomega 1
      • Tech Support 1
      • IP Address 1
      • Ipad 2
      • Regular Expression 1
      • Unix 3
      • Bash 2
      • Hosts (File) 1
      • Network 2
      • Solaris 1
      • Sun Microsystems 1
      • Apache Subversion 1
      • Configuration Management 1
      • DevOps Tools 1
      • Quality Assurance 2
      • Release Engineering 1
      • Release Management 1
      • Version Control 1
      • Build Management 2
      • Developer 6
      • HTML 6
      • Java 4
      • JavaServer Pages 1
      • Languages 3
      • Administrator 2
      • IT Insights 1
      • Learning 3
      • Professional Growth 1
      • Opensuse 1
      • Opensuse 11.4 1
      • Screenshots 1
      • Advanced Packaging Tool 1
      • Browser 4
      • Firefox 4.0 1
      • Linux 1
      • Mozilla Firefox 4 1
      • Error Message 1
      • URL 2
      • FAQs Help and Tutorials 1
      • Blogger 1
      • Buildor 1
      • Web Design and Development 1
      • Website 7
      • Weebly 1
      • WYSIWYG 1
      • YouTube 2
      • Google 7
      • Browser Plugin 1
      • Disable Google Analytics 1
      • Google Analytics 1
      • Tools 3
      • Epoch Time 1
      • Erlang 1
      • JavaScript Shell 1
      • MySQL 1
      • Oracle 1
      • PostgreSQL 1
      • Powershell 1
      • Python 2
      • Ruby 2
      • Shell 1
      • Sql Server 1
      • Unix Timestamp 1
      • Vbscript 1
      • Cost 3
      • Database Server 1
      • Development 5
      • Shared Database 1
      • Quality Control and Tracking 2
      • Software Engineering 1
      • Management 4
      • Command-Line Interface 1
      • Load (Computing) 1
      • Uptime 1
      • Gearman 1
      • Gearman Perl 1
      • Requirement 7
      • Requirements 6
      • Software Requirements 1
      • Detailed Specifications 1
      • Requirements Managers 1
      • Requirements Writers 1
      • Development Process 3
      • Iterative Model 1
      • Spiral Model 1
      • Waterfall Model 1
      • Management Skills 2
      • Project Estimation 1
      • Project Scope 1
      • Project Success 1
      • Implementation 1
      • Intangible Intellectual Process 1
      • The "Yes But" Syndrome 1
      • Yes but Syndrome 1
      • Productivity 1
      • Productivity of All Individuals 1
      • Team Productivity 1
      • Apple 1
      • Quote 1
      • Copy 2
      • Cp 1
      • File Permissions Command 1
      • Preserve File Permissions 1
      • Openssl 1
      • Private Key 1
      • Public Certificate 1
      • Ajax 2
      • Tens 3
      • Agile 1
      • Agile Development 1
      • Duration 1
      • Shafiq 1
      • Sprint 1
      • Stand-Up Meeting 1
      • Exams 1
      • Hackers 1
      • College 1
      • New Programming Language 1
      • Beta 2
      • Cms 1
      • Hosting Services 1
      • Lessons Learned 1
      • Root Directory 1
      • Gnome 1
      • Innovations 1
      • Kde 4 1
      • Kernel 2 1
      • Launch 2
      • New Release 1
      • Alpha Release 1
      • Basic Software 1
      • Beta Release 1
      • Template Designs 1
      • Company Structures 1
      • Customer Account 1
      • Customer Accounts 1
      • Customer Master 1
      • Distribution Channel 1
      • Distribution Module 1
      • Document Number 1
      • Document Types 1
      • Fiscal Year 1
      • Incompleteness 1
      • Invoice 1
      • Organizational Element 1
      • Parameters 2
      • Point Determination 1
      • Proposals 1
      • Sales Order 1
      • Sales Organisation 1
      • SAP 1
      • Sap System 1
      • Shipping Point 1
      • Shipping Points 1
      • Variants 1
      • Download Html 1
      • Page Website 1
      • PSD 2
      • White Space 1
      • 10 Million 1
      • Crash and Burn 1
      • Defensibility 1
      • How Much Money 1
      • Investors 1
      • Job Market 1
      • Job Offer 1
      • Outflow 1
      • Page Views 1
      • Promise 1
      • Ships 1
      • All Sorts 1
      • Companies 1
      • Core Languages 1
      • Database Connectivity 1
      • Frameworks 1
      • Goofy Songs 1
      • Huge Swaths 1
      • Internet Applications 1
      • Javafx 1
      • Job Interview 1
      • Job Prospects 1
      • Logs 1
      • Mainframe Developers 1
      • Mainstream Development 1
      • Next Five Years 1
      • Politicians 1
      • Radical Shift 1
      • Silverlight 1
      • Taking the Time 1
      • Term Job 1
      • Web Application 1
      • Embed Tag 1
      • Flash Movie 1
      • Flash Portion 1
      • Object Tag 1
      • Param Name 1
      • Hyphen Character 1
      • Keywords 1
      • URLS 1
      • Weblinks 1
      • Browser Compatibility 1
      • Padding 1
      • Backdrop 2
      • Udbhav 8
      • Posters 1
      • Stickers 1
      • Participation Certificate 2
      • Mini Banners 1
      • Logo Samples 1
      • Computer Science 1
      • Engineering Association 1
      • Banner 1
      • College Magazine 1
      • Application Programming Interface 0
      • Arsin 0
      • Automated Processes 0
      • Automation Services 0
      • Bachelor of Technology 0
      • Business Commitment 0
      • Continuous Delivery 0
      • Delivering Solutions 0
      • Deployment Platform 0
      • Development Platform 0
      • Erp Applications 0
      • Execution Engine 0
      • Final Year Project 0
      • Formal Methodologies 0
      • Fortune 1000 Companies 0
      • Fortune 500 Companies 0
      • GitHub 0
      • Goan 0
      • Goans 0
      • God 0
      • Harden 0
      • History 0
      • Hudson 0
      • Job Queue Management 0
      • Massachusetts Institute of Technology 0
      • Microsoft Debugger 0
      • Networks 0
      • Organisation Profile 0
      • Photoshop 0
      • Portugal 0
      • Portuguese India 0
      • Quality Demands 0
      • Recherche en Temps Réel 0
      • Regression Test 0
      • Software Testing 0
      • Software Testing Solutions 0
      • Sophisticated Enterprise 0
      • Strategy 0
      • Strict Focus 0
      • Students 0
      • Sun 0
      • Test Automation 0
      • Test Automation Solutions 0
      • Test Automation Tools 0
      • Test Execution 0
      • Test Execution Engine 0
      • Test Library 0
      • Test Professionals 0
      • Test Scenarios 0
      • Timeframes 0
      • VMware 0
      • Website Design 0
      • WWW 0
      • Yahoo 0