Debian

BEAUTY AND PLAY

  • HOME
  • GITHUB
  • SOURCES
  • LEGAL
  • Fundamental of a bash builtin command named “unalias”

    ABOUT unalias Remove each name from the list of defined aliases. If -a is supplied, all alias definitions are removed. The return value is true unless a supplied name is not a defined alias. [bash] $unalias unalias: usage: unalias [-a] name [name …] $echo $? 2 $unalias -a $echo $? 0 $unalias pwd bash: unalias: […]

    Jeffrin Jose T

    21 Oct 2019
    Bash, Bash Builtin
  • Simple example of a bash builtin command named “wait”

    ABOUT wait wait waits for the process identified by process ID pid (or the job specified by job ID jobid), and reports its termination status. If an ID is not given, wait waits for all currently active child processes, and the return status is zero. If the ID is a job specification, wait waits for […]

    Jeffrin Jose T

    2 Aug 2019
    Bash, Bash Builtin, operating system
    wait
  • A look into the bash builtin command named “until”

    ABOUT until until command in Linux used to execute a set of commands as long as the final command in the ‘until’ Commands has an exit status which is not zero. It is mostly used where the user needs to execute a set of commands until a condition is true. A TYPICAL SHELL EXPOSURE [bash] […]

    Jeffrin Jose T

    16 Jul 2019
    Bash, Bash Builtin
    do, done, loop, until
  • Sessions of bash builtin command named “times”

    ABOUT times Print the accumulated user and system times for the shell and for processes run from the shell [bash] $times 0m0.063s 0m0.024s 0m0.008s 0m0.012s $times pin 0m0.064s 0m0.025s 0m0.008s 0m0.012s $times ping 0m0.065s 0m0.025s 0m0.008s 0m0.012s $times –help times: times Display process times. Prints the accumulated user and system times for the shell and […]

    Jeffrin Jose T

    30 Jun 2019
    Bash, Bash Builtin
    bash, builtin, command, times
  • Fundamentals related to a bash builtin command named “test”

    ABOUT test test provides no output, but returns 0 for “true” (test successful) and 1 for “false” (test failed). RELATED COMMAND LINE EXPOSURE [bash] $num=10; if (test $num -gt 5); then echo "yes"; else echo "no"; fi yes $num=1; if (test $num -gt 5); then echo "yes"; else echo "no"; fi no $num=5; if (test […]

    Jeffrin Jose T

    20 May 2019
    Bash, Bash Builtin, operating system
    bash, builtin, test
  • Command to suspend a GNU Bash shell

    ABOUT suspend Suspend the execution of this shell until it receives a SIGCONT signal. [bash] $suspend ^C^C |^Z [/bash] [bash] $kill -18 5139 $ [/bash] [bash] $suspend ^C^C |^Z $ [/bash] LINK https://ss64.com/bash/suspend.html

    Jeffrin Jose T

    23 Apr 2019
    Bash, Bash Builtin, operating system, signal
    GNU, shell, suspend
  • Fundamentals related to bash builtin command named “shift”

    ABOUT shift shift [n] The positional parameters from n+1 … are renamed to $1 …. Parameters represented by the numbers $# down to $#-n+1 are unset. n must be a non-negative number less than or equal to $#. If n is 0, no parameters are changed. If n is not given, it is assumed to […]

    Jeffrin Jose T

    24 Mar 2019
    Bash, Bash Builtin, operating system
    bash, builtin, shift
  • Understanding bash fundamentals and also about return command

    ABOUT return Causes a function to stop executing and return the value specified by n to its caller. If n is omitted, the return status is that of the last command executed in the function body. TYPICAL COMMAND LINE EXPOSURE [bash] $cat learn function e() { echo hello echo "10" } e value=e #echo $value […]

    Jeffrin Jose T

    25 Feb 2019
    Bash, Bash Builtin
    exit, return, status
  • How to use bash builtin command named “readonly” ?

    ABOUT readonly Marks name specified by Name parameter as read-only. TYPICAL COMMANDLINE SESSION [bash] $a=1 $a=2 $echo $a 2 $readonly a $a=1 bash: a: readonly variable $echo $a 2 $a=2 bash: a: readonly variable $ [/bash] LINK https://www.ibm.com/support/knowledgecenter/ssw_aix_72/com.ibm.aix.osdevice/bourne_shell_builtin_cmd_list.htm

    Jeffrin Jose T

    28 Jan 2019
    Bash, Bash Builtin, operating system
    bash, builtin, readonly
  • About bash builtin command named “eval”

    ABOUT eval eval is a builtin command of the Bash shell. It concatenates its arguments into a single string, joining the arguments with spaces, then executes that string as a bash command. It’s similar to running bash -c “string”, but eval executes the command in the current shell environment rather than creating a child shell […]

    Jeffrin Jose T

    22 Dec 2018
    Bash, Bash Builtin, operating system
    command, eval
Previous Page
1 2 3 4 … 118
Next Page

Website Powered by WordPress.com.

Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy
  • Follow Following
    • Debian
    • Already have a WordPress.com account? Log in now.
    • Debian
    • Edit Site
    • Follow Following
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar