Deleting Non-empty Directory with smbclient [closed] - linux

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
How can I remove a non-empty directory with smbclient?

You probably cannot do this with smbclient. If you have superuser (a.k.a. root) access right on the local computer, you can mount remote directory using smbmount and then delete files from it using rm -Rf.

Related

remove a "bad address" error from the standard output on the linux terminal [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
when attempting to copy a file inside a mounted directory, I got this message printed on my terminal:
cp: writing `file': Bad address
However, the copying operation is successfully executed, but I just want to delete this message (for a presentation purpose). any idea how to remove this warning (or error) ?
You could redirect errors to /dev/null or to a log file, like this :
cp a b 2>/dev/null
or
cp a b 2>errors.log

Linux directory with space? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I am attempting to run something for a class.
-bash-4.1$ w330=/network_shares/w_drive/c\ s/CJohnson/cs330
-bash-4.1$ cd .. && $w330/freql/test_freql
-bash: /network_shares/w_drive/c: No such file or directory
From the looks of it, it doesn't seem to be recognizing any of the directory name after the c even though i did a \ for the space? What's going on here? Why is it just stopping after the c?
Use this instead: w330="/network_shares/w_drive/c s/CJohnson/cs330"
and this: "$w330/freql/test_freql"

Linux: copy all files using the * wildcard that contain the word file [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I've worked all night on this, but haven only solved part of the problem. I am trying to copy all files using the * wildcard that contain the word file in the filename into the work directory.
try doing this :
cp *file* ./work/
cp *file* work/
Is this homework?

I'm copying all httpdocs files from server to server using rsync, what do I use to include hidden / htaccess files [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
Here is the command I'm running
rsync -av -e ssh httpdocs user#ipaddress:httpdocs
but that misses out hidden files like .htaccess ?
Any help appreciated !
Rich :)
With rsync all subdirectories and files will be automaticaly copied. You need not additional keys or options to copy hidden files.

Confused about httpd [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
I've lammp (xampp for linux) installed on my machine.
I used "ps aux | grep httpd" to get what my apache act as...?
And I get "nobody" on there...
What actually nobody means?
And, how can I change the owner of folder and it's all subs...?
Thank's before... :)
nobody is just as it sounds; a user with minimal permissions.
chown can be used to change ownership of a filesystem object. Passing -R will make it recursive (use with caution).

Resources