SuperCOCO
06-06-2007, 01:29
Hello everybody, I want to share with you this list of basic commands that you can execute on dreambox while you are connected by telnet.
Remember that all Unix commands are case sensitive as well as file and folder names. That means that system distinguishes between upper and lowercase.
*******************
cd Allows folder change
*******************
Use: cd [folder]
Examples:
cd /
cd /mnt/hdd
cd /mnt/usb
cd /dev
Special folders:
. current folder
.. one folder back
/ root folder
$HOME startup folder (assigned per user)
********************
ls List the folder content
********************
Use: ls [options] [file mask]
Main options are:
-la detailed list
Examples:
cd /var/keys
ls
ls -la
ls -la *.ts
******************
cat View file content
******************
Use: cat [filename]
Examples:
cd /var/keys
cat SoftCam.Key
cat Keylist.txt
*****************
mkdir Create folder
*****************
Use: mkdir [folder_name]
Examples:
cd /tmp
mkdir MyFolder
ls -la
************
cp Copy files
************
Use: cp [origin] [destination]
Examples:
cd /tmp
cp /var/keys/SoftCam.Key .
cd /var
cp ./keys/Keylist.txt /tmp
cd /tmp
ls -la
********************
rm Delete files or folders !!!!!!!! Be careful !!!!!!!!!!!
********************
Use: rm [filename]
rm -R [foldername]
Examples:
cd /tmp
cp /var/keys/SoftCam.Key .
ls -la
rm SoftCam.Key
ls -la
mkdir MyFolder
ls -la
rm -R MyFolder
ls -la
*************************
mv Move or rename file or folder
*************************
Use: mv [fname1] [fname2]
where [fname1] is the origin file or folder name and [fname2] is the destination file or folder name
Examples:
cd /tmp
cp /var/keys/SoftCam.Key .
ls -la
mv SoftCam.Key MyCamFile.txt
ls -la
mkdir MyFolder
cd MyFolder
mv ../MyCamFile.txt .
ls -la
cd ..
mv MyFolder newfolder
ls -la
*********************
passwd Change password
*********************
Use: passwd [username]
where [username] is the login name of the user that wants to change. If no user is specified, then changes the password for the current one.
Example:
passwd
Enjoy them,
regards,
SuperCoco
Remember that all Unix commands are case sensitive as well as file and folder names. That means that system distinguishes between upper and lowercase.
*******************
cd Allows folder change
*******************
Use: cd [folder]
Examples:
cd /
cd /mnt/hdd
cd /mnt/usb
cd /dev
Special folders:
. current folder
.. one folder back
/ root folder
$HOME startup folder (assigned per user)
********************
ls List the folder content
********************
Use: ls [options] [file mask]
Main options are:
-la detailed list
Examples:
cd /var/keys
ls
ls -la
ls -la *.ts
******************
cat View file content
******************
Use: cat [filename]
Examples:
cd /var/keys
cat SoftCam.Key
cat Keylist.txt
*****************
mkdir Create folder
*****************
Use: mkdir [folder_name]
Examples:
cd /tmp
mkdir MyFolder
ls -la
************
cp Copy files
************
Use: cp [origin] [destination]
Examples:
cd /tmp
cp /var/keys/SoftCam.Key .
cd /var
cp ./keys/Keylist.txt /tmp
cd /tmp
ls -la
********************
rm Delete files or folders !!!!!!!! Be careful !!!!!!!!!!!
********************
Use: rm [filename]
rm -R [foldername]
Examples:
cd /tmp
cp /var/keys/SoftCam.Key .
ls -la
rm SoftCam.Key
ls -la
mkdir MyFolder
ls -la
rm -R MyFolder
ls -la
*************************
mv Move or rename file or folder
*************************
Use: mv [fname1] [fname2]
where [fname1] is the origin file or folder name and [fname2] is the destination file or folder name
Examples:
cd /tmp
cp /var/keys/SoftCam.Key .
ls -la
mv SoftCam.Key MyCamFile.txt
ls -la
mkdir MyFolder
cd MyFolder
mv ../MyCamFile.txt .
ls -la
cd ..
mv MyFolder newfolder
ls -la
*********************
passwd Change password
*********************
Use: passwd [username]
where [username] is the login name of the user that wants to change. If no user is specified, then changes the password for the current one.
Example:
passwd
Enjoy them,
regards,
SuperCoco