Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

how to create a script raspberry pi

# First you must create your file using Nano or VIM
sudo vim hello-world.sh

# Now enter this code into the text editor:
#!/bin/bash
echo "Hello World!"

# Now you must make the file executable
sudo chmod +x hello-world.sh

# Run the script
sh hello-world.sh
Comment

PREVIOUS NEXT
Code Example
Shell :: comment creer un fichier en linux 
Shell :: phoenix install 
Shell :: make directory in linux 
Shell :: powershell convert text 20MB to bytes 
Shell :: how to highlight code in github editor 
Shell :: git tag older commit 
Shell :: copy file to other location linux terminal 
Shell :: what terminal command screen record on mac 
Shell :: set sublime text as git editor mac 
Shell :: delete whole line in vi 
Shell :: apache2 default page 
Shell :: bash cd || exit 
Shell :: ruby on rails install 
Shell :: virtualbox shared folder linux 
Shell :: shell/bash 
Shell :: git show log after date 
Shell :: powershell function resize image 
Shell :: bash script creation 
Shell :: How to remove all local branches which are merged or not on remote branches 
Shell :: linux command find executable 
Shell :: linux create directory 
Shell :: add my current project to an already existing GitHub repository 
Shell :: shell save variable 
Shell :: ansible playbook to set passwordless sudo 
Shell :: bash read options from file 
Shell :: how to restore a non booting grub bootloader 
Shell :: View Commit History With Changes 
Shell :: linux -ltr 
Shell :: bash help 
Shell :: change git committed message 
ADD CONTENT
Topic
Content
Source link
Name
3+7 =