You are not logged in.

#1 2015-10-09 21:26:26

NuSkool
Member
Registered: 2015-03-23
Posts: 297

[SOLVED] less /root/install.txt

How does less /root/install.txt in the install media work? Why a .txt file extension?

The file contains:

 View this installation guide online at
https://wiki.archlinux.org/index.php/Installation_Guide 

How or why does less print only the text content of the url and not also the code of the url?

I'd like to duplicate this behavior, but so far, duplicating what I see, by creating a partitions.txt file with the same text and url: https://wiki.archlinux.org/index.php/Partitioning, then less Partitioning gives the expected results. It prints the contents of the file rather than the text of the url.



Edit: Never mind, I figured out something in the archiso script is adding the text to it.

I'd be interested in info about this,  where in the script,  if anyone knows. I'll be taking a look into this also.

Last edited by NuSkool (2015-10-10 06:54:03)


grep -m1 'model name' /proc/cpuinfo : AMD Ryzen 7 8745HS w/ Radeon 780M Graphics
grep -m1 'model name' /proc/cpuinfo : AMD Ryzen 5 PRO 2400GE w/ Radeon Vega Graphics grep -m1 'model
grep -m1 'model name' /proc/cpuinfo : AMD Ryzen 7 PRO 5850U with Radeon Graphics
grep -m1 cpu /proc/cpuinfo                 : MIPS 24Kc V7.4

Offline

#2 2015-10-09 21:43:54

byte
Member
From: Düsseldorf (DE)
Registered: 2006-05-01
Posts: 2,046

Re: [SOLVED] less /root/install.txt


1000

Offline

#3 2015-10-10 06:52:19

NuSkool
Member
Registered: 2015-03-23
Posts: 297

Re: [SOLVED] less /root/install.txt

Thanks byte!

I didn't get a chance to look at the script yet but hat's exactly what I was looking for!


grep -m1 'model name' /proc/cpuinfo : AMD Ryzen 7 8745HS w/ Radeon 780M Graphics
grep -m1 'model name' /proc/cpuinfo : AMD Ryzen 5 PRO 2400GE w/ Radeon Vega Graphics grep -m1 'model
grep -m1 'model name' /proc/cpuinfo : AMD Ryzen 7 PRO 5850U with Radeon Graphics
grep -m1 cpu /proc/cpuinfo                 : MIPS 24Kc V7.4

Offline

Board footer

Powered by FluxBB