自拍偷在线精品自拍偷,亚洲欧美中文日韩v在线观看不卡

Linux創(chuàng)建文件命令的方法

系統(tǒng) Linux
本文講解了Linux創(chuàng)建文件命令的方法 ,希望對(duì)您的學(xué)習(xí)有所幫助。

本文講解了Linux創(chuàng)建文件命令的方法 ,希望對(duì)您的學(xué)習(xí)有所幫助。

創(chuàng)建文件夾

mkdir aaa

mkdir -p aaa

創(chuàng)建文件命令

vi foo.txt

emacs foo.txt

echo "aaaa" > foo.txt

cat > foo.txt

清除命令

> foo.txt

mkdir /home/u1 創(chuàng)建文件夾/home/u1

chown oracle /home/u1 表示改變目錄所有者為oracle賬戶;

chgrp dba /home/u1 改變/home/u1目錄為dba所有;

chmod 755 /home/u1 表示oracle賬戶對(duì)/home/u1目錄有755權(quán)限;

rmdir /home/u1 表示刪除/home/u1目錄

hostname可以查看linux的計(jì)算機(jī)名;

whoami可以查看當(dāng)前用戶;

pwd顯示當(dāng)前路徑;

df查看系統(tǒng)的硬件信息

ls -lrt l表示顯示詳細(xì)列表,-t表示按時(shí)間排序,-r反向排序

cat orcl_ora_3436.trc|grep bucket

以下查看相關(guān)文件內(nèi)容:

more /etc/oratab

cat /etc/passwd

cat /etc/group

以上是Linux創(chuàng)建文件命令的方法。

【編輯推薦】

  1. linux創(chuàng)建文件命令:創(chuàng)建一定大小文件命令--dd
  2. Linux操作系統(tǒng)中用Linux at命令定時(shí)發(fā)送郵件
  3. linux中的cron和linux at命令用法詳解
責(zé)任編輯:趙寧寧 來(lái)源: curry
相關(guān)推薦

2009-12-23 10:58:58

Linux創(chuàng)建文件命令

2009-12-23 10:58:58

Linux創(chuàng)建文件命令

2009-08-04 09:53:21

linux創(chuàng)建文件命令tail命令自解壓

2009-08-04 09:42:09

linux創(chuàng)建文件命令ddlinux

2019-02-19 09:00:45

Linux創(chuàng)建文件命令

2014-03-17 10:27:08

Linux cp備份

2009-09-25 10:01:07

Linux教程Linux mkdir創(chuàng)建文件夾命令

2024-01-10 08:20:50

Linux編輯器pico

2009-12-22 15:06:38

Linux創(chuàng)建文件系統(tǒng)

2023-03-21 12:52:05

Linux創(chuàng)建文件

2024-07-09 08:43:52

2009-08-31 12:56:36

C#創(chuàng)建文件夾

2009-12-14 18:04:38

Linux命令創(chuàng)建快照

2020-09-22 07:29:14

Linux stat

2009-12-09 10:10:08

PHP創(chuàng)建文件夾

2009-08-31 13:07:26

C#創(chuàng)建文件

2019-04-10 10:15:52

Linux邏輯卷文件系統(tǒng)

2009-08-31 10:56:54

C#創(chuàng)建文件夾

2021-06-28 12:05:04

Linux文件命令

2020-12-11 11:00:17

Linux文件命令
點(diǎn)贊
收藏

51CTO技術(shù)棧公眾號(hào)