Skip to main content

Questions tagged [bash]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer
10 views

How do you get a .bashrc file to run when logging in?

I've created a simple .bashrc file in my /home/ubuntu directory on cs50. But it doesn't run. Here's the minimal version of my ~/.bashrc file: echo "THIS IS BASHRC" touch BASHRC_WAS_HERE It ...
Ben Kovitz's user avatar
0 votes
1 answer
41 views

Invalid vote while testing Tideman problem

am working on Tideman.c problem. When I go to test the code by doing the following: -cd Tideman.c -clang tideman.c -lcs50 -./tideman Alice Bob Charlie -Number of voters: 3 -Rank 1: Alice "Invalid ...
BaaBaa's user avatar
  • 1
0 votes
2 answers
39 views

What to do to solve while making Tideman.c file? Each time I enter "make + Tideman.c" followed by yes, the terminal prints "y" forever

When I go to make my solution to Tideman.c for testing/debugging, I see no bugs are thrown when I go to compile the file. However, the terminal prints "y" forever once I have stated "...
BaaBaa's user avatar
  • 1
-1 votes
1 answer
659 views

CS50 IDE returns - bash: command not found

I get the following error while trying to execute a command. Example: ~/pset1/hello/ $ hello bash: hello: command not found 'make hello' worked fine: ~/pset1/hello/ $ make hello clang -ggdb3 -O0 -std=...
curious_kat's user avatar
0 votes
1 answer
44 views

Testing code to validate input using a parenthesis for cs50/pset 2/caesar.c I get error bash: syntax error near unexpected token `)'

Been struggling with this all morning and grateful for any help please! I'm aware that it's not the most elegant code but below weems to work OK with most invalid input that I've thrown at it so far, ...
Sion Williams's user avatar
1 vote
1 answer
2k views

update50: command not found in CS50 IDE

Essentially what the title states. update50 isn't being recognised as a command in my IDE. I re-tried the execution in the home directory but to no avail. Any idea what may be causing this? Thank ...
Gabriel Saul's user avatar
0 votes
1 answer
124 views

New IDE won't alow me to check staff solutions

I just migrated over to the new CS50 IDE and now I can no longer check the staff solutions. I mimicked the folder layout in the old IDE (photo at bottom), and even tested a few other folder locations. ...
tparadis's user avatar
0 votes
2 answers
133 views

pset1 - CS50 directory not found for ./integer. Keep getting bash error - help?

~/workspace/ $ cd pset1 ~/workspace/pset1/ $ ./integer bash: ./integer: No such file or directory
912scr's user avatar
  • 3
0 votes
1 answer
890 views

bash: clang: command not found

When I type 'clang hello.c' in the terminal, i get the following message after pressing enter: 'bash: clang: command not found', how do I get rid of it? Also, program runs fine and does print 'Hello ...
HUSSAIN ABBAS's user avatar
0 votes
1 answer
985 views

check50 and submit50 commands not found

I am opening cs50 after a few months and after trying update50, this is the message I'm getting at my command line: ~/workspace/pset1/ $ check50 cs50/2017/x/hello ...
Kewal Shah's user avatar
0 votes
1 answer
99 views

CS50 2017 Phyton problems (BASH) ProblemSet6

Guys what is happening with CS50 2017.?? In 2016 I had my gradebook until week 7. Now I have to re-send all my codes again? ProblemSet6 Right now I am implementing in Phyton the C programs (Mario, ...
user avatar
1 vote
2 answers
81 views

cs50 appliance won't compile

The CS50 appliance has been working fine, but it seems all of a sudden whenever I try compiling a program I get this error: bashL ./: Is a directory I can't understand why this is not working anymore!...
Richard Stein's user avatar
0 votes
1 answer
238 views

bash: ~cd50/pset2/caesar: No such file or directory

I am trying to run the staff's version of caesar to see how it works and keep getting this return. What does this mean and how can I get this to work for me? I have run update50 and my version is 2014-...
HMiddleton's user avatar
0 votes
0 answers
295 views

Why does bash come up with pset1?

I'm having trouble calling up my programs in the terminal. I try to make my program hello.c or mario.c and i get bash file not found or nothing to be done with this file. I have looked at other ...
Kara Conway's user avatar