Lunix虚拟机的基本练习题操作2(新手必看)

1、切换到root根目录

 cd /root

2、创建文件夹story以及story的子目录fantacy和love

mkdir story
cd story
mkdir fantacy love

3、在story/fantacy下创建文件love.txt,在story/love下创建文件test.txt

cd fantacy touch love.txt
cd ../love touch test.txt

4、在love.txt中添加如下内容:
Of all the areas of contemporary thought, economics seems the most resistant to the destabilizing effects of postmodernism. Yet, David Ruccio and Jack Amariglio argue that one can detect, within the diverse schools of thought that comprise the discipline of economics, “moments” that defy the modernist ideas to which many economists and methodologists remain wedded. This is the first book to document the existence and to explore the implications of the postmodern moments in modern economics.

Ruccio and Amariglio begin with a powerful argument for the general relevance of postmodernism to contemporary economic thought. They then conduct a series of case studies in six key areas of economics. From the idea of the “multiple self” and notions of uncertainty and information, through market anomalies and competing concepts of value, to analytical distinctions based on gender and academic standing, economics is revealed as defying the modernist frame of a singular science. The authors conclude by showing how economic theory would change if the postmodern elements were allowed to flourish.

A work of daring analysis sure to be vigorously debated, Postmodern Moments in Modern Economics is both accessible and relevant to all readers concerned about the modernist straightjacket that has been imposed on the way economics is thought about and practiced in the world today.

cd ../fantacy
vi  love.txt
i 
esc :x

5、将文件love.txt移动到story/下,并重命名为fairy.txt

mv /root/story/fantacy/love.txt /root/story/fairy.txt 
 
//mv love.txt fairy.txt

6、查看文件中包含economi和modern字样的内容,并将内容添加到test.txt中

cat fairy.txt|grep  modern >> /root/story/love/test.txt
cat fairy.txt|grep economi >> /root/story/love/test.txt

7、关闭并禁用防火墙

systemctl stop firewalld
systemctl disable firewalld

8、如何删除文件中包含change的行

/change
dd

9、如何修改文件test.txt的权限为r-x-wxrw-

chmod 536 test.txt

10、如何将当前目录下的tomcat-8-7.20.tar.gz解压到opt/bigdata/java下

tar -zxvf tomcat-8-7.20.tar.gz -C opt/bigdata/java

11、如何配置tomcat-8-7.20.tar.gz的环境变量

vi /etc/profile
export TOMCATHOME=/opt/bigdata/java/tomcat85
export PATH=$TOMCATHOME/bin:$PATH
  • 3
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值