Home>Network programming tutorial> Shell tutorial
All ASP tutorial ASP tutorial ASP.NET tutorial PHP tutorial JSP tutorial C#/CSHARP tutorial XML tutorial Ajax tutorial Perl tutorial Shell tutorial Visual Basic tutorial Delphi tutorial Mobile development tutorial C/C++ tutorial Java tutorial J2EE/J2ME Software engineering
Shell tutorial
  • Shell preparation

    Shell preparation

    It is indeed a bit strange to write the "opening" in the last section of the preface. However, the beginning of the first article (Numerical Operations) is actually a small opening, where it is mentioned
    2025-01-03
  • Shell Boolean operations

    Shell Boolean operations

    $ if true;then echo YES; else echo NO; fiYES$ if false;then echo YES; else echo
    2025-01-03
  • Shell file operations

    Shell file operations

    struct stat { dev_t st_dev; /* device*/ ino_t st_ino; /* node*/ mode_t
    2025-01-03
  • Shell file system operations

    Shell file system operations

    $ updatedb Find scsi related drivers $ locate scsi*.ko Find usb related drivers $ locate usb*.ko These drivers have .ko as the suffix
    2025-01-03
  • Shell appendix

    Shell appendix

    $ bash < ex1可以读入 ex1中的程序,并执行范例:以脚本名作为参数其一般形式是:$ bash 脚本名 [参数]例如:$ bash ex2 /usr/
    2025-01-03
  • Shell network operations

    Shell network operations

    $ dhclient ethN Example: Static configuration of IP address Of course, static configuration can also be considered. ip_address is the IP address of the local host, and gw_ip_address is
    2025-01-03
  • Shell summary

    Shell summary

    At this point in the preface, the entire Shell programming series is coming to an end. As a summary, I will mainly review the main content of each section, and summarize some common frameworks and related precautions for Shell programming. Shell
    2025-01-03
  • Shell process operations

    Shell process operations

    $ sleep 100 &[1] 9298 Example: View the process ID. Use pidof to view the process ID of the specified program name: $ pidof sleep9298 Example: View the memory map of the process
    2025-01-03
  • Shell string operations

    Shell string operations

    $ i=5;j=9423483247234;$ echo $i | grep -q "^[0-9]$"$ echo $?0$ echo $j | grep -q
    2025-01-03
  • Shell numerical operations

    Shell numerical operations

    $ i=0;$ ((i++))$ echo $i1$ let i++$ echo $i2$ expr $i + 13$ echo $i2$ echo $i 1
    2025-01-03
  • Introduction to Shell

    Introduction to Shell

    Background As early as November 2007, in order to systematically learn and summarize Shell programming, the author specially formulated a Shell
    2025-01-03
  • Shell introduction

    Shell introduction

    Source of this book: Open source book: Shell Programming Paradigm (by Taixiao Technology) Shell Programming Paradigm v 0.2 is different from traditional S
    2025-01-03