In linux, write one-line script to spit out content of file kevin.txt to stdout ONLY if kevin.txt file exists. Do it by finishing following code snippet:
ls kevin.txt > /dev/null [...]
&& cat kevin.txt
^^ note use of && to indicate only if command 1 (i.e. ls kevin.txt > /dev/null) succeeds, then run command 2 (i.e. cat kevin.txt)
In linux, write one-line script to spit out content of file kevin.txt to stdout ONLY if kevin.txt file exists. Do it by finishing following code snippet:
ls kevin.txt > /dev/null [...]
In linux, write one-line script to spit out content of file kevin.txt to stdout ONLY if kevin.txt file exists. Do it by finishing following code snippet:
ls kevin.txt > /dev/null [...]
&& cat kevin.txt
^^ note use of && to indicate only if command 1 (i.e. ls kevin.txt > /dev/null) succeeds, then run command 2 (i.e. cat kevin.txt)
status | not learned | measured difficulty | 37% [default] | last interval [days] | |||
---|---|---|---|---|---|---|---|
repetition number in this series | 0 | memorised on | scheduled repetition | ||||
scheduled repetition interval | last repetition or drill |