Skip to content
View Lance-DC's full-sized avatar

Highlights

  • Pro

Block or report Lance-DC

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse

Pinned Loading

  1. Two methods to timeout a read comman... Two methods to timeout a read command in a shell script
    1
    #!/bin/bash
    2
    echo "The first method uses the TMOUT environment variable."
    3
    TMOUT=15
    4
    echo -n "You have 15 seconds to enter your name: "
    5
    read name
  2. How to use vi effectively How to use vi effectively
    1
    # Essential `vi`
    2
    
                  
    3
    1. `vi` has multiple modes, and it starts in command mode, not editing mode.
    4
    > In command mode, almost every key on the keyboard is mapped to run a specific command or movement, while other keys reference objects.
    5