ArchLinux:Tips: Difference between revisions

From Wiki³
(Created page with "{{DISPLAYTITLE:{{TitleIcon|arch=true}} Tips & Tricks}}<metadesc>Tips and tricks for using an Arch Linux system. Most are also applicable to Linux in general.</metadesc> <div i...")
 
 
(One intermediate revision by the same user not shown)
Line 3: Line 3:
{{UnderConstruction}}
{{UnderConstruction}}
{{Back|Arch Linux}}
{{Back|Arch Linux}}
= {{Icon24|sitemap}} Terminal =
== {{Icon|notebook}} fish ==
To install {{mono|fisher}} the fish plugin manager.
{{Console|1=<nowiki>curl -Lo ~/.config/fish/functions/fisher.fish --create-dirs https://git.io/fisher</nowiki>}}
Install the {{mono|sol}} prompt theme.
{{Console|1=fisher sol}}
Use {{mono|sudo}} to obtain root and repeat the process.
{{Console|1=sudo -s}}
= {{Icon24|sitemap}} Unformatted =
= {{Icon24|sitemap}} Unformatted =
Reboot into firmware.
Reboot into firmware.
Line 10: Line 20:
Use {{mono|netstat}} to list open ports and show processes attached to them.
Use {{mono|netstat}} to list open ports and show processes attached to them.
{{Console|1=netstat -tulnp}}
{{Console|1=netstat -tulnp}}
Listing directories without {{mono|ls}}.
{{Console|1=echo *|2=find . -printf "%M\t%u\t%g\t%p\n"}}


[[Category:Arch Linux]]
[[Category:Arch Linux]]

Latest revision as of 03:34, 3 August 2017

IconUNDER CONSTRUCTION: The document is currently being modified!

Icon Terminal

Icon fish

To install fisher the fish plugin manager.

# curl -Lo ~/.config/fish/functions/fisher.fish --create-dirs https://git.io/fisher

Install the sol prompt theme.

# fisher sol

Use sudo to obtain root and repeat the process.

# sudo -s

Icon Unformatted

Reboot into firmware.

# systemctl reboot --firmware

Process list with tree and cpu/ram usage.

# ps xawuf

Use netstat to list open ports and show processes attached to them.

# netstat -tulnp

Listing directories without ls.

# echo *
# find . -printf "%M\t%u\t%g\t%p\n"