#!/bin/bash # Program: # Program creates three files, which named by user's input # and date command. # History: # 2012/08/17 Xia First ralease PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:~/bin export PATH echo -e "I will use 'touch' command to create 3 files." read -p "Please input your filename: " fileuser filename=${fileuser:-"filename"} date1=$(date --date='2 day...
by linuxxia - Shell - 2012-08-21 10:35:06 阅读(1641) 回复(9)
Linux-touch命 welcome u 命令名称:touch 使用权限:所有使用者 使用方式: touch [-acfm] [-r reference-file] [--file=reference-file] [-t MMDDhhmm[[CC]YY][.ss]] [-d time] [--date=time] [--time={atime,access,use,mtime,modify}] [--no-create] [--help] [--version] file1 [file2 ...] 说明: touch 指令改变档案的时间记录。 ls -l 可以显示档案的时间记录。 参数: a 改变档案的读取时间记录。 ...
touch命令很常用,但是有些参数总是记不住。最近几天在看日志的时候,发现实际上可以用touch修改系统时间戳,销毁一些证据。 用途 更新文件的访问和修改时间。 语法 touch [ -a ] [ -c ] [ -m ] [ -f ] [ -r RefFile ] [ Time | ...
touch 改变文档或目录之最後修改时间 命令格式:touch name ( name 可为文档或目录名称.) 本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/20945/showart_134186.html
想请问一下,touch /reconfigure的原理是什么? solaris在启动原理上并没有讲启动的时候会看是否有/reconfigure啊?\r\n\r\n谢谢!