##// END OF EJS Templates
9174: Document default aliases
Sang Min Park -
Show More
@@ -81,11 +81,21 b' class OSMagics(Magics):'
81 In [9]: show $$PATH
81 In [9]: show $$PATH
82 /usr/local/lf9560/bin:/usr/local/intel/compiler70/ia32/bin:...
82 /usr/local/lf9560/bin:/usr/local/intel/compiler70/ia32/bin:...
83
83
84 You can use the alias facility to acess all of $PATH. See the %rehashx
84 You can use the alias facility to access all of $PATH. See the %rehashx
85 function, which automatically creates aliases for the contents of your
85 function, which automatically creates aliases for the contents of your
86 $PATH.
86 $PATH.
87
87
88 If called with no parameters, %alias prints the current alias table."""
88 If called with no parameters, %alias prints the current alias table
89 for your system. For posix systems, the default aliases are 'cat',
90 'cp', 'mv', 'rm', 'rmdir', and 'mkdir', and other platform-specific
91 aliases are added. For windows-based systems, the default aliases are
92 'copy', 'ddir', 'echo', 'ls', 'ldir', 'mkdir', 'ren', and 'rmdir'.
93
94 You can see the definition of alias by adding a question mark in the
95 end::
96
97 In [1]: cat?
98 Repr: <alias cat for 'cat'>"""
89
99
90 par = parameter_s.strip()
100 par = parameter_s.strip()
91 if not par:
101 if not par:
General Comments 0
You need to be logged in to leave comments. Login now