- Open Terminal
- type ssh root@192.168.0.20
- enter your password
Voila console access to your FreeNAS box
Usefull commands:
mv = move
example: mv /mnt/data3/Movies3/* /mnt/data6/
cp = copy
cp /mnt/data3/Movies3/* /mnt/data6/
ls = list directory contents
example: ls /mnt/data/movies
cd = change directory
example: cd /mnt/data/files or cd /
df = Disk Filesystem
example: df -h
output: shows the disk space in "human readable" form.
Filesystem Size Used Avail Capacity Mounted on
/dev/ad6p1 902G 759G 71G 91% /mnt/data1
/dev/ad7p1 902G 647G 183G 78% /mnt/data2
/dev/ad8p1 902G 602G 228G 73% /mnt/data3
/dev/ad9p1 902G 690G 140G 83% /mnt/data4
/dev/ad10p1 1.8T 45G 1.6T 3% /mnt/new
/dev/ad12p1 67G 7.5M 62G 0% /mnt/data5
du = Disk Usage
example: du /mnt/data/images
output: lists all subdirectories to show how much disk space each has occupied.
..
example: du -h -s images
output: shows the disk usage of a directory (folder)
No comments:
Post a Comment