Tryhackme-Linux Fundamentals

Linux Fundamentals

Linux Fundamentals Part 1

task1 Introduction

无需回答

task2 A Bit of Background on Linux

What year was the first release of a Linux operating system?

1991

task3 Interacting With Your First Linux Machine (In-Browser)

无需回答

task4 Running Your First few Commands

1.If we wanted to output the text “TryHackMe”, what would our command be?

echo TryHackMe

2.What is the username of who you’re logged in as on your deployed Linux machine?

tryhackme

task5 Interacting With the Filesystem!

1.On the Linux machine that you deploy, how many folders are there?

4

2.Which directory contains a file?

folder4

3.Which directory contains a file?

Hello World!

4.Use the cd command to navigate to this file and find out the new current working directory. What is the path?

/home/tryhackme/folder4

考察命令 ls,cd,cat,pwd

task6 Searching for Files

1.Use grep on “access.log” to find the flag that has a prefix of “THM”. What is the flag?

THM{ACCESS}

image-20210702161233231

2.And I still haven’t found what I’m looking for!

无需回答

task7 An Introduction to Shell Operators

1.If we wanted to run a command in the background, what operator would we want to use?

&

2.If I wanted to replace the contents of a file named “passwords” with the word “password123”, what would my command be?

echo password123 > passwords

3.Now if I wanted to add “tryhackme” to this file named “passwords” but also keep “passwords123”, what would my command be

echo tryhackme >> passwords

考察 &,&&,>,>>

task8 Conclusio

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值