How to remove directory make by another user
location: linuxquestions.com - date: July 29, 2013
hi there i want to remove a folder make by another user and this folder have permission 777 but i can remove it. I think it because file owen and group owner but how i can change it with chown ?
ps: this directory under / directory
File/directory transport over ssh how?
location: linuxquestions.com - date: February 16, 2009
Got myself a Debian box (an NSLU2...) running a ssh server and a 160 GB disk w. data i'd like to access when i'm away from home.
Can ssh into the box from another (Debian) box. Can also scp single named files from the shell. Nice, but i'd like to do better than that. Accessing the server from e.g. one of the window-panes in mc or Krusader - or the Windows(TM) TotalCommander(R) - would be desirable.
I'd like to do this securely - meaning via the installed ssh. Several people have talked about 'tunneling' over ssh, and this sounds like a viable solution, but i'm not sure how to proceed. Read the ssh manpage, but that only made me confused on a higher level
Attaching this remote host via mount or creating a driveletter on the occasional windows-box would be perfect. I've got a vague idea that it's possible via mount/fstab, but cannot figure out how. Regarding windows i'm all blank.
How to remove directory from $PATH
location: linuxquestions.com - date: September 14, 2006
I accidentally added a wrong directory to $PATH. How do I remove it?
Unix shell / ssh How to remove folder “backups\r\r”
location: linuxexchange.com - date: August 6, 2013
I accidentally created a directory named: backups\r\r.
Any attempt at deleting it failed!
How can this directory be deleted?
How to remove directory name with special characters and directories with env variable name on UNIX
location: linuxexchange.com - date: June 14, 2012
I did a search in this repository and I didn't find any similar questions or may be my search was incorrect.
I have this problem in my clients environment, a custom application is creating directories with an environmental variable "$SRCDIR" and "$HOME" and the dir's where these are created , itself is the HOME dir path. if I say rm -rf $HOME then all the files and subdir's under $HOME which is current directory will be deleted . How do I delete these unwanted directories.
-rw-r--r-- 1 grp domain users 418051450 Apr 18 18:09 $SRCDIR
-rw-r--r-- 1 grp domain users 418051450 Apr 18 18:09 $HOME
Also some directories are junk characters as below example.
-rwxr-xr-x 1 grp domain users 0 Feb 7 2106 ??????w?O???*????_6??t??Ó¡?>?tP??Ñ?|?C
How do I delete them ?
Remove directory and sub directories
location: linuxquestions.com - date: June 1, 2005
How can I remove a directory and sub directory?
This is what happens when I use rm -r
SSH: How to generate public key from private key?
location: ubuntuforums.com - date: June 29, 2008
According to this thread, I should be able to generate a public key to match a private key I already have:
If you didn't notice, it generated another public key.This is the same key as is on your computer, as you can always generate your public key from your private key (but not the other way around).
The author used something called puttygen.exe, which I assume is a windows program. How would I do in Ubuntu what he did?
rsync ssh how to execute shell commands on server
location: linuxquestions.com - date: January 3, 2009
I'm relatively new to Linux and I'm trying to set up a script to backup machine A files to machine B. I have my ssh key all set up and can rsync just fine to copy files over, but I want to be able to run some additional commands on the remote host (the machine I'm connecting to) BEFORE actually copying files over. I am new to shell scripting. Here is my script so far:
[SOLVED] encrypted remote backups over ssh?? how?
location: ubuntuforums.com - date: July 22, 2009
My basic need is to archive and encrypt files and store them on a remote server on my local network. Currently I can use tar and pipe the output over ssh to the remote server, but then I have to encrypt it on the other end. I can use tar and pipe the output to gpg and get an encrypted archive, but then I have to move it. is there a way to do all of this in one step? i.e.... tar file | gpg encrypt | transfer via ssh ?
that way I can have it done automatically.
ssh how to close connection from bash script
location: linuxquestions.com - date: May 30, 2008
i'm connecting to a remote box with this line in a bash script:
Page: 1 2 3 4 5 6 7 8 9 10