This commit is contained in:
2025-09-18 11:35:56 +02:00
commit 2203d6075f
45 changed files with 935 additions and 0 deletions

54
shell/check_language.sh Executable file
View File

@@ -0,0 +1,54 @@
#!/bin/bash
# List programming languages based on common installation paths
echo "Programming languages installed on your system:"
# Check if Python is installed
if command -v python3 &>/dev/null; then
echo "- Python"
fi
# Check if Ruby is installed
if command -v ruby &>/dev/null; then
echo "- Ruby"
fi
# Check if Node.js is installed
if command -v node &>/dev/null; then
echo "- Node.js"
fi
# Check if Java is installed
if command -v java &>/dev/null; then
echo "- Java"
fi
# Check if Go is installed
if command -v go &>/dev/null; then
echo "- Go"
fi
# Check if PHP is installed
if command -v php &>/dev/null; then
echo "- PHP"
fi
# Check if Rust is installed
if command -v rustc &>/dev/null; then
echo "- Rust"
fi
# Check if C compiler is installed (GCC)
if command -v gcc &>/dev/null; then
echo "- C"
fi
# Check if C++ compiler is installed (g++)
if command -v g++ &>/dev/null; then
echo "- C++"
fi
# Add more checks for other languages as needed
echo "End of list."