User Tools

Site Tools


system-and-terminal

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
system-and-terminal [2019/10/07 20:38]
Miroslav Bernát
system-and-terminal [2019/10/08 00:15] (current)
Miroslav Bernát
Line 77: Line 77:
 | **yes** (<​string>​) | repeats printing „y“ or a specified string (one on each line) | | **yes** (<​string>​) | repeats printing „y“ or a specified string (one on each line) |
 | **time** <​command>​ | measures the time of a command execution\\ ''​$ time wget google.com''​ | | **time** <​command>​ | measures the time of a command execution\\ ''​$ time wget google.com''​ |
-| **alias** (<your_own_command>​=<​command>​) | defines an alias for the specified command (permanent setup in //​~/​.bashrc//​);​ without an argument all current aliases are printed\\ ''​$ alias nopaste='​curl -F file=@- nopaste.com/​a'''​ |+| **alias** (<custom_command>​=<​command>​) | defines an alias for the specified command (permanent setup in //​~/​.bashrc//​);​ without an argument all current aliases are printed\\ ''​$ alias nopaste='​curl -F file=@- nopaste.com/​a'''​ |
 | **unalias** <​your_own_command>​ | cancels an alias, **-a** removes all aliases | | **unalias** <​your_own_command>​ | cancels an alias, **-a** removes all aliases |
 | **script** <​file>​ | saves everything that is displayed after executing the program on STDOUT into the specified file, **-a** appends the output into the existing file, **-c** <​command>​ saves the specified command`s output only, **ctrl**+**d** exits the program | | **script** <​file>​ | saves everything that is displayed after executing the program on STDOUT into the specified file, **-a** appends the output into the existing file, **-c** <​command>​ saves the specified command`s output only, **ctrl**+**d** exits the program |
Last modified: 2019/10/08 00:15 by Miroslav Bernát

visits: