linux下touch修改文件的时间戳

2023东华大学机试OJ进阶版1-81题 先排序。每次找两个最小的数,把其中一个置为两数之和,并累加这个和值,另一个数置为-1,然后再排序,重复操作,直到只剩下一个数。105。 阅读详情

linux的touch命令用来修改文件时间戳,或者新建一个不存在的文件。


上图中,access、modify、change分别是访问时间、修改时间、改变时间,即为文件的时间戳。

1.命令格式:

touch [选项]... 文件名...

2.命令参数:

-a   或--time=atime或--time=access或--time=use  只更改存取时间。

-c   或--no-create  不建立任何文档。

-d  使用指定的日期时间,而非现在的时间。

-f  此参数将忽略不予处理,仅负责解决BSD版本touch指令的兼容性问题。

-m   或--time=mtime或--time=modify  只更改变动时间。

-r  把指定文档或目录的日期时间,统统设成和参考文档或目录的日期时间相同。

-t  使用指定的日期时间,而非现在的时间。

3.命令功能:

touch命令参数可更改文档或目录的日期时间,包括存取时间和更改时间。 

4.使用范例:

实例一:创建不存在的文件

命令:

touch test1.txt test2.txt

输出:

[root@localhost test]# touch test1.txt test2.txt

[root@localhost test]# ll

-rw-r--r--. 1root root 0 May 18 11:11 test1.txt

-rw-r--r--.1 root root 0 May 18 11:11 test2.txt

如果test3.txt不存在,则不创建文件

[root@localhost test]# touch -c test3.txt

[root@localhost test]# ll

-rw-r--r--. 1root root 0 May 18 11:11 test1.txt

-rw-r--r--.1 root root 0 May 18 11:11 test2.txt

实例二:更新test.txt的时间和test2.txt时间戳相同

命令:

touch -r test.txt test2.txt

输出:

 [root@localhost test]# touch test.txt

[root@localhost test]# touch -r test.txt test2.txt

[root@localhost test]# ll

total 0

-rw-r--r--. 1 root root 0 May 18 11:11 test1.txt

-rw-r--r--. 1 root root 0 May 18 11:22 test2.txt

-rw-r--r--.1 root root 0 May 18 11:22 test.txt

实例三:设定文件的时间戳

命令:

touch -t 201605171210.20 test.txt

输出:

[root@localhost test]# ll

-rw-r--r--. 1root root 0 May 18 11:11 test1.txt

-rw-r--r--.1 root root 0 May 18 11:22 test2.txt

-rw-r--r--. 1 root root 0 May 18 11:22 test.txt

 [root@localhost test]# touch -t 201605171210.20 test.txt

[root@localhost test]# ll

-rw-r--r--. 1 rootroot 0 May 18 11:11 test1.txt

-rw-r--r--.1 root root 0 May 18 11:22 test2.txt

-rw-r--r--.1 root root 0 May 17 12:10 test.txt


说明:

-t  time 使用指定的时间值 time 作为指定文件相应时间戳记的新值.此处的 time规定为如下形式的十进制数:      

  [[CC]YY]MMDDhhmm[.SS]     

  这里,CC为年数中的前两位,即”世纪数”;YY为年数的后两位,即某世纪中的年数.如果不给出CC的值,则touch   将把年数CCYY限定在1969--2068之内.MM为月数,DD为天将把年数CCYY限定在1969--2068之内.MM为月数,DD为天数,hh 为小时数(几点),mm为分钟数,SS为秒数.此处秒的设定范围是0--61,这样可以处理闰秒.这些数字组成的时间是环境变量TZ指定的时区中的一个时 间.由于系统的限制,早于1970年1月1日的时间是错误的。

 

CarSim仿真高级进阶---VS 命令行 仿真软件作为一种强大的工具,被广泛应用于汽车工程领域,本文将介绍如何使用VS命令行进行CarSim仿真的高级进阶操作,我们将结合相关的源代码和描述,帮助读者更好地理解和应用这一功能。打开Visual Studio,在“文件”菜单下选择“新建”->“项目”,然后选择“控制台应用程序”模板,填写项目名称和位置,点击“确定”按钮创建项目。保存源代码后,点击菜单中的“生成”->“生成解决方案”来构建项目,确保构建成功,没有任何错误。点击“编辑”按钮,在弹出的窗口中点击“新建”按钮。,并拥有有效的许可证。 阅读详情

相关推荐

腾讯滑块验证码collect参数逆向与JSVMP对抗实战解析

JavaScript虚拟机保护(JSVMP)是一种将业务代码编译为自定义字节码、再由解释器动态执行的高强度混淆技术,它让常规断点调试与AST还原手段大量失效,成为前端代码安全领域的热门攻防焦点。在浏览器风控体系中,JSVMP常被用于保护核心环境采集算法,例如腾讯滑块验证码中的collect参数就承载着设备指纹、行为轨迹等关键信息,直接决定风控结果。理解其运作原理,不仅有助于掌握虚拟机保护的通用对抗思路,也能为分析其他JSVMP加固产品提供方法论。通过动态Hook捕获字节码执行状态、结合静态还原重建关键算法,

aoe41606的博客 255

linux logger 日期形式,linux logger 使用!

这一段时间又仔细看了一遍shell脚本高级教程,发现有很多新的收获。调试shell程序用下面的命令,把执行的过程全部显示出来,很有用的命令:sh -x -v example.sh1. 使用Shell向Syslog日志文件写入信息应用程序使用Syslog协议发送信息给Linux系统的日志文件(位于/var/log目录)。Sysklogd提供两个系统工具: 一个是系统日志记录, 另一个是内核信息捕获。...

weixin_28675661的博客 299

Frida实战:SSL Pinning绕过技术全解析

本文详细解析了如何使用Frida工具绕过SSL Pinning技术,包括环境搭建、四种实战绕过方案及常见问题排查指南。通过具体代码示例和实战经验,帮助安全研究人员快速掌握SSL Pinning绕过技术,适用于金融类App的安全测试场景。

weixin_42530732的博客 192

Linux环境下修改文件的修改日期

要修改文件的修改日期(也称为mtime,即修改时间),您可以使用`touch`命令。`touch`命令的主要作用是用来创建文件,但它也可以用来修改文件的时间戳。如果您没有足够的权限,可以使用`sudo`命令来获取超级用户权限执行上述命令。注意:修改文件的时间戳可能会影响文件的元数据,并且需要小心使用,以确保不会破坏文件的完整性或导致意外问题。- `HH`表示小时(两位数,24小时制)。- `-m`标志表示修改文件的修改日期。- `MM`表示月份(两位数)。- `DD`表示日期(两位数)。

斯黄人民的博客 5833

Allegro PCB设计实战:5分钟搞定DDR信号线的Match Group等长规则设置

本文详细介绍了在Allegro PCB设计中,如何快速为DDR信号线设置Match Group等长规则。通过实战演练,解析了从理解相对传输延迟原理、在规则管理器中创建Match Group,到设置合理容差和利用动态绕线指示的全流程,帮助工程师在5分钟内高效完成高速信号时序约束,提升设计可靠性与效率。

gg901的博客 1064

EZ-USB-FX3 slavefifo调试

最近使用fx3-usb-3.0调试slave fifo的传输,期间遇到许多难以理解的问题。在这里分享给大家,希望可以少走一些弯路,我自己是这样走过来的。 1,首先去官网下载原始的参考设计,并安装所提供的SDK软件:FX3SDKSetup_1.3.4.exe 2,接着把参考设计文档AN65974阅读一遍,分别创建新的SDK工程和FPGA工程。如果使用的原厂的开发板,那么可以按照文档提示,可以很顺畅的跑完整过测试。否则需要匹配自己的硬件,做针对性的更改和移植,而我走的是后一条路,于是开始了漫长的调试之路。.

YDY5659150的专栏 3638

linux - 查看/修改文件的修改时间

1. 查看文件的时间 文件时间有三种: 最近访问时间(Access):cat、less等查看文件后,该时间改变 最近更改时间(Modify):vim修改文件内容后,三个时间都改变 最近改动时间(Change):chmod修改文件权限或属性后,该时间改变 stat 命令,查看文件的状态 stat 3.log //查看某个文件的状态 stat * //查看这个目录下所有文件及文件夹的状态(不递归) ll --time命令 (不带–time,默认是mtime) ll --time=atime

学习 记录 总结 分享 4万+

别再乱调栅极电阻了!手把手教你用示波器调试FOC驱动MOS管,避开EMC和震荡坑

本文详细介绍了FOC驱动中MOS管栅极参数的精准调试方法,涵盖示波器配置、波形特征分析及栅极电阻选型策略。通过实战案例和工程经验,帮助工程师有效解决EMC和震荡问题,提升驱动电路稳定性和效率。

weixin_28728495的博客 509

linux修改文件的修改时间

即将*.txt文件的修改时间设置为2024年8月29日00:00。1、修改指定目录下的所有*.txt文件的日期为当前系统日期。2、将指定目录下的文件时间设置为特定的日期和时间。

平凡 3573

TIA protal与SCL从入门到精通(4)——软件单元使用

平台: TIA portal 15.1 1.添加软件单元 添加软件单元如下图: 关于软件单元使用基本限制,看如下文章即可 TIA protal与SCL从入门到精通(3)——软件单元基本介绍 每个软件单元是一个独立结构,所以每个软件单元的运行方式与实际PLC类似,所以首先添加主函数块: 注意:无论系统是否是具有并发性(这里不要混淆并行与并发的概念),在PLC所有主函数执行总是按主函数依次完成...

苦走一口田 7388

yocto系列讲解[实战篇]54 - 添加Qt5和生成带Qt5的SDK

为了满足读者盆友想看yocto如何添加qt5的需求,今天就开始尝试添加meta-qt5

fulinux的博客 3879

Liunx系统中修改文件的创建时间以及访问时间

修改时间戳

qq_53325717的博客 3252

RK3568平台开发系列讲解(安卓篇)LED呼吸灯系统流程

1.app层封装后使用NotificationManager发出:NotificationManager.notify() 2.Android 系统架构中:一个manager类对应一个aidl接口,一个manager对应一个底层的服务,notification也是这个架构

内核笔记 3650

linux 修改文件时间戳命令,linux中touch命令参数修改文件的时间戳(转)

linux中touch命令参数不常用,一般在使用make的时候可能会用到,用来修改文件时间戳,或者新建一个不存在的文件,以下是linux中touch命令参数的使用方法:touch [-acm][-r ref_file(参照文件)|-t time(时间值)] file(文件名)example:touch file1.txt 更新file1.txt的存取和修改时间touch -c file1.txt ...

weixin_31940835的博客 1129

假人有限元模型

假人模型,车辆碰撞假人有限元模型,适合做乘员安全的研究者利用

Outlook Express 6 (OE6) for Win7/Win8/Win10

英文版 Outlook Express6.0, 兼容Win7/Win10/WinXP,解压就可用。

Linux命令--Linux touch命令:修改文件的时间戳

3.6 touch命令:修改文件的时间戳   touch 的意思是触摸,如果文件不存在,则会建立空文件;如果文件已经存在,则会修改文件的时间戳(访问时间、数据修改时间、状态修改时间都会改变)。 千万不要把 touch 命令当成新建文件的命令,牢牢记住这是触摸的意思。这个命令的基本信息如下: 命令名称:touch。 英文原意:change file timestamps。 所在路径:/bi...

sunfei927的博客 1379

jdk-8u144-linux-x64.tar.gz.

该资源为搭建Linux系统Java环境用,资源的后缀为tar.gz格式的压缩包

linux 脚本修改文件时间戳,一天一个linux基础命令之修改文件时间戳touch

touch修改时间戳(常用于创建空文件)1、命令格式touch[options]File...2、命令功能用于修改文件的时间戳、访问时间、修改时间、改变时间、如果什么参数也不加默认创建一个空文件Linux文件时间戳(timestamp):访问时间:最近一次被访问(被读) access修改时间:写数据modify改变的文件的内容改变时间:改变元数据(文件的属性) change,metadata...

weixin_29429691的博客 710

深度学习工具包 DeepLearningToolbox

深度学习工具包Deprecation notice.-----This toolbox is outdated and no longer maintained.There are much better tools available for deep learning than this toolbox, e.g. [Theano](http://deeplearning.net/software/theano/), [torch](http://torch.ch/) or [tensorflow](http://www.tensorflow.org/)I would suggest you use one of the tools mentioned above rather than use this toolbox.Best, Rasmus.DeepLearnToolbox================A Matlab toolbox for Deep Learning.Deep Learning is a new subfield of machine learning that focuses on learning deep hierarchical models of data.It is inspired by the human brain's apparent deep (layered, hierarchical) architecture.A good overview of the theory of Deep Learning theory is[Learning Deep Architectures for AI](http://www.iro.umontreal.ca/~bengioy/papers/ftml_book.pdf)For a more informal introduction, see the following videos by Geoffrey Hinton and Andrew Ng.* [The Next Generation of Neural Networks](http://www.youtube.com/watch?v=AyzOUbkUf3M) (Hinton, 2007)* [Recent Developments in Deep Learning](http://www.youtube.com/watch?v=VdIURAu1-aU) (Hinton, 2010)* [Unsupervised Feature Learning and Deep Learning](http://www.youtube.com/watch?v=ZmNOAtZIgIk) (Ng, 2011)If you use this toolbox in your research please cite [Prediction as a candidate for learning deep hierarchical models of data](http://www2.imm.dtu.dk/pubdb/views/publication_details.php?id=6284)```@MASTERSTHESIS\{IMM2012-06284, author = "R. B. Palm", title = "Prediction as a candidate for learning deep hierarchical models of data", year = "2012",}```Contact: rasmusbergpalm at gmail dot comDirectories included in the toolbox-----------------------------------`NN/` - A library for Feedforward Backpropagation Neural Networks`CNN/` - A library for Convolutional Neural Networks`DBN/` - A library for Deep Belief Networks`SAE/` - A library for Stacked Auto-Encoders`CAE/` - A library for Convolutional Auto-Encoders`util/` - Utility functions used by the libraries`data/` - Data used by the examples`tests/` - unit tests to verify toolbox is workingFor references on each library check REFS.mdSetup-----1. Download.2. addpath(genpath('DeepLearnToolbox'));Example: Deep Belief Network---------------------```matlabfunction test_example_DBNload mnist_uint8;train_x = double(train_x) / 255;test_x = double(test_x) / 255;train_y = double(train_y);test_y = double(test_y);%% ex1 train a 100 hidden unit RBM and visualize its weightsrand('state',0)dbn.sizes = [100];opts.numepochs = 1;opts.batchsize = 100;opts.momentum = 0;opts.alpha = 1;dbn = dbnsetup(dbn, train_x, opts);dbn = dbntrain(dbn, train_x, opts);figure; visualize(dbn.rbm{1}.W'); % Visualize the RBM weights%% ex2 train a 100-100 hidden unit DBN and use its weights to initialize a NNrand('state',0)%train dbndbn.sizes = [100 100];opts.numepochs = 1;opts.batchsize = 100;opts.momentum = 0;opts.alpha = 1;dbn = dbnsetup(dbn, train_x, opts);dbn = dbntrain(dbn, train_x, opts);%unfold dbn to nnnn = dbnunfoldtonn(dbn, 10);nn.activation_function = 'sigm';%train nnopts.numepochs = 1;opts.batchsize = 100;nn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.10, 'Too big error');```Example: Stacked Auto-Encoders---------------------```matlabfunction test_example_SAEload mnist_uint8;train_x = double(train_x)/255;test_x = double(test_x)/255;train_y = double(train_y);test_y = double(test_y);%% ex1 train a 100 hidden unit SDAE and use it to initialize a FFNN% Setup and train a stacked denoising autoencoder (SDAE)rand('state',0)sae = saesetup([784 100]);sae.ae{1}.activation_function = 'sigm';sae.ae{1}.learningRate = 1;sae.ae{1}.inputZeroMaskedFraction = 0.5;opts.numepochs = 1;opts.batchsize = 100;sae = saetrain(sae, train_x, opts);visualize(sae.ae{1}.W{1}(:,2:end)')% Use the SDAE to initialize a FFNNnn = nnsetup([784 100 10]);nn.activation_function = 'sigm';nn.learningRate = 1;nn.W{1} = sae.ae{1}.W{1};% Train the FFNNopts.numepochs = 1;opts.batchsize = 100;nn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.16, 'Too big error');```Example: Convolutional Neural Nets---------------------```matlabfunction test_example_CNNload mnist_uint8;train_x = double(reshape(train_x',28,28,60000))/255;test_x = double(reshape(test_x',28,28,10000))/255;train_y = double(train_y');test_y = double(test_y');%% ex1 Train a 6c-2s-12c-2s Convolutional neural network %will run 1 epoch in about 200 second and get around 11% error. %With 100 epochs you'll get around 1.2% errorrand('state',0)cnn.layers = { struct('type', 'i') %input layer struct('type', 'c', 'outputmaps', 6, 'kernelsize', 5) %convolution layer struct('type', 's', 'scale', 2) %sub sampling layer struct('type', 'c', 'outputmaps', 12, 'kernelsize', 5) %convolution layer struct('type', 's', 'scale', 2) %subsampling layer};cnn = cnnsetup(cnn, train_x, train_y);opts.alpha = 1;opts.batchsize = 50;opts.numepochs = 1;cnn = cnntrain(cnn, train_x, train_y, opts);[er, bad] = cnntest(cnn, test_x, test_y);%plot mean squared errorfigure; plot(cnn.rL);assert(er<0.12, 'Too big error');```Example: Neural Networks---------------------```matlabfunction test_example_NNload mnist_uint8;train_x = double(train_x) / 255;test_x = double(test_x) / 255;train_y = double(train_y);test_y = double(test_y);% normalize[train_x, mu, sigma] = zscore(train_x);test_x = normalize(test_x, mu, sigma);%% ex1 vanilla neural netrand('state',0)nn = nnsetup([784 100 10]);opts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samples[nn, L] = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.08, 'Too big error');%% ex2 neural net with L2 weight decayrand('state',0)nn = nnsetup([784 100 10]);nn.weightPenaltyL2 = 1e-4; % L2 weight decayopts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex3 neural net with dropoutrand('state',0)nn = nnsetup([784 100 10]);nn.dropoutFraction = 0.5; % Dropout fraction opts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex4 neural net with sigmoid activation functionrand('state',0)nn = nnsetup([784 100 10]);nn.activation_function = 'sigm'; % Sigmoid activation functionnn.learningRate = 1; % Sigm require a lower learning rateopts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex5 plotting functionalityrand('state',0)nn = nnsetup([784 20 10]);opts.numepochs = 5; % Number of full sweeps through datann.output = 'softmax'; % use softmax outputopts.batchsize = 1000; % Take a mean gradient step over this many samplesopts.plot = 1; % enable plottingnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex6 neural net with sigmoid activation and plotting of validation and training error% split training data into training and validation datavx = train_x(1:10000,:);tx = train_x(10001:end,:);vy = train_y(1:10000,:);ty = train_y(10001:end,:);rand('state',0)nn = nnsetup([784 20 10]); nn.output = 'softmax'; % use softmax outputopts.numepochs = 5; % Number of full sweeps through dataopts.batchsize = 1000; % Take a mean gradient step over this many samplesopts.plot = 1; % enable plottingnn = nntrain(nn, tx, ty, opts, vx, vy); % nntrain takes validation set as last two arguments (optionally)[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');```[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/rasmusbergpalm/deeplearntoolbox/trend.png)](https://bitdeli.com/free "Bitdeli Badge")

Windows和Linux修改文件时间方法(修改文件时间戳、修改时间戳)(Win:creationtime、lastaccesstime、lastwritetime)(Linux:touch命令)

然而,有些现代的Linux文件系统,如ext4(在certain versions以后)和btrfs,已经开始支持记录文件的创建时间,称为birth time或btime。整个[[CC]YY]部分是可选的(CC部分相对[CC]YY也是可选的,只提供YY也是OK的),如果省略,则系统默认使用当前年份。除了使用内置的PowerShell之外,还有很多第三方的命令行工具或者图形界面工具可以用来修改文件时间,比如NirSoft的BulkFileChanger。命令,用户可以轻松地修改文件的访问时间和修改时间。

Dontla的博客 1万+

Linux打开文件修改参数,linux中touch命令参数修改文件的时间戳

linux中touch命令参数不常用,一般在使用make的时候可能会用到,用来修改文件时间戳,或者新建一个不存在的文件,以下是linux中touch命令参数的使用方法:touch [-acm][-r ref_file(参照文件)|-t time(时间值)] file(文件名)example:touch file1.txt 更新file1.txt的存取和修改时间touch -c file1.txt ...

weixin_42523720的博客 184

Linux文件属性以及使用touch命令修改文件的时间戳

文件属性的分类: linux 文件主要包含两类数据: 元数据:meatadata 数据:data 元数据 元数据即用来描述数据的数据 使用stat命令可以显示文件的元数据,元数据包含如下可用信息: file,文件名 Size.文件大小(单位B) Blocks,文件所占扇区个数,为8的倍数(通常的linux扇区大小为512B,连续8个扇区为一个block,所以通常情况下,一个block的大小为4K) IO block:IO块的大小 regular file:普通文件 Inode:文件的Inode号 Links

u011394161的博客 907

linux中touch命令参数修改文件的时间戳

linux中touch命令参数不常用,一般在使用make的时候可能会用到,用来修改文件时间戳,或者新建一个不存在的文件,以下是linux中touch命令参数的使用方法:   touch [-acm][-r ref_file(参照文件)|-t time(时间值)] file(文件名)   example:  touch file1.txt 更新file1.txt的存取和修改时间

云(存储),松(耦合) 2522

linux touch:修改文件的时间戳

一.使用指定文件的时间属性 # touch -r,--reference touch --reference 指定文件 待修改的文件

根号三 616

linux下touch命令修改文件时间戳

linux的touch命令用来修改文件时间戳,或者新建一个不存在的文件。上图中,access、modify、change分别是访问时间、修改时间、改变时间,即为文件的时间戳。1.命令格式:touch[选项]...文件名...2.命令参数:-a或--time=atime或--time=access或--time=use 只更改存取时间。-c或--no-crea...

weixin_33779515的博客 168

linux之touch命令修改文件的时间戳

功能:对已经存在文件的时间进行修改,存取时间(access time)、修改时间(modification time)。对不存在的文件,进行创建新的空白文件。 语法:touch   [选项]  文件 短选项长选项含义 -a --time=atime或--time=access或--time=use 只更改存取时间 -m --time=mtime或--time=modi...

weixin_34200628的博客 295

linux touch 修改文件的时间戳

最常用用法:touch fileA 如果fileA存在,使用touch指令可更改这个文件或目录的日期时间,包括存取时间和更改时间; 如果fileA不存在,touch指令会在当前目录下新建一个空白文件fileA。 touch 命令详解 功能说明:改变文件或目录时间。 语 法:touch [-acfm][-d ][-r ][-t ][--help] [--version][文件或目录...]

dazhi_100的专栏 1296

linux 修改文件时间戳命令,linux下touch命令修改文件时间戳

linux的touch命令用来修改文件时间戳,或者新建一个不存在的文件。linux上图中,access、modify、change分别是访问时间、修改时间、改变时间,即为文件的时间戳。ide 1.命令格式:spatouch[选项]...文件名...blog2.命令参数:文档-a或--time=atime或--time=access或--time=use 只更改存取时间。get-c或--no-...

weixin_33561350的博客 2204

一天一个linux基础命令之修改文件时间戳touch

touch 修改时间戳(常用于创建空文件)1、命令格式touch[options]File...2、命令功能 用于修改文件的时间戳、访问时间、修改时间、改变时间、如果什么参数也不加默认创建一个空文件Linux文件时间戳(timestamp): 访问时间:最近一次被访问(被读) access 修改时间:写数据 modify 改变的文件...

weixin_33713350的博客 449
上一篇: linux系统下date命令修改时间及hwclock硬件时间
Logger
博客等级 码龄17年 130粉丝 92原创
评论 2
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值