Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

ChatGPT Linux terminal #368

fuzhengwei started this conversation in General
Discussion options

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
You must be logged in to vote

Replies: 0 comments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant

AltStyle によって変換されたページ (->オリジナル) /