Post your most used commands
apt-get clean && apt-get update && apt-get upgrade && apt-get dist-upgrade && apt-get autoremove
Post your most used commands
apt-get clean && apt-get update && apt-get upgrade && apt-get dist-upgrade && apt-get autoremove
Please tell me you alias this
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
because sometimes there are weird hidden upgrades that only work when I do both
Probably 'ls -lisahrt'.
Shitnux users, ladies and gentlemen.
It's a hobby for me.
Years ago I thought you were a Mac user. Then again I don't browse Sup Forums anymore
c aliased to clear
>not wanting to learn from it
cmatrix
Thanks that means a lot to me.
I'm sorry to see you go!
Just kidding shut the fuck up faggot lol.
Hopefully you don't talk to people like a 12 year old irl
This, but with an alias.
alias pimp-me='apt update && apt upgrade && apt dist-upgrade && apt autoremove'
sudo pimp-me
>sudo
>not logging in as root 24/7
This is what happens when you flush poo down the loo
>calls people a faggot
>uses systemd
sudo init 0
wat? I'm no indian, I use kali.
Nobody in real life would say something that stupid to me so I would never have to respond that way.
terminal noob here
explain to me what these commands do for you and why you run them all the time
You too
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
>keeping tabs on what system attention whore uses
kek
So I just ran clean and it did nothing but I had a .deb in my downloads folder. Is that normal?
it cleans from some other folder. /var/something. I forgot. It's system files, not files that you installed.
Makes sense, thanks
np, man. You on ubuntu, or something else?
I keep doing yum even though Im meant to do dnf. I will always love yum.
>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
oh, wait, you're right. I'm sorry, I'm really tired.
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
Nice, I started with ubuntu too. currently on kali.
pacman -Sywuu
*check archlinux.org*
pacman -Suu
who are you
why are you everywhere
why are you nowhere
why do you haunt my dreams
cat /dev/urandom >/dev/sda
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'
Open the door sir.
cc whatever.c
>pimp-me
sweet
Service Minecraft restart
Go ahead, call me a pleb
ULTIMATE HAXX0R DETECTED
>running kali outside of a VM
why?
make
>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.
It works well as a daily driver, so long as create and use a non-root user
screenfetch
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|head
343 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.
alias tmp=" sensors | egrep -i --color 'core |temp[1-9]' "
>mixing skills and mindsets is dumb
...
> 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
Native docker support, nearly every mail/webserver, you moms slimy dildo
Ctrl-L
Not him but Ctrl+L's like pressing return only it doesn't execute the entered command
sudo pacman -Syyu
sudo apt and ssh
λ 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
>Holy shit do people actually type all that?
>what is completion
does not work well.
>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 do urxvt -e nvim term://zsh, thus I can just do :e when I need to edit something.
Are you people seriously this bad at the command line?
apt-
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 get make && 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
>apt-
>apt-
>apt-
>apt-
>apt-
Oh this
alias temps='nvidia-smi -q -d temperature | grep Current | cut -c9- | sed "s/ //g"&& acpi -t'
funny how fedora is just
#dnf update
for (almost) all that.
but cleaning is usually not neccesary
git blame
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)
it is difficult to find people to talk to while being a NEET in a basement, isn't it?
things like this is why tab completion sucks
This. I'm always root on my machine, and any machine for that instance.
or this
I never mentioned the tab key. Use command line history completion (PageUp or ^R or whatever)
>what is chmod -R 777 /
!apt
...
gp
drs
sp
vim
git add -u .
git commit
git push
grep -r "phrase" .