简体   繁体   中英

How does `cat` work in ipython interactive shell?

I noticed that using cat on a file works in ipython. It doesn't appear to be listed as a magic command... so I am confused how/why it works. What lets cat work in ipython interactive shell?

IPython IPython.core.alias.default_aliases()自动定义了一些shell别名,包括cat

cat is one of the pre-defined system command aliases. Type %alias to see the list of aliases in your current ipython session.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM