List of useful terminal commands
Command | Description | Example |
---|---|---|
get_version | Tells you what version of PyMOL you are using | get_version |
pwd | Like in Unix, prints the working directory where your current session is being saved | pwd |
ls | Lists the contents of the directory, including all files and directories (which will not have extensions | ls |
cd | Changes the working directory | cd /username/molecules |
fetch | Fetches item from the PDB. Can fetch multiple items at once. | fetch 7MQY |
fetch 7MQY 5TPT 7MRS | ||
save | Saves the session. | save test_session.pse |
delete | Deletes an object from the session | delete 7MQY |
load | Loads a session into an existing session. This will cause the current session to be discarded. It’s better to do this through the ribbon where you have more control (i.e. can merge or save) over the sessions. | load test-session2.pse |