【原創】Linux基礎之上傳下載
1 rz sz
安裝
yum install -y lrzsz
上傳
rz ,對話框操作
下載
sz $filename
2 scp
安裝
yum install scp
上傳
scp /local_dir/filename user@server_ip:/remote/path
下載
scp user@server_ip:/remote/path/filename /local_dir
【原創】Linux基礎之上傳下載
相關推薦
【原創】Linux基礎之上傳下載
oca linu lock 上傳 ins 原創 lin server linux基礎 1 rz sz 安裝 yum install -y lrzsz 上傳 rz ,對話框操作 下載 sz $filename 2 scp 安裝 yum install scp
【原創】Linux基礎之後臺執行
linux伺服器通常都是遠端登入的,執行命令或者指令碼時,如果連線斷掉(執行時間較長或者網路不穩定時),那麼程序也就沒了,這時只能重新連線重新執行,這時可以使用後臺執行: 1 nohup 命令 nohup $command $args & 這時會生成一個nohup.out檔案,內容是
【原創】Linux基礎之sudo
section systems 常用 username linux dde share col users sudo允許用戶以其他用戶的身份(比如root)執行命令,比如切換用戶、執行命令、讀寫文件等; 配置 sudo配置在:/etc/sudoers ## Sudoers
【原創】Linux基礎之iptables
target port tab tor 之前 con 一個 設置 man iptables 1.4.21 官方:https://www.netfilter.org/projects/iptables/index.html iptables is the user
【原創】Linux基礎之keepalived
技術分享 proto lur software rac 自己的 lin bsp drop keepalived 2.0.12 官方:http://www.keepalived.org/ 一 簡介 Keepalived is a routing software wri
【原創】Linux基礎之常用命令
查找 查看進程 cores mem 負載 http block phy -m 1 磁盤、cpu、內存相關 查看整體磁盤占用情況 # df -h 查看指定目錄磁盤占用情況,按照目錄匯總,深度為1 # du -h --max-depth=1 $path 在指定目錄查查找
【原創】Linux基礎之命令行瀏覽器links
end base use bubuko element graph 技術 namenode name 有時服務器環境受限,比如在內網環境不能暴露端口從外網訪問,用curl看html代碼比較累,這時可以使用命令行瀏覽器來查看相關頁面 links 官方:http://lin
【原創】TCP超時重傳機制探索
sender mic borde 做了 5.5 多次 字節 應用程序 實現 TCP超時重傳機制探索作者:tll (360電商技術)1)通信模型TCP(Transmission Control Protocol)是一種可靠傳輸協議。在傳輸過程中當發送方(sender)向接
【原創】Java基礎之Session機制
mem wrap 增加 sha1 info 下載 head 返回 att Session機制 JSESSIONID是Session的標識,當客戶端請求服務器端的時候,服務器端會檢查是否已經給這個客戶端創建過Session,也就是看客戶端的請求中的header是否有Cooki
【轉】Flask入門之上傳文件到服務器
示例 sample run class port doc NPU 標簽 文件上傳 #Sample.py # coding:utf-8 from flask import Flask,render_template,request,redirect,url_for fro
【原創】Linux系統下如何配置SSH?如何開啟SSH?SSH簡單使用
(一)配置SSH 1.登陸linux系統,開啟終端命令。輸入 rpm -qa |grep ssh 查詢當前系統是否已經安裝 2.如果沒有安裝SSH軟體包,可以通過yum 或rpm安裝包進行安裝 (二)啟動SSH 1.安裝好了之後,就開啟ssh服務。Ssh服務一般叫
【原創】Linux 系統移植日誌----jffs2檔案系統定製
【原創】Linux 系統移植日誌—-jffs2檔案系統定製 DATE:2011-9-13 目標: 熟練u-boot、linux系統、檔案系統的優化裁剪;精通系統移植;精通linux系統、檔案系統、uboot原理等。 第一天,嘗試在AT91SAM9
【原創】Linux select/poll機制原理分析
# 前言 - `Read the fucking source code!` --By 魯迅 - `A picture is worth a thousand words.` --By 高爾基 # 1. 概述 Linux系統在訪問裝置的時候,存在以下幾種IO模型: 1. `Blocking IO Mode
【原創】linux spinlock/rwlock/seqlock原理剖析(基於ARM64)
# 背景 - `Read the fucking source code!` --By 魯迅 - `A picture is worth a thousand words.` --By 高爾基 說明: 1. Kernel版本:4.14 2. ARM64處理器,Contex-A53,雙核 3. 使用工具:S
【原創】Linux RCU原理剖析(一)-初窺門徑
背景 Read the fucking source code! --By 魯迅 A picture is worth a thousand words. --By 高爾基 說明: Kernel版本:4.14 ARM64處理器,Contex-A53,雙核 使用工具:Source Insight 3.5
【原創】Linux RCU原理剖析(二)-漸入佳境
背景 Read the fucking source code! --By 魯迅 A picture is worth a thousand words. --By 高爾基 說明: Kernel版本:4.14 ARM64處理器,Contex-A53,雙核 使用工具:Source Insight 3.5
【原創】Linux Mutex機制分析
# 背景 - `Read the fucking source code!` --By 魯迅 - `A picture is worth a thousand words.` --By 高爾基 說明: 1. Kernel版本:4.14 2. ARM64處理器,Contex-A53,雙核 3. 使用工具:S
【原創】Linux中斷子系統(一)-中斷控制器及驅動分析
# 背景 - `Read the fucking source code!` --By 魯迅 - `A picture is worth a thousand words.` --By 高爾基 說明: 1. Kernel版本:4.14 2. ARM64處理器,Contex-A53,雙核 3. 使用工具:S
【原創】Linux中斷子系統(二)-通用框架處理
# 背景 - `Read the fucking source code!` --By 魯迅 - `A picture is worth a thousand words.` --By 高爾基 說明: 1. Kernel版本:4.14 2. ARM64處理器,Contex-A53,雙核 3. 使用工具:S
【原創】Linux中斷子系統(三)-softirq和tasklet
# 背景 - `Read the fucking source code!` --By 魯迅 - `A picture is worth a thousand words.` --By 高爾基 說明: 1. Kernel版本:4.14 2. ARM64處理器,Contex-A53,雙核 3. 使用工具:S