What is the BASH shell?
$> cd ~
Command | Description | Example |
---|---|---|
ls |
list directory contents | ls |
cd |
change directory | cd MyFolder\SubFolder |
cp |
copy a file | cp oldfile.name newfile.name |
mv |
move or rename | mv myfile.txt ../SomeFolder/myfile.txt |
mkdir |
make a directory | mkdir MyFolder |
pwd |
current working directory | pwd |
rmdir |
remove a directory | rmdir MyFolder |
clear |
clear the screen | clear |
chmod |
change file permissions | chmod +x myfile.txt |
echo |
||
touch |
||
grep |
||
locate |
||
which |
||
less |
||
cat |
||
head |
||
tail |
||
ps |
||
kill |
||
alias |