Common command line operations

karthik · updated · flag

When people implement a software architecture for a common use case, it gets iterated, restructured, and standardised. And soon when it starts creating an architectural pattern for that particular use case – the production applications vouching for the robustness of the architecture – it’s adapted widely by other projects.

The common patterns we are going to learn this course are as follows.

  • Monolithic or single-tiered
  • Layered or n-tiered
  • Microservices Display just the last 10 lines of a file in the terminal. Example - tail /someserver/access.log. You can increase the number of lines by passing it as an argument like tail -30 /somefile.

    Network

    Command Description
    netstat Network statistic command that displays the information of your network parameters.
    ifconfig Interface configuration command that displays the information of all the network interfaces in a system. Useful to identify the interface names and their MTU values.
    traceroute Trace the route taken by a network call to a website or IP. Usage - traceroute mindspace.arclind.com.
    ssh Secure Shell protocol command that lets you login to a remote terminal of a server over a secure connection. Usage - ssh user@host.
    curl A command-line utility with so many features used to transfer data from or to a server with various protocols.
  • Peer-to-peer
  • Event-driven
  • Microkernel


Comments