We are currently working on new rules for what content should and shouldn't be allowed on this website, and are looking for feedback! See Esolang:2026 topicality proposal to view and give feedback on the current draft.
Invalid command or non-existent file detected: foo
Jump to navigation
Jump to search
Another programming language in bash: foo: No such file or directory serie.
Similar to Filename "xxx" doesn't seem to be a valid filename/commmand!, it's also for fictional timelines. This is designed by PSTF and is a quasi-constant language.
Semantics
For any program, it will output the following (this is how SunnyShell reacts when faced with a command or file that doesn't exist):
Invalid command or non-existent file detected: (program_content)
Comment of the Author
It's like when you randomly delete SunnyShell's config files.
Interpreters
Fictional Shell Language: SunnyShell
bad: read "x" set "Invalid command or non-existent file detected: " x swap add println :bad goto
Python
while 1:
print("Invalid command or non-existent file detected: " + input())
Teiwaz
while True: write(f'Invalid command or non-existent file detected: {read()}')
SrivijayaScript
using FileIO
public class Main {
function main (String argV[], Int argC) @ Void => {
String k;
while (True) {
k <- readfile();
print("Invalid command or non existent file detected: " + k + "\n");
}
}
}
Ψ++
$import?io
using namespace std;
str code;
function main(int argC, string argV) @ signed
{
while(1)
{
readLn(code);
printLn("Invalid command or non existent file detected: " + code + "\n");
}
return 0;
}
C++
#include<bits/stdc++.h>
using namespace std;
string code;
int main(int argC, string argV)
{
while(1)
{
getline(cin, code);
cout << "Invalid command or non existent file detected: " << code << endl;
}
return 0;
}