diff --git a/compile_ubuntu.txt b/compile_ubuntu.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b7d87715473c82c408ed16cd250679428aa41894
--- /dev/null
+++ b/compile_ubuntu.txt
@@ -0,0 +1,5 @@
+ // ----- How to Compile and run c++ file in Ubuntu ------ //
+ 
+ To compile your c++ code, use:
+ 
+ g++ -o output foo.cpp