[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip / qa] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/g/ - Technology


Thread archived.
You cannot reply anymore.


[Advertise on 4chan]


File: Tux.svg.png (297 KB, 1200x1422)
297 KB
297 KB PNG
give me some useful everyday commands for arch linux
>>
cd
>>
vim
>>
>>100153458
neofetch
>>
>>100153458
cat /dev/urandom > nutblaster.txt
>>
File: 1712897213794013.png (114 KB, 460x374)
114 KB
114 KB PNG
>>100153552
the fuck?
>>
>>100153458
https://phoenixnap.com/kb/wp-content/uploads/2023/11/linux-commands-cheat-sheet-pdf.pdf
>>
>>100153573
i know all of them
anything else?
>>
>>100153584
yahweh
>>
>>100153590
>yahweh: command not found
???, what package?
>>
>>100153552
heh that was funny
>>
rm -rf /
>>
cmatrix
>>
>>100153458
ldd
kpartx
loginctl
>>
>>100153458
pacman -Sc and reflector --latest 5 --protocol https --sort rate --save /etc/pacman.d/mirrorlist once a month
>>
neofetch for arch btw posting
>>
File: 2024-04-23_22-52.png (63 KB, 817x322)
63 KB
63 KB PNG
>>100153917
I use arch btw
>>
sudo pacman -R -force --noconfirm $(pacman -Q | cut -f 1 -d " ")
>>
>>100153535
crossdressing? sounds about right for arch
>>
>>100153458
nixos-infect
>>
>>100153458
fuser
>>
>>100153599
libjudaism, version 2.7-1 and up
>>
>>100153458
>arch linux
rm penis
>>
:(){ :|:& };:
>>
>>100154720
less ugly
pacman -Qq | sudo pacman -R --noconfirm -
>>
File: 1713833188932332.gif (317 KB, 421x498)
317 KB
317 KB GIF
kjv
auimkusb
quicktile
torphantom start
arch-chroot
>>
>>100153458
LOAD "*",8,1
>>
>>100153458
sudo nixos-install /
>>
paccache in pacman-coontrib package for removing old versions of packages in /var/cache
>>
>>100153458
neofetch
clear

That's about it.
>>
>>100153458
Boot into a livecd and format your arch install
>>
grep
>>
list orphan packages
pacman -Qtdq

remove the orphans
sudo pacman -Rns $(pacman -Qtdq)


to create a pastebin of whatever text you just copied
nc termbin.com 9999 | xclip -sel clip


replace oldstring by newstring
xclip -selection c -o | sed "s/oldstring/newstring/g" | xclip -sel clip; 

i use it to type code in here, I highlight the code and code it with CTRL+S then replace 'spoiler' with 'code'

all these should be alias'd

>>100157430
came here to post this

to delete the cache except the 1 last version of packages
paccacke -rk1
works with 2, 3... Pacman's Arch wiki page has all the info
>>
sed and which
>>
>>100153458
fastfetch
>>
>>100153634
forgot --no-preserve-root



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.