python_note
  • Introduction
  • My Python
    • Anaconda
    • argparse
    • datetime
    • json
    • logging
    • numpy
    • open
    • openCC
    • pandas & csv
    • Socket & SocketServer
    • re
    • yaml
    • smtp
    • 物件操作
    • unittest
    • 線程
    • prettytable
    • IO
    • pycurl
    • sys
    • pickle
    • auto-python-to-exe
    • cython
    • nuitka
  • Crawler
    • Urllib & Requests
      • User-agent
      • Percent-Encoding
      • mail code
    • Selenium
    • TCP & UDP
    • 控制字符(control character)
  • Web Development
    • Flask
      • RESTful api
      • Template
      • blueprint
    • Django
      • 環境佈署(windows)
    • 檢查Port
    • Apache
    • 使用者行為
    • jQuery
    • 壓力測試
    • DataTable
    • Bootstrap
    • CSS
    • JavaScript
    • Chart.js
  • Deep Learning
    • Keras 設定
    • RNN
    • LSTM
  • Test
    • T-Test
  • 資料結構
    • Hash
    • 時間複雜度
  • NLP
    • N-gram
    • CKIP
    • 中文轉數字
    • CRF
    • Mutual Information
    • 模糊比對
  • Linebot
    • Heroku
    • 圖文選單
    • channel
  • Linux
    • 常用指令
    • shell script
    • sshfs
    • ssh
    • nodejs & npm
    • debug
  • GCP
    • app engine
    • ssh(gcp)
    • gsutil
    • brabrabra
    • Load Balancer
    • k8s
  • Database
    • mysql
    • elasticsearch
      • Query
      • Backup and Restore
      • elasticdump
      • es2csv
      • ELK
    • mongodb
      • install
      • authentication
      • pymongo
    • sql server
  • go
    • Swarm
  • Docker
    • Kitematic
    • Dockerfile
    • Swarm
  • Git
  • 其他
    • USB軟體保護
    • Windows效能監視器
  • Blockchain
Powered by GitBook
On this page
  • Failed to lock the file
  • share folder
  • 執行程式被kill
  • 關閉ssh連線時,保留欲執行的程式
  • ctrl+c vs ctrl+z

Was this helpful?

  1. Linux

debug

Previousnodejs & npmNextGCP

Last updated 5 years ago

Was this helpful?

Failed to lock the file

當vm當機或被強迫關機,再度開啟時會出現的錯誤

解決方法1:
進到 VMware 的 Guest OS 資料夾,將所有的 *.lck 資料夾或檔案刪除

參考資料:

share folder

無法正常顯示資料夾時可重新安裝vmware tools

參考資料:

執行程式被kill

關閉ssh連線時,保留欲執行的程式

sudo nohup [command] & >/dev/null 2>&1

ctrl+c vs ctrl+z

c是kill,z是掛起

z掛起後可以先做其他事,可用bg查看被掛起來的程式,再用fg把掛起的程式叫回來

http://www.vixual.net/blog/archives/842
https://snippetinfo.net/mobile/media/2004
http://jimmu-jimmu.blogspot.com/2012/12/vmwareguesthost.html
https://blog.csdn.net/ktigerhero3/article/details/80004315
https://blog.csdn.net/stonesharp/article/details/28904529
https://blog.csdn.net/mylizh/article/details/38385739