Playing with the Shell

Status
Not open for further replies.

denaba

Explorer
Joined
Jan 12, 2014
Messages
59
So I have a NAS box (version 9.2.0) and I want to learn some more commands in the shell. So I playing around with this. I have my Windows 7 machine and I copied a .jpg file to my NAS box.

Now I want to log in to the NAS GUI and I want to launch the shell. Now I want to give a command to delete that .jpg file. What is the command?

I know I can just use my Windows 7 machine and just delete it, but I want to learn other methods.

Thanks
 

Starpulkka

Contributor
Joined
Apr 9, 2013
Messages
179
Try google unix commands, you can delete it by simple command if you have filerights to delete it. And if you ever stuck in loop like zpool iostat 1 press ctrl c to stop it. I expect to you learn more yourself from now on.
 

DrKK

FreeNAS Generalissimo
Joined
Oct 15, 2013
Messages
3,630
denaba:

To change to various directories, the command is "cd"
To delete files the command is "rm"
To change filenames, the command is "mv"

You will find lots of guides to get your feet wet using what is known as Google.
 

enemy85

Guru
Joined
Jun 10, 2011
Messages
757

denaba

Explorer
Joined
Jan 12, 2014
Messages
59
Thanks getting more now. Thanks
 
Status
Not open for further replies.
Top