This is a terminal convenience function question when running on the Ipython Notebook web.

Asked 2 years ago, Updated 2 years ago, 76 views

Hello.

Put ipythonnebook on Ubuntu

I'm a student learning Python coding on the web.

I'm just trying to run a terminal within the web and work on things like git.

The terminal provided by ipythonnebook web is inconvenient because there are no convenience functions.

You cannot even recall the command you entered before up and down the arrow, and you can automatically complete the folder or file name with a tap

It is very inconvenient because the function does not work at all. TT

I would like to ask if there is a way to improve the basic (?) convenience of the terminal

ipython terminal command

2022-09-21 21:17

1 Answers

Hi, everyone. I am using mac and ubuntu14.

Everyone is using the jupyter notebook on Python 3.6.

From the terminal provided by the web

The person who asked the question probably applies a number of settingsA

~/.bashrc or ~/.I think there is a problem because I modified bash_profile.

Apply most of the settings used for ~/.bashrc, and

In ~/.bash_profile, ~/.Just read the bashrc.

$ cat ~/.bash_profile
f [ -f ~/.bashrc ]; then . ~/.bashrc; fi

$ $ cat ~/.bashrc
# # alias
alias ll='ls -lhvGF'
alias lla='ls -lhavGF'
alias lf='find "`pwd`" -name "*" -exec echo {} \;'
alias rm='rm -i'
alias cp='cp -i'
alias mv='mv -i'

# # Python 3.5 Environment
# # The orginal version is saved in .bash_profile.pysave
PATH="${PATH}:/Library/Frameworks/Python.framework/Versions/3.5/bin"

# # jenv
export PATH="$HOME/.jenv/bin:$PATH"
if which jenv > /dev/null; then eval "$(jenv init -)"; fi

# # Spring CLI
export SPRING_HOME="/usr/local/Cellar/springboot/1.5.4.RELEASE"
export PATH="$PATH:$SPRING_HOME/bin"

# # Anaconda3 Env
export CONDA_HOME="/Users/rwoo/anaconda"
export PATH="$PATH:$CONDA_HOME/bin"


2022-09-21 21:17

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.