Questions tagged [terminal]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
-1 votes
0 answers
12 views

clang does not work properly

I am currently in week 2 of the CS50 program and I'm facing this problem right here where it appears: $ clang -o hello hello.c -lcs50 //my input clang: error: no such file or directory: 'hello.c' //...
izabel's user avatar
  • 1
1 vote
0 answers
22 views

On my cs50.dev terminal I by mistake ran the command exit $? and i got logout message and now i can't go back how to go back?

[![Here you can see on terminal I am at /ubuntu/workspace on which i came after running command exit $? ][1]][1][1]: https://i.stack.imgur.com/bmwsu.png
sajwan's user avatar
  • 11
0 votes
1 answer
19 views

Stuck in mario-less directory in terminal CS50

I am working on cs50 mario less but im having trouble getting into the file mario.c In terminal I follow the steps to setting up the files and have no problem getting into the mario-less directory. ...
thisisjax's user avatar
0 votes
0 answers
7 views

Code isn’t reading in Terminal

Ive used mikdir indoor for the folder and code indoor.py for the file. I used cd indoor to set the directory and entered in python indoor.py. All of that was good until testing the code. I’m getting ...
techiemia's user avatar
0 votes
0 answers
11 views

visual studio terminal don't allow typing and only show "$"

Good morning My Visual Studio terminal don't allow typing and only show "$", I have tried everything so far and nothing have worked so far. Please help
javier's user avatar
  • 1
0 votes
0 answers
5 views

I'm failing to type in the terminal of my VS github and i have tried everything and it seems it's not working. If anyone can assist me

Im still in week 1 of my lesson but the SSH configurations was already done
Phillip 's user avatar
0 votes
1 answer
10 views

Can you navigate to & open files in Ubuntu terminal?

so I am working my way through the Shorts after Lecture 1, and I was wondering, is there a Linux command to open a specific file in a directory? It seems like there are commands for doing anything you ...
Joseph J Filoramo's user avatar
0 votes
0 answers
1k views

Can't Run Debug50 on VsCode!

Referencing the issue below: Can't run debugger
vicraw215's user avatar
2 votes
1 answer
2k views

Can't run debugger

I'm trying to run the debugger, by typing into the terminal: debug50 ./filename But unfortunately an error comes up in the terminal, saying: Failed to connect extension server on port None. Please ...
Programming 55's user avatar
0 votes
2 answers
52 views

Is there a quicker way to create a new terminal window in CS50 IDE?

Is there a quicker way to create a new terminal window rather than relying on the GUI
josh reuben's user avatar
0 votes
1 answer
18 views

Strange CL output

I was testing my code to see if the command line argument's characters are digits but after plugging a random argument that was a mix of letters and numbers, I obtained a strange output. See what you ...
tinomutendaishe msakwa's user avatar
0 votes
1 answer
104 views

Pset2 Readability Not Working

I need help in executing the program here. This is my program and when I execute it, it asks me for a text. I copy-pasted the first HOW TO TEST YOUR CODE "One fish. Two fish. Red fish. Blue fish.&...
Sam AG's user avatar
  • 1
0 votes
1 answer
891 views

Unable To Install CS50 Library for C on Android Termux

I downloaded cs50 library for C per the instructions on cs50 docs site. I then unzip it and run sudo make install but it display the error below: No superuser binary detected. Are you rooted? I'm ...
KeleosWilliam's user avatar
0 votes
1 answer
716 views

How to test pset7 queries in the terminal window?

I am trying to test the queries I've saved in files i.e. 1.sql, 2.sql,.... But I can't able to test them in the terminal window. The command given in the instruction is not showing any results. ...
Afrah Saleem's user avatar
0 votes
1 answer
253 views

pset2/Crack - Terminal disconnected after some time of running

My Crack program is OK, I found all passwords with 4 digits or less, but when it comes to 5 digits, after 10-20 min running my terminal gets a red message "Terminal Disconnected", and I have to start ...
Bruno Fialho's user avatar
0 votes
2 answers
153 views

Not In Directory In Terminal Window pset1/mario/less

In the terminal window the current directory is always shown on the line where a command can be typed in. While working on pset1/mario/less somehow I have created the issue by which the current ...
Robin's user avatar
  • 3
0 votes
1 answer
77 views

How do I get my old workspace(settings) back:CS50 workspace/terminal was closed and after opening a new one all settings where changed

I closed my workspace in cs50 during the programming course. Pressing F6 opens a new terminal called workspace/ - "" instead of the workspace/ that you see in examples(blue background), I can work ...
Floor's user avatar
  • 1
0 votes
1 answer
114 views

Failed to write to 'mario.c'. Failed to retrieve resource from vfs-gce-usw-289-4.c9.io

I ran Mario and one of the loops repeated forever. I exited the terminal and now I can't compile. I get this error message: Failed to write to 'mario.c'. Failed to retrieve resource from vfs-gce-usw-...
Ari Kalmen's user avatar
0 votes
3 answers
4k views

I can't access my terminal window on my CS50 IDE page. Please help!

I accidentally click on the close option in the terminal window and now i don't know how to get it back. Please help me with this.
Abhishek  Kumar's user avatar
0 votes
2 answers
10k views

how to quit python to normal command-line in cs50 ide

I know it's easy to run python in cs50 IDE terminal. You just type 'python' in the terminal. But how to quit the python mode and change back to normal command-line mode? which command should I use?
michael zhang's user avatar
5 votes
1 answer
61k views

implicit declaration of function is invalid in C99

I'm getting an error. Here's my info from Terminal: make: *** [tests/myFunction] Error 1 ~/workspace/ $ make ./tests/myFunction clang -fsanitize=integer -fsanitize=undefined -ggdb3 -O0 -std=c11 -Wall ...
Max Makhrov's user avatar
0 votes
2 answers
169 views

Pset2 Initials Failing Check50

My initials program, although it appears correct, fails check50. I'm not sure why - check50 says its not printing a new line, but it does in the terminal. Please help me identify the problem: #...
Jason_V's user avatar
  • 182
0 votes
1 answer
441 views

can not open my files or use the console

So - I have encountered this problem - when I log into ide.cs50.io I can not open any files or run the terminal (the file display area and terminal are just blank grey and do not react). I am not sure ...
McCzajnik's user avatar
  • 105
0 votes
1 answer
24 views

is this a terminal problem or what?

(hey again...real quick) So basically, my terminal shows something like this: 5 minutes equals 60 bottlesjharvard@appliance (~/Dropbox/pset1): Help!, what did I do ?.
Hauwaabubakar1010's user avatar
2 votes
2 answers
2k views

Can't Type in Terminal

https://i.stack.imgur.com/LYbwH.png This is what my terminal looks like. When I type nothing comes up. Enter and ctrl C do nothing. I've tried restarting my pc, changing browser, and rebooting the ...
DSmith's user avatar
  • 45
0 votes
1 answer
114 views

pset3: terminal window problem

I just finished writing selection sort and after my code was done I tried to run the program. After I give the needle as a command-line argument and input a couple of straws, I press ctr+d and nothing ...
Petar Petrov's user avatar
1 vote
1 answer
348 views

Home directory problem

I can't access any of the programs I've written in the terminal window. My home directory is listed as /home/ubuntu/workspace/ and I'm not sure how to get back to my username's directory. This ...
Laura's user avatar
  • 11
0 votes
1 answer
107 views

What's wrong with this code?

Well, I don't know what's the matter with this code (Mario). When I run it, the terminal goes crazy, like a thousands enters are triggered, the "craziness" of the terminal don't stop, I have to quit ...
Paul_1898's user avatar
0 votes
1 answer
222 views

right version of gedit

What is the latest version of gedit and how can I download it? I'm in week one and it's saying I don't need the cs50 appliance before getting gedit. However, when I download gedit(I may have an old ...
Bill Hendricks's user avatar
2 votes
1 answer
432 views

How to list the functions of a library in the terminal?

One can search for the functions in a library by searching the internet, e.g. https://sites.google.com/site/chrowe/cs50-cheat-sheet or http://www.techonthenet.com/c_language/standard_library_functions/...
smoens's user avatar
  • 121
0 votes
1 answer
130 views

Vigenere does not output correctly

This is driving me mad. I think I have implemented Caesar correctly, but Vigenere does not seem to work. I've tried everything. Please, let me know what happens. PD Sometimes, the terminal, halfway ...
Blanca Huergo Muñoz's user avatar
8 votes
1 answer
2k views

Gedit bottom panel terminal plugin missing

I have researched for 3 days and can't find an answer. My Gedit is not showing the bottom panel terminal, and the bottom panel option in "view" is grayed out. I went to Edit > Preferences >Plugins, ...
Andresm11's user avatar
0 votes
2 answers
735 views

gedit terminal not working

I couldn't open gedit and tried the following command: sudo apt-get purge gedit && sudo apt-get install gedit then I got the message: not an ELF File - it has the wrong magic bytes at the ...
Zoltan Laczo's user avatar
4 votes
1 answer
10k views

How to quit when running into an infinite loop

How to quit when I run into an infinite loop in terminal window? It just prompts again no matter what I type.
eifphysics's user avatar
0 votes
1 answer
243 views

Help finding terminal window in gedit

Terminal window disappeared in gedit. 1) I went to View --> Bottom Panel and it is grayed out. 2) I went to Preferences --> Plugins --> Embedded Terminal and made sure that it was checked. I think ...
Daniel Levi's user avatar
0 votes
1 answer
247 views

Terminal printing characters that look like boxes with random 0's and 1's

I'm going along with Section 3 and printing "BARFOO" in the caesar program. This is the output from terminal: This has happened many times with multiple programs and I originally assumed it was a ...
Kareem's user avatar
  • 3
0 votes
1 answer
133 views

Can't get out of user's input in Terminal

I was testing my mario.c code in the Terminal tab in the bottom of the page and I coded the user's input part wrong. What's happening is that now, in the Terminal, I'm stuck in the user's input part ...
Francisco Leitão's user avatar
1 vote
6 answers
34k views

Which command is used to clear terminal (output) window?

I tried "cls" but not worked. What is the command to completely clear the terminal window.
user avatar
6 votes
1 answer
9k views

Stopping an infinite loop while running

While running drafts of mario.c in pset 1 I will at times run a program that has an unintended infinite loop. Is there keystroke combination that I can use to stop the loop and return to the blinking ...
Joseph Youren's user avatar
0 votes
0 answers
48 views

Internet works in browser but not in terminal [duplicate]

I use a proxy for my internet and i think the update50 works but check50 shows there is no internet connection
Sumit Bawri's user avatar
2 votes
2 answers
15k views

How do I open a Terminal window in gEdit?

After following the tutorial my gEdit window does not look the same as what the instructor is using in the video. His version is allowing him to view a Terminal window. Mine does not have this option. ...
Kellen Sprowl's user avatar
0 votes
3 answers
804 views

How to use the 'vim' command to edit a program in the terminal?

For editing the program from the terminal window , we use the command vim program.c Then we can edit the program , how to save it after that and how to return to the terminal ? Which shortcut ...
Arjun Singh's user avatar
0 votes
1 answer
628 views

Can't download .zip file for pset3

I have problems downloading the pset3.zip file according to HTML specifications for problem set 3. I have tried running update50, connect50, I have logged off and back in again. The terminal isn't ...
Nikos Tsaftaridis's user avatar