Score:0

How to open terminal via command

th flag

Is there a command in linux to "start a command prompt"? In windows you just type "cmd" but what about linux?

(Lol i asked this to put terminal in python using os.system)

WinEunuuchs2Unix avatar
in flag
Try `os.popen('gnome-terminal')`
guiverc avatar
cn flag
there are multiple terminals so there are multiple commands (just like windows has powershell as well), but you've not provided any OS & release details (inc. *flavor*) which influence what gets installed by default.
Allearthstuffs avatar
th flag
@guiverc ubuntu
guiverc avatar
cn flag
Ubuntu Server, Ubuntu Desktop, a Ubuntu appliance/device release? what release etc... The Ubuntu name exists on many *flavors* and products.
Allearthstuffs avatar
th flag
ubuntu lts 20.04 release
Allearthstuffs avatar
th flag
Never mind, i can just use ```os.system("bash")``` on my system
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.