Online Linux Terminal Logo
OnlineLinuxTerminal
Compilateur Linux JS gratuit en ligne & bac à sable

Le meilleur compilateur Linux en ligne dans votre navigateur

Écrivez et exécutez des scripts bash, testez les commandes Ubuntu et Kali, et éditez du code avec vi ou nano. Exécution instantanée sans latence serveur.

Communauté Linux2.4k En ligne

Échangez avec des utilisateurs Linux, apprenez des commandes et téléchargez des PDF.

bash — Le meilleur compilateur Linux en ligne dans votre navigateur
bash — terminal

Shell Scripting & Programming Examples

Test essential shell programming patterns directly in the compiler.

#11. Shell Variables & Interpolation
NAME="DevOps"; echo "Hello, $NAME! Linux Compiler Active."

Declare shell variables and format output.

#22. Directory Scaffolding & Logging
mkdir -p /home/user/app_lab && date > /home/user/app_lab/build.log && ls -la /home/user/app_lab

Create folders, capture timestamps, and inspect directory.

#33. Regex Log Filtering with Grep
grep -n -i "session" /var/log/auth.log | head -n 5

Extract matching lines with line numbers.

#44. Permissions & Octal Modes
touch deploy.sh && chmod 755 deploy.sh && ls -l deploy.sh

Set executable permissions using chmod 755.

#55. Compressed Tarball Archiving
tar -czvf /tmp/projects_backup.tar.gz /home/user/projects && ls -lh /tmp/projects_backup.tar.gz

Bundle folders into gzipped tarball.

#66. System Diagnostic Snapshot
uname -a && free -h && ps aux | head -n 6

Snapshot active processes and memory stats.

Online Linux Terminal & Compiler

Écrivez et exécutez des scripts bash, testez les commandes Ubuntu et Kali, et éditez du code avec vi ou nano. Exécution instantanée sans latence serveur.