Post your most used commandsapt-get clean && apt-get update && apt-get upgrade && apt-get dist-upgrade && apt-get autoremove
>>56200475
Please tell me you alias this
>>56200521
i could if i wanted to, but i like my terminal since i themed it like crazy so i want to work in it as much and as tediously as possible.
>apt-get upgrade && apt-get dist-upgrade
y
emerge -uDn @world
>>56200581
because sometimes there are weird hidden upgrades that only work when I do both
>>56200475
Probably 'ls -lisahrt'.
>>56200544
Shitnux users, ladies and gentlemen.
>>56200628
It's a hobby for me.
>>56200606
Years ago I thought you were a Mac user. Then again I don't browse /g/ anymore
>>56200475
c aliased to clear
>>56200628
>not wanting to learn from it
cmatrix
>>56200673
Thanks that means a lot to me.
I'm sorry to see you go!
Just kidding shut the fuck up faggot lol.
>>56200735
Hopefully you don't talk to people like a 12 year old irl
>>56200521
This, but with an alias.alias pimp-me='apt update && apt upgrade && apt dist-upgrade && apt autoremove'
sudo pimp-me
>>56200817
>sudo
>not logging in as root 24/7
>>56200475
This is what happens when you flush poo down the loo
>>56200735
>calls people a faggot
>uses systemd
>>56200475
sudo init 0
>>56200850
wat? I'm no indian, I use kali.
>>56200781
Nobody in real life would say something that stupid to me so I would never have to respond that way.
>>56200475
terminal noob here
explain to me what these commands do for you and why you run them all the time
>>56200817
You too
>>56200906
apt-get clean removes .deb packages from the system. After you install a .deb, the file has no need to be saved anymore. It's installed, why keep the package laying around?
apt-get update updates all the packages you've installed
apt-get upgrade upgrades all the system packages, the base, all that jazz
apt-get dist-upgrade does the same as upgrade, but it is also allowed to replace packages (ie removes an obsolete browser for the new one supported by the system)
apt-get autoremove automatically removes leftover packages you don't need anymore.
startx
>>56200870
>keeping tabs on what system attention whore uses
kek
>>56200973
So I just ran clean and it did nothing but I had a .deb in my downloads folder. Is that normal?
>>56201077
it cleans from some other folder. /var/something. I forgot. It's system files, not files that you installed.
>>56201101
Makes sense, thanks
>>56201117
np, man. You on ubuntu, or something else?
I keep doing yum even though Im meant to do dnf. I will always love yum.
>>56200973
>apt-get update updates all the packages you've installed
Not really. apt-get update downloads the current package lists from your repositories.
>pacman -Syu
>>56201255
oh, wait, you're right. I'm sorry, I'm really tired.
>>56201126
Ubuntu. It's ease of setup is literally the only reason I've stuck with Linux this long, after trying various other distros recommended here. I'm slowly learning terminal commands and other things and its nice that when I search problem+Ubuntu I actually get results
>>56201292
Nice, I started with ubuntu too. currently on kali.
>>56200475
pacman -Sywuu
*check archlinux.org*
pacman -Suu
>>56200875
who are you
why are you everywhere
why are you nowhere
why do you haunt my dreams
>>56200475
cat /dev/urandom >/dev/sda
>>56200475
I basically have all of that plus apt-get install -f and screenfetch at the end aliased to a single command. When I made it I intended to use it once a day, I probably run it 2-4 times a day though
alias omghowdidmyterminalgetsogoddamnedfuckedup='clear && reset'
>>56201364
Open the door sir.
>>56200475
cc whatever.c
>>56200817
>pimp-me
sweet
Service Minecraft restart
Go ahead, call me a pleb
>>56201573
ULTIMATE HAXX0R DETECTED
>>56201333
>running kali outside of a VM
why?
>>56200475
make
>>56201600
>wanted to run debian
>wifi firmware would not work no matter what
>try kali since it's basically debian with extra tools
>it comes with firmware by default, so i don't need to try to load it with no luck all over again
that's really it.
>>56201600
It works well as a daily driver, so long as create and use a non-root user
>>56200475screenfetch
brew update && brew upgrade && brew cleanup && brew linskapps
I alias this in my bash profile but for some reason brew linkapps doesn't run always. I don't see the output for running linkapps but when I manually type it in, regardless if I already did it, there will still be an output redoing it again
cat ~/.zsh_history|cut -d ';' -f 2- 2>/dev/null| awk '{a[$1]++ } END{for(i in a){print a[i] " " i}}'|sort -rn|head343 sudo
189 mpv
165 yaourt
139 docker
88 ls
64 cat
51 vim
48 find
45 history
41 ffmpeg
Don't know if the code is ok, zsh history is weird since it supposely doesn't archive duplicates
cd
doas wiconfig urtwn0
doas internet
./configure && make && doas make install
eix-sync
emerge -auDNk @world --keep-going
I can't imagine anyone uses any of these commands more than cd, ls, cp/scp, ssh, etc.
>>56200475alias tmp=" sensors | egrep -i --color 'core |temp[1-9]' "
>>56200628
>mixing skills and mindsets is dumb
>>56200475
> apt-get clean && apt-get update && apt-get upgrade && apt-get dist-upgrade && apt-get autoremove
Holy shit do people actually type all that?
Here are my top ones
#pacman -Rns $(pacman -Qdtq)
#pacman -Syyu
#sudo systemctl restart systemd-journald
$systemctl is-active ufw qbittorrent-nox
$nmtui
#curl -O <<link>>
>>56200628
Native docker support, nearly every mail/webserver, you moms slimy dildo
>>56200683
Ctrl-L
>>56206792
Not him but Ctrl+L's like pressing return only it doesn't execute the entered command
sudo pacman -Syyu
sudo apt and ssh
>>56200475λ cat ~/.histfile | awk '{print $1}' | awk 'BEGIN {FS="|"}{print $1}' | sort | uniq -c | sort -nr | head
10221 m
9494 cd
9417 mpv
7520 vim
6258 ls
4887 ~/dev/mpvhq/build/mpv
3830 git
3782 ./waf
3704 sudo
2400 man
>not file operation commands
casuls
>>56206259
>Holy shit do people actually type all that?
>what is completion
>>56207148
does not work well.
>>56207148
>debqueen wakes up in the morning
>opens windows
>it's 6 AM
>decides to update and clean his system
>apt-get [tab]
>choose clean
>&&
>apt-get [tab]
>choose update
>&&
>apt-get [tab]
>chose upgrade
>queen decides to have lauch, it's 2 PM
>queen comes back to her computer
>it's a social justice machine
>shares male programmers privilege checklist all over social media
>restores terminal
>apt-get [tab]
>choose dist-upgrade
>&&
>apt-get [tab]
>choose autoremove
>y
>queen's terminal flooded with verbose outputs of social justice
>hitting dem sources
>queen decides to have dinner
>queen comes back at 10PM
>apt-get removed her desktop package
>not apt-get's fault, it's just the repo
>installs GNOME
>goes to sleep
>rinse
>repeat
pacaur -Syuu
}~{cat .zsh_history| grep -o "^[a-zA-Z]*" | sort | uniq -c | sort -h | tail
356 rm
361 mpv
409 make
433 exit
450 ea
520 man
544 gcc
600 cat
1151 cd
1996 l
'l' is an alias for 'ls' and 'ea' for 'emerge --ask'. I'm surprised to see how much I use mpv. Also the reason why my editor isn't there is because when I open a terminal I dourxvt -e nvim term://zsh, thus I can just do :e when I need to edit something.
>>56207213
>>56207219
Are you people seriously this bad at the command line?apt-<PageUp>
There, the entire command is till in your history. This is how I always do linux kernel upgrades, I just type make and hit page up to getmake && make install && make modules_install && genkernel --install initramfs && grub2-mkconfig -o /boot/grub/grub.cfg && emerge --ask=n @module-rebuild
It's not exactly magic
>>56207246
>apt-<PageUp>
>apt-<PageUp>
>apt-<PageUp>
>apt-<PageUp>
>apt-<PageUp>
Oh this
>>56206100alias temps='nvidia-smi -q -d temperature | grep Current | cut -c9- | sed "s/ //g"&& acpi -t'
>>56200475
funny how fedora is just
#dnf update
for (almost) all that.
but cleaning is usually not neccesary
git blame
>>56207323
dnf clean && dnf update && dnf autoremove
>b-but muh apt is simpler
(update and upgrade used to do different things in yum comparable to apt but this was a very long time ago)
>>56200875
it is difficult to find people to talk to while being a NEET in a basement, isn't it?
>>56207246
things like this is why tab completion sucks
>>56200833
This. I'm always root on my machine, and any machine for that instance.
>>56207439
or this
>>56207439
I never mentioned the tab key. Use command line history completion (PageUp or ^R or whatever)
>>56200833
>what is chmod -R 777 /
>>56207466
!apt
>>56200673
>>56200781
>>56200870
>>56201349
>>56207420
>>56200475
gp
drs
sp
>>56200475
vim
git add -u .
git commit
git push
grep -r "phrase" .