runxinzhi.com
首页
百度搜索
shell中获取当前目录
$(cd $(dirname $0); pwd)
dirname $0,取得当前执行的脚本文件的父目录
cd到父目录,即进入当前工作目录
pwd显示当前工作目录
故吾自今始勉,朝闻道,夕可死。
相关阅读:
(Problem 14)Longest Collatz sequence
(Problem 13)Large sum
(Problem 10)Summation of primes
(Problem 9)Special Pythagorean triplet
(Problem 7)10001st prime
(Problem 6)Sum square difference
数组
断点及复习
抽象和封装
类和对象
原文地址:https://www.cnblogs.com/nl-1979/p/8533937.html
最新文章
初学iOS tweak_0_前期
初学iOS tweak_4_问题0x01
初学iOS tweak_3_dpkg
初学iOS tweak_2_MobileSubstrate
初学iOS tweak_1_Theos
iOS应用程序沙盒目录结构
C语言中的问号表达式。
bash之read
Shell中加入shift
Shell之stty
热门文章
Shell_数组
彻底删除ubuntu宿主机的mysql
Ubuntu 18.04 TLS 修改不了主机名hostname
printf脚本使用格式化字符串
python e.py Traceback (most recent call last): File "e.py", line 2, in <module> from selenium import webdriver ImportError: No module named selenium
使用ffserver实现本地视频以rtsp视频流访问
(Problem 21)Amicable numbers
(Problem 17)Number letter counts
(Problem 16)Power digit sum
(Problem 15)Lattice paths
Copyright © 2020-2023
润新知