srdusr
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--linux/linux-commands.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/linux/linux-commands.md b/linux/linux-commands.md
index 2ca217d..433e25d 100644
--- a/linux/linux-commands.md
+++ b/linux/linux-commands.md
@@ -24,4 +24,6 @@ NOTE: `.` can also be used but is limited
#### Copying/Pasting Text
- Copy text/output into a file (useful if in putty/non graphical terminal emulator)
`$ <command> 2>&1 | tee output-file`
+ or
+ `$ echo "text" 2>&1 | tee output-file` # print text without executing a command
- - -