ls | : list files |
touch | : create blank file |
mkdir | : create a directory |
cd | : change a directory |
ps | : list processes |
top | : list processes |
netstat | : list network connections |
lshw | : list hardware |
lscpu | : display information about cpu architecture |
date | : print or set date |
... | : |
action | resource |
---|---|
create | file |
read | file |
update | file |
delete | file |
list | file |
(action)... | file |
action | resource |
---|---|
créer | fichier |
afficher | fichier |
modifier | fichier |
supprimer | fichier |
lister | fichier |
(action)... | fichier |
alias listfile="ls"
alias createfile="touch"
alias deletefile="rm"
alias showfile="cat"
alias listdirectory="ls"
alias createdirectory="mkdir"
alias deletedirectory="rmdir"
alias showdirectory="ls"
function deleteaction() {
count=$#
if [[ $1 == "file" ]]
then
shift
rm $@
elif [[ $1 == "directory" ]]
then
shift
rmdir $@
fi
}
alias delete="deleteaction"
function supprimeraction() {
count=$#
if [[ $1 == "fichier" ]]
then
shift
rm $@
elif [[ $1 == "répertoire" ]]
then
shift
rmdir $@
fi
}
alias supprimer="supprimer"
function ഡയറക്ടറിപ്രവർത്തനങ്ങൾ() {
count=$#
if [[ $1 == "സൃഷ്ടിക്കുക" ]]
then
shift
mkdir $@
elif [[ $1 == "ഇല്ലാതാക്കുക" ]]
then
shift
rmdir $@
fi
}
alias ഡയറക്ടറി="ഡയറക്ടറിപ്രവർത്തനങ്ങൾ"
function supprimeraction() {
count=$#
if [[ $1 == "f" ]]
then
shift
rm $@
elif [[ $1 == "r" ]]
then
shift
rmdir $@
fi
}
alias s="supprimeraction"