Skip to content

Technology, Finance & Life

  • Technology
  • Finance
  • About Us
Technology, Finance & Life
  • Technology

    TCP/IP connection test

    Byadministrator September 11, 2025

    Sometimes you need to test whether two machines can connect with each other using TCP/IP. I personally need to do this when debugging client/server applications to rule out network issue. There is a useful command tool called nc. To test the connection from client B to server A, you need to start nc listening to…

    Read More TCP/IP connection testContinue

  • Technology

    Replace substrings found in files

    Byadministrator September 11, 2025

    There are times when you need to find some specific substring in files and replace them with something else. Let’s say, you want to find all occurrences of substring “foo” and replace them with “bar” in all java files under current directory. Here’s how you can do it on Linux (cd to your target directory…

    Read More Replace substrings found in filesContinue

  • Technology

    Calculate how many lines in code project

    Byadministrator September 11, 2025

    There are many times that you need to calculate total number of lines in your coding project. Here’s an example of how to do this on Linux or Unix like systems: Note the example above shows how to calculate total lines of all the JavaScript (.js) files. If your project are using other languages, you…

    Read More Calculate how many lines in code projectContinue

  • Technology

    How to check opened ports on Linux?

    Byadministrator September 10, 2025

    To check opened ports on Linux, you can run the following command: Here is an example of the output: In addition, you can run this command to show active internet connections (both servers and established): Here’s an example of the output:

    Read More How to check opened ports on Linux?Continue

  • Finance

    A great journey starts!

    Byadministrator September 7, 2025September 10, 2025

    This post marks the start of a great journey!

    Read More A great journey starts!Continue

© 2025 Technology, Finance & Life - WordPress Theme by Kadence WP

  • Technology
  • Finance
  • About Us