首页 > 其他分享 >-sh: 6: source: not found

-sh: 6: source: not found

时间:2022-09-23 16:23:31浏览次数:72  
标签:bin sh source yyjc home found 1001

https://blog.51cto.com/u_15548310/5174288
编辑文件:
/etc/passwd
把:
yyjc:x:1001:1001::/home/yyjc:/bin/sh
改为:
yyjc:x:1001:1001::/home/yyjc:/bin/bash

标签:bin,sh,source,yyjc,home,found,1001
From: https://www.cnblogs.com/ihibin/p/16723145.html

相关文章

  • Git clone is not working suddenly with SSH connection in win 10
    Whendogitclone,italwaysshow [email protected]'spasswordWhenuseSSHprotocol,itisnotsupposetoshowthismessage,onlyenterprivatekeypassphrase......
  • bash中调用python、expect
    !usr/bin/bash指定解释器指定bash解释器(.sh)#!/usr/bin/bashping-c1www.qfedu.com&&echo"www.qfedu.comisup"||echo"www.qfedu.comisdown"指定py......
  • 理解 virt、res、shr 之间的关系(linux 系统篇)
    理解virt、res、shr之间的关系(linux系统篇)前言想必在linux上写过程序的同学都有分析进程占用多少内存的经历,或者被问到这样的问题——你的程序在运行时占用了多少......
  • [CSharpTips]C# 判断一个点是否在线段上
    C#判断一个点是否在线段上usingSystem;usingSystem.Collections.Generic;usingSystem.Windows;namespacePointInLineTest{classProgram{s......
  • 执行 ssh-add ~/.ssh/id_rsa 时候提示 Could not open a connection to your authenti
    windows下在多个git服务器之间切换,需要使用ssh-add.exe~/.ssh/id_rsa_xxx重新添加git密钥才能正常clone代码,其中“id_ras_xxx”是密钥的名字,比如本人github所用的密钥名......
  • shell基础知识
    1shell脚本结构与执行1.1第一个shsh-x1.sh+touch/tmp/1.txt+chmod600/tmp/2.txt+mv/tmp/1.txt/tmp/2.txt1.2脚本执行bash1.sh./1.sh-bash:./1.sh:P......
  • 小乌龟(TortoiseGit)在push时总是要求输入密码的解决办法
    当你在用TortoiseGit拉取或者提交代码的时候,可能遇到过git小乌龟总是要让你输入密码,无法拉取、提交代码,见下图。怎么解决这个问题? 1.复制私钥文件id_rsa,将复制的文件......
  • sh定时清理日志
    sh定时清理日志#!/bin/bashforiin`find/home/wb/business/hewaApi/runtime/-mtime+3-name"*.log"`doecho$irm-rf$idoneforiin`find/home/wb/......
  • shopify Canopy主题模板配置修改
    Canopy是一个新颖的、可定制的多功能shopify主题,灵感来自Amazon,包括很酷的设置选项,如mega菜单,CanopyShopify主题迎合了挑剔的店主,无论库存大小。shopifyCanopy主题模板......
  • ssh端口转发
    前言有时候由于网络策略的限制,我们无法直接访问目标服务,但有个中间服务器两边互通且可以ssh访问,这时候就可以借助ssh实现端口转发。假设有以下场景:主机A:192.168.0.20,客......