You are not logged in.
Hello, everyone, I'm new to the magic world of Arch, but after many searches, I'm not able to understand how to see the contents of a folder that have many files inside, I mean, when I do 'ls' command, for example in /usr/share/kbd/keymaps/i386/qwerty, a list of files appear, but I can't see all of them, and I don't know how to scroll up and down without mouse use. I'm in the installation phase, and I'm without GUI. Could someone help me with this stupid issue?
Sorry if I opened a thread just for this question, but I wish to interact with some Arch user, and not just searching across Google.
Last edited by Z32O (2017-05-31 15:46:55)
"Il carattere legato alla tua origine, frammentato in singole unità, è il prodotto di ogni singolo passo, e di un'equa ripartizione per divenire perfezione. In un tutt'uno tutto e nulla."
Offline
Hey Z32O,
you can pipe command outputs to less.
ls | lessThis lets you scroll through the output with up/down or PgUp/PgDown. Press 'q' to quit.
Offline
If you are still on a tty you can use shift + page up/down to scroll back. However it might not provide enough history if there is a lot of output.
R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K
Offline
Hey Z32O,
you can pipe command outputs to less.
ls | lessThis lets you scroll through the output with up/down or PgUp/PgDown. Press 'q' to quit.
Oh, this works perfectly. In my all searches I never saw this use of the pipe, thank you a lot.
Unfortunately, the combo shift+pg up/dw doesn't work on my laptop, I don't know why... Thanks in any case R00KIE ![]()
I also discovered another way to see all the files, inside the path I type:
# cd + space + tab
then, the zsh advise me with the message: "zsh: do you wish to see all 119 possibilities (61 lines)?"
Now, without selecting yes or not, I push the enter button directly, then I push again the tab button, et voila.... I'm able to navigate among the folder's file ![]()
Last edited by Z32O (2017-05-31 16:02:03)
"Il carattere legato alla tua origine, frammentato in singole unità, è il prodotto di ogni singolo passo, e di un'equa ripartizione per divenire perfezione. In un tutt'uno tutto e nulla."
Offline
Depending on your laptop model/bios settings/planetary alignment, you may need to hold 'fn' when pressing PgUp/PgDown for it to work as that key.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline