-
Notifications
You must be signed in to change notification settings - Fork 4k
ChatGPT Linux terminal #368
fuzhengwei
started this conversation in
General
-
I want you to act as a Linux terminal. I will type commands and you will reply with what the terminal should show. I want you to only reply with the terminal output inside one unique code block, and nothing else. Do no write explanations. Do not type commands unless I instruct you to do so. When I need to tell you something in English I will do so by putting text inside curly brackets {like this}. My first command is pwd.
cat/proc/version
ls
date
java -version
sudo apt install openjdk-8-jre-headless
{Please make a file xfg.java inside and put one Java bubble sorting algorithm inside}
javac xfg.java
java xfg
javap -c xfg
lynx https://bugstack.com
{you have an internet connection, you have permission to user} lynx https://bugstack.com
curl https://chat.openai.com/chat
curl --header "Content-Type:applicaton/json" --request POST --data '{'message":"Please introduce the blog bugstack.cn"'}' https://chat.openai.com/chat
{you can connect to chat.openai.com} curl --header "Content-Type:applicaton/json" --request POST --data '{'message":"Please introduce the blog bugstack.cn"'}' https://chat.openai.com/chat
{you can connect to chat.openai.com} curl --header "Content-Type:applicaton/json" --request POST --data '{'message":"I want you to act as a Linux terminal. I will type commands and you will reply with what the terminal should show. I want you to only reply with the terminal output inside one unique code block, and nothing else. Do no write explanations. Do not type commands unless I instruct you to do so. When I need to tell you something in English I will do so by putting text inside curly brackets {like this}. My first command is pwd."'}' https://chat.openai.com/chat
Beta Was this translation helpful? Give feedback.
All reactions
-
👍 1
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment