# make
cc -Wall shc.c -o shc
make: cc: No such file or directory
make: *** [makefile:31: shc] Error 127
Fix:
The 127 error shows up when a command is not found, in my case, as you can see the cc command is not found, so we need to get the gcc package installed on my Ubuntu Linux.
# apt install gcc
Once I installed gcc the error was fixed.

-
Facing issues? Have Questions? Post them here! I am happy to answer!
More Posts related to Ubuntu,
- Install Oh My Zsh on Ubuntu Docker complete steps
- Installing Home-brew on Ubuntu
- Install Golang (Go) on Ubuntu
- Install specific JRE on Ubuntu using apt
- How to stop/start/restart apache server using command [Ubuntu]
- How to install zsh shell on Ubuntu
- Quick steps to install Nginx on Ubuntu Linux
- How to know current Ubuntu Linux version via terminal command
- Add new user in Ubuntu Linux using Terminal Command
- Fix Ubuntu /bin/sh: 1: zsh: not found error
- How to install Python on Ubuntu
- [Fix] Ubuntu E: Unable to locate package sudo error
- How to stop MongoDB Server running on Ubuntu
- Install postgres Client using apt-get command
- How to kill service running on a port on Ubuntu Linux
- [fix] openssl No such file or directory error C++
- Fix - sudo: systemctl: command not found
- Access Windows share folder in Ubuntu Device in Network
- Add or remove users from sudo group - Ubuntu
- Quickly install Apache Server on Ubuntu Linux
- Fix: Ubuntu (Linux) - bash: sudo: command not found error
More Posts:
- How to change the font in TextEdit on Mac - MacOS
- align image at middle of div element - CSS
- How to get weather details in Command Prompt, macOS or Linux Terminal - HowTos
- How to update SharePoint List Item programmatically using C#.Net - SharePoint
- This operation couldnt be completed. Unable to locate a Java Runtime. [macOS] - MacOS
- How to remove unwanted Java imports in IntelliJ (alternative of eclipse Ctrl + Shift + O) - Eclipse
- Remove Possible Data Loss Message from Microsoft Excel - Microsoft
- Java Stream Word Count Example - Java