-s soft_link, when there are cross-device
2011年11月27日 星期日
2011年11月23日 星期三
Copy Remote File
# Copy file
scp Andy@192.168.200.40:/dir
# Copy Directory
scp -r foo your_username@remotehost.edu:/some/remote/directory/bar
#Reference
http://www.hypexr.org/linux_scp_help.php
scp Andy@192.168.200.40:/dir
# Copy Directory
scp -r foo your_username@remotehost.edu:/some/remote/directory/bar
#Reference
http://www.hypexr.org/linux_scp_help.php
2011年10月14日 星期五
KDE-Konqueror
1. In setting the konqueror
we can use sftp to connection to another pc,
it is conviencer than ftp or other protocol.
///////////////////////////////////////////////
SSH File Transfer Protocol
From Wikipedia, the free encyclopedia
Jump to: navigation, search
In computing, the SSH File Transfer Protocol (also Secret File Transfer Protocol, Secure FTP, or SFTP) is a network protocol that provides file access, file transfer, and file management functionality over any reliable data stream. It was designed by the Internet Engineering Task Force (IETF) as an extension of the Secure Shell protocol (SSH) version 2.0 to provide secure file transfer capability, but is also intended to be usable with other protocols. The IETF of the Internet Draft states that even though this protocol is described in the context of the SSH-2 protocol, it could be used in a number of different applications, such as secure file transfer over Transport Layer Security (TLS) and transfer of management information in VPN applications.
This protocol assumes that it is run over a secure channel, such as SSH, that the server has already authenticated the client, and that the identity of the client user is available to the protocol.
///////////////////////////////////////////////////
Konqueror is one of the most advanced file managers for KDE. Thanks to the underlying KDE technologies it can transparently access FTP and SFTP servers, zip files (and other archives), smb (Windows) shares, and even browse and rip audio CDs.
///////////////////////
Reference
http://www.konqueror.org/faq/#HowdoIaddbookmarkstothebookmarktoolbar
we can use sftp to connection to another pc,
it is conviencer than ftp or other protocol.
///////////////////////////////////////////////
SSH File Transfer Protocol
From Wikipedia, the free encyclopedia
Jump to: navigation, search
In computing, the SSH File Transfer Protocol (also Secret File Transfer Protocol, Secure FTP, or SFTP) is a network protocol that provides file access, file transfer, and file management functionality over any reliable data stream. It was designed by the Internet Engineering Task Force (IETF) as an extension of the Secure Shell protocol (SSH) version 2.0 to provide secure file transfer capability, but is also intended to be usable with other protocols. The IETF of the Internet Draft states that even though this protocol is described in the context of the SSH-2 protocol, it could be used in a number of different applications, such as secure file transfer over Transport Layer Security (TLS) and transfer of management information in VPN applications.
This protocol assumes that it is run over a secure channel, such as SSH, that the server has already authenticated the client, and that the identity of the client user is available to the protocol.
///////////////////////////////////////////////////
Konqueror is one of the most advanced file managers for KDE. Thanks to the underlying KDE technologies it can transparently access FTP and SFTP servers, zip files (and other archives), smb (Windows) shares, and even browse and rip audio CDs.
///////////////////////
Reference
http://www.konqueror.org/faq/#HowdoIaddbookmarkstothebookmarktoolbar
2011年8月5日 星期五
NFS
1 We can mount the remote dir to local by nfs
server:
modify /etc/exports
{{{
/home/Andy 192.168.200.40(rw)
}}}
client
{{{
mount -t nfs 192.168.200.40:/home/Andy /mnt/nfs
}}}
Modify the UID, because the server and client passwd will look same uid
local
{{{
usrmod -u 504 Andy
}}}
Reference:
http://blog.csdn.net/ylyuanlu/article/details/6004818
http://linux.vbird.org/linux_server/0330nfs.php#What_NFS_perm
server:
modify /etc/exports
{{{
/home/Andy 192.168.200.40(rw)
}}}
client
{{{
mount -t nfs 192.168.200.40:/home/Andy /mnt/nfs
}}}
Modify the UID, because the server and client passwd will look same uid
local
{{{
usrmod -u 504 Andy
}}}
Reference:
http://blog.csdn.net/ylyuanlu/article/details/6004818
http://linux.vbird.org/linux_server/0330nfs.php#What_NFS_perm
2011年8月3日 星期三
2011年7月14日 星期四
Compress and InCompress
tar
1. Compress a file using
{{{
tar -czv -f /tmp/454_2_6.tar.gz doc/*
}}}
2. Incompress
{{{
tar -xzf xxx.tar.gz
}}}
1. Compress a file using
{{{
tar -czv -f /tmp/454_2_6.tar.gz doc/*
}}}
2. Incompress
{{{
tar -xzf xxx.tar.gz
}}}
訂閱:
意見 (Atom)