FG
💻 Software

"No such file or directory" for /bin/awk on Ubuntu

Fresh5 days ago
Mar 15, 202616715 views
Confidence Score0%
0%

Problem

How can I install awk in this version of Ubuntu 11? I installed it from Ubuntu Software Center and I cannot use it. I'm trying to run an awk script: and I cannot run it because awk is not installed.

Error Output

#!/bin/awk  
Begin  
{  
print strftime("ora %H, %M , %S");  
}

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: "No such file or directory" for /bin/awk on Ubuntu

Low Risk

is not in , it's in . To find out where you have , you can run either of the following: Then, change your shebang line accordingly: … or, even better: The latter will just use the version of for the current environment, and is portable across differ…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment