[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

ITT post linux hints and things you need to know about linux

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 92
Thread images: 10

File: linux user.png (14KB, 600x539px) Image search: [Google]
linux user.png
14KB, 600x539px
ITT post linux hints and things you need to know about linux and using linux distros.

I need a crash course on linux
>>
>>58571699
sudo apt-get install
>>
>>58571725
>apt-get
deprecated
>>
>>58571699
If you wanted tips maybe you shouldn't have posted such a retarded image
>>
>>58571725
It's better to use apt instead of apt-get.
sudo apt install, sudo apt update, etc.

>>58571699
If you see someone talkingabout command lines, then:
$ man apt
means as a normal user, run "man apt"
But:
# apt update && apt upgrade -y
means as superuser, run "apt update && apt upgrade -y"

To run something as a superuser, put sudo in front of it.
>>
>>58571699
format c
>>
File: 1484905249233.png (61KB, 600x539px) Image search: [Google]
1484905249233.png
61KB, 600x539px
>>58571699
Go to /fglt/
>>
>>58571932
What's free on Linux that's $99 on Windows?
>>
>>58571946
at no point was it specified that this was about the same piece of software.
>>
>>58571946
The OS.
>>
>>58571976
lmao
>>
>>58571946
The OS itself.
>>
>>58571699
MUFUGGEN BIX NOOD
>>
>>58571946
Linux
>>
>>58571968
Well you can't just apt-get install something that's $99 so they're not comparable.
>>
>>58572017
Listen here you little faggot piece of shit.
Things being different don't make them not comparable.
That's the whole point of comparison.
To compare different things, not the same things.

You can damn well install a free alternative to paid software.
>>
>>58572072
But pretty much everything that's free on Linux is also on Windows. Not so the other way around. (Try apt-get installing MPC-HC)
>>
>>58571699
>>58571932
>loonixfag tries to reverse argument
>has to resort to strawmanning with user stupidity

why do linuxfags always try to pose as being tech literate but can't even fucking maintain a Microsoft® Windows installation?
>>
>>58571976
kek
>>
>>58571699
Get comfy with the command line. After installing Linux you can open a terminal with ctrl+shift+t
>>
>>58572111
Because maintaining Linux is easier than maintaining windows assuming the user has equal knowledge of both.
>>
File: Screenshot_2017-01-20_06-00-47.png (174KB, 708x913px) Image search: [Google]
Screenshot_2017-01-20_06-00-47.png
174KB, 708x913px
if you're using something debian based, like ubuntu, here's some basics

typing "sudo" (which is short for superuser do) before a command means that whatever command you type is carried out with root privileges.

you get your software from repositories, which are just maintained lists of software available to download. you can use several tools to download and install software on debian based distros. apt, apt-get, aptitude, dpkg, etc.

sudo apt-get update (downloads the package lists from the repositories and "updates" them to get information on the newest versions of packages and their dependencies.)

sudo apt-get upgrade (apt-get upgrade will fetch new versions of packages existing on the machine. you want to run update before doing this)

you can search for packages to install using "apt-cache search program_name". (pic related, i search for and install chromium)

install packages from the repositories by using the command "sudo apt-get install program_name". for example, "sudo apt-get install htop" would install the program "htop" to your machine.

you can also download software in .deb format. for instance, say you went to sublime's website and download sublimeinstall.deb to your Downloads folder.. you could install using the command "dpkg -i /Path/File.deb". in this case it'd be "sudo dpkg -i /home/username/Downloads/sublimeinstall.deb"

to uninstall a package you can use "sudo apt-get remove program_name".
a more thorough command that removes unnecessary related packages and config files and stuff is "sudo apt-get purge program_name".
so if you wanted to remove "htop" just type "sudo apt-get purge htop"

learn the basic unix terminal commands, like rm, cp, mkdir, touch, cd, pwd, whoami, passwd, ls, etc..

it's confusing at first, but you settle in and become comfortable, and tend to learn a lot of shit as time goes by. i never set out to "learn" linux, i just didn't want to be spied on for advertising purposes. you just kinda learn as you go.
>>
>>58571932
This one is actually accurate.
>>
File: who, him, who, me.gif (1MB, 300x203px) Image search: [Google]
who, him, who, me.gif
1MB, 300x203px
>>58572258
>maintaining Linux is easier than maintaining windows
what purpose of the system?
>assuming the user has equal knowledge of both
measured how? what level of knowledge?

you loonixfags often are as bad at making claims as modern feminists
>>
oh and "dpkg -l" will list all the installed packages on your box
>>
>>58572308
Given the context of the thread, normal desktop usage. Equal knowledge means same amount of familiarity, general understanding of how to do a task or troubleshoot a problem under both OSes.
You autists like to nitpick and ignore the context of every statement.
>>
>>58572308
>>58572258

Get a room
>>
>>58572308
updates on Linux
>run update command
>ignore

updates on windows
>run update command
>doesn't exist
>google how to update
>open a shitty GUI
>navigate for literally minutes trying to find the "check for updates" button
>find it, press it, wait a few minutes
>pop-ups everywhere telling you it's time to update
>start updates
>get nagged to reboot until you do
>shutdown takes twenty minutes, when it's finally done you give a sigh of relief
>When it starts again it has to finish setting up updates
>.NET framework
>takes eight hours
>can't use computer for basically a whole work day
>can't give presentation at work
>lose job
>suck dick for money to pay for proprietary software.

typical day of a wincuck.
>>
>>58571875
does it really make a difference?
>>
>>58571875
why is apt preferred over apt-get?
>>
>>58571932
this so much. But add to that people wanting you to troubleshoot the pc while telling you just one part of the story,or "i dindu nothing and it just rebooted"
>>
File: microsoft reasons.jpg (206KB, 1052x713px) Image search: [Google]
microsoft reasons.jpg
206KB, 1052x713px
>>58572111
why should I put effort on maintain something I've already paid someone else to supposedly do that work for me?
>>
>>58572352
Windows
>auto downloads updates
>only 2 restarts after clean install, no more needed
>always fresh os

Loonix
>pacman fucked my xorg conf
>momma, undo all my meetings today im gonna fap to chinese cartoons and compile kernel

Ps. Yes was
>>
>>58572352
>run update command
>doesn't exist
there are multiple package managers on windows.
But unlike linux, non-foss unix people actually can find software from multiple sources, from installers to app stores to repos, and don't have to rely on amateurs hacking together a small deposit of all the software they could possibly find, concept copied from automating deployments servers because without them, they have helplessly out of software. No, the app stores on linux are shit.
>>
>>58572344
>Given the context of the thread, normal desktop usage
show me where this context is pointed out

>Equal knowledge means same amount of familiarity, general understanding of how to do a task or troubleshoot a problem under both OSes
this is just noise without value
>>
>>58572558
Alright pajeet. Madarchod sala. Lund chus.
>>
File: 1391862288537.png (254KB, 1300x842px) Image search: [Google]
1391862288537.png
254KB, 1300x842px
>>58572598
>(You)
>>
>>58572279
THANK YOU! Saved
>>
>>58572558
>show me where this context is pointed out
The fucking OP, he's asking about the basics of Linux like installing and removing apps. Read the other posts in the thread.
This isn't a thread about setting up raid in Linux or server maintenance.
>this is just noise without value
How the fuck do you objectively measure someone's ability to use an operating system?
This is literally what OP is asking about, how to do basic tasks in Linux.
>>
>>58572386
This
>>
>>58572876
>The fucking OP, he's asking about the basics of Linux like installing and removing apps.
don't see desktop usage explicitly mentioned. linux is known a server OS, OP might as well be interested in operating a server, hence the question about linux in the first place. but that's still projections vs implications.

>How the fuck do you objectively measure someone's ability to use an operating system?
my point exactly
>hurr just assume equal knowledge
it's not quantifiable, how can you assume equality?
>>
>>58571699

Windows doen't come with an """install'''''' button.

To install a program on Windows you need to download an installer from the interwebs and execute that untrusted thing AS ADMINISTRATOR.

Most GNU+Linux distros actually come with an install function (apt, yum, rpm , emerge, whatnot).

Jokes on (You).
>>
is it possible to sudo apt install on arch?
>>
>>58571932
Top kek, this is pretty legit
>>
>>58572965
>To install a program on Windows you need to download an installer from the interwebs and execute that untrusted thing AS ADMINISTRATOR.
sudo apt install does much the same thing, similar anyway.
Admittedly you could just grab the source and after auditing it, compile and install. But who does that XD
>>
>>58571875
why apt install instead apt-get
>>
>>58572984

The difference is that on windows you have to grand someone else's installer admin privileges, even for trivial applications that don't need admin to run at all. On GNU+Linux you only trust apt (for example) with root privileges. No code from the author is executed as root (when talking about a program designed to be runas regular user).
>>
>>58572984
>>58573058

Quoted wrong post.

>>58573017

See >>58573058
>>
>>58572942
Linux is known as both. Usually if someone has questions about servers, they'll mention the server bit. That's where context clues and reading comprehension comes in.

>it's not quantifiable, how can you assume equality?
This is just autism. The definition of equality isn't limited to quantifiable numbers. Equality can apply to qualitative comparisons as well.
I'm much more comfortable and experienced with Linux than windows. There's a qualitative comparison.
>>
>>58573029
because it's the new standard, and it works better.
>>
>>58571932
Holy shit wincuck status btfo wincucks on suicide watch.
>>
>>58572942
If we're going to nitpick at your level:
Linux is not a server OS because Linux is not an OS used in any server because Linux is not an OS.
You can measure knowledge about usage of an OS, informally, as "being aware of the necessary steps needed to complete an action".
Of course you're just being a little bitch because you know you can install stuff faster and better on every metric on Linux.
>>
there's a cool linux program called WinUSB that allows you to burn a bootable Windows iso to a thumb drive very easily with a graphical interface so you can switch back to a real OS and play games
>>
>>58573333
quads for frauds
>>
>>58572352
>start updates
And this is where it ends. Win7 became so fucked up and buggy that it doesn't even find updates anymore. Eternally cucked.
>>
>>58571699
If you want an installer just use gdebi
>>
>>58573065
>Equality can apply to qualitative comparisons as well.
you won't get an objective argument, merely opinions and subjective statements
"I like/feel more comfortable with X" or "I like/am comfortable with both X and Y equally" are not objective statements
>>
>>58573370
I thought this was just me. I was trying to install Win7 so I could whip up a windows app in visual studio, and I couldn't get the fucking thing to update. ended up using a development VM image microsoft released.
>>
File: define linux.png (15KB, 617x419px) Image search: [Google]
define linux.png
15KB, 617x419px
>>58573297
>If we're going to nitpick at your level:
>Linux is not a server OS because Linux is not an OS
pick up a dictionary
also see image >>58572664
>>
>>58573333
>WinUSB
This isn't how you spell dd
>>
>>58573515
can i use dd to make a virtualbox image a bootable liveusb?
>>
>>58573497
It's not an operating system, Linux by itself does not follow POSIX. And it's not a server OS because no server in the world has ever ran on Linux alone.
>but muh Thesaurus
Doesn't matter, it's not following a spec, just some normie definition. You also did not address the rest of my post.
>>
File: 1484630349931.jpg (54KB, 566x480px) Image search: [Google]
1484630349931.jpg
54KB, 566x480px
>>58572103
>Try apt-get installing MPC-HC
Why the fuck would I emerge this shit software when I have mpv? You can keep your crap programs to your OS. There's a reason it's not available on Linux: it's because no hacker took the interest to port it to Linux because MPC-HC is garbage.

>But pretty much everything that's free on Linux is also on Windows. Not so the other way around.
If something is free and open source on Windows but it's not available on Linux, it's because there already are objectively better free alternatives in Linux.
>>
>>58573497
How about you read a book instead?
kernel is OS because some online dictionary said so, nice.
>>
>>58573561
>>58573497
you two faggots ruined the thread. shame on you.
>>
>>58571932
>had this exact shit with trying to play resident evil 7 trailer
>turns out I had to manually install two specific update to get Windows update to start working again
>turns out that windows update is actually broken as shit on new installs because it changed so much since SP1 was released that a clean SP1 install can't even use it
>this has happened numerous times and so the necessary updates have changed over the years
>literally have to wade through 5 different sets of answers for the most up to date set of updates
>just to get windows update to work on a clean install
>just to get a set of .dlls that could easily be installed through a .exe or .msi instead if Microsoft actually cared
>so that I could play a demo for half an hour
I lost three hours. At least now my windows partition isn't at Cambodian prostitute levels of infection potention
>>
>>58573561
there's explicitly mentioned context ITT for calling 'linux' an OS, including OP's image

>>58573681
some loonixfag makes a claim, as if it were fact, with nothing to back it up
when asked for not even hard data but just some specifics of the claim, all shit breaks loose

all loonixfags can do is poor attempts at reversing arguments and move goalposts
>>
>>58573792
>don't install updates until something doesn't work
>blame the system
>>
>>58573561
>It's not an operating system, Linux by itself does not follow POSIX.
OSes predate POSIX, so I don't see how not following POSIX makes Linux not an OS

>And it's not a server OS because no server in the world has ever ran on Linux alone.
I don't think there's such a thing as a server running the OS and nothing else. By that definition there's no such thing as a 'server OS'
>>
>>58573832
>don't install updates until something doesn't work
This was a fresh OS. If I or you install Windows 7 today, you'll have to follow my steps, because OOTB Windows Update is broken.

>blame the system
I think I will
>>
>>58573800
Fuck off, you're the one that made the baseless claim that Linux users can't maintain a Windows install.
>>
File: Richard_Stallman.jpg (307KB, 800x600px) Image search: [Google]
Richard_Stallman.jpg
307KB, 800x600px
>>58571699
>ITT post linux hints and things you need to know about linux and using linux distros.
>I need a crash course on linux
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!
>>
cool fud op, it's not 2003 anymore so we have these things called package managers. Just FYI, if you try to compile from source on windows it's just as hard. kill yourself.
>>
>>58572386
Progress bar, shorter to type.
Also simplifies it so you don't have to introduce 10 tools to deal with packages.
Try apt search vs apt-cache search.
apt install vs apt-get install.
It does not have apt-file yet, but I am sure it will get there.
It is a long needed upgrade to Ubuntu.
>>
>>58573887
if they can, why the shitty reverse argument image?

the original OP image has a lot of nonsense for the commands, but the actions to get something are still true (i.e. editing config files, calling command-line programs with unclear arguments)

but the reversed image is outright user stupidity, also goes out of the scope of the operating system.
>>
>>58571699
Think of Linux as a sysadmin OS.
Learn bash and the user space.
Learn networking.
Learn security.
Learn virtualization and containers.
Learn the basics of programming, like how to compile different projects, how to read compiler warnings/errors etc.
Learn svn, git and rsync.
Learn to make a package for the OS you are using.

When you know these things, you know Linux.
We had a course on this at my university, so it is possible to get a decent understanding in a couple of months.

We started by reading the tldp advanced bash guide and then went into the other subjects.
Using the OS also helps, but structured learning is always better.
I had used the OS for a decade before the course and I still learned a lot.
>>
>>58573873
>This was a fresh OS. If I or you install Windows 7 today, you'll have to follow my steps, because OOTB Windows Update is broken.
why are you installing games before you finish setting up your system?
why do you not have a backup copy of a fresh system with updates already installed (oh right, you install games before you finish setting it up); or have the updates streamlined to your installation media?
>>
>>58574034
You're getting this assmad over meme images?
Christ on cracker, that's some legit autism, it's not an "argument" it's shitposting for cheap laughs or whatever. Please tell me you don't take memes seriously.
Look you can use Linux without ever having to edit a single config file, or entering a single command.
>>
>>58574125
>assmad
why do loonixfags keep projecting things?
>>
>>58574034
The applications where you have to edit config files are rarely user applications.
It is servers, daemons and so on you need to configure.
Application arguments are short because back when computers were new, typing out entire sentences were a hassle.
Now we can autocomplete, paste and writing the verbose argument is not a big deal, but people still prefer to use the short names as they know what it means.
>>
>>58574208
>He's too autistic to pick up on tone from written dialogue
>>
>>58571699
Tells you where things are located
man hier

Wildcards are super useful
to select all
ls *
or extension
mv *.jpg /mynewpath/
or partial
mkdir daughter && mv *lisa* daughter

Pipes | can send the output of one command into another.
ls /bin | grep ls

You can also redirect input and ouput to a file with <>
ls /bin | grep ls > 1.txt
If you want to append to the end of a file, use >>
ls /bin | grep ls > 1.txt && ls /usr/bin | grep ls >> 1.txt

&& will let you do one command after another. mkdir new && cd new

Find is very useful for
finding files
find / -type f -name "*jpg"
directories
find / -type d -name "bin"
or executing commands based on find output
find ~/ -type f -name "*.png" -exec mogrify -resize 50% {} \;

To move up in directory you can use ../ instead of typing out the entire directory path. cd ../

If you are attempting to execute a script or program in your current directory whose path is not set as an environment variable, you will have to use ./ as in ./MySuperScript.sh

If you want to see your user variables printenv

To change permissions of a file or directory you use chmod. To change ownership, use chown. You can man those on your own.
>>
>>58572352

Linux:
Click the ugly replacement for start button.
Search for the package manager gui.
Gui is fugly as usual: open the terminal like 1337 hax0r.
Boot the windows laptop and search how to update loonix on the internet
apt -ccp /woof ?blarg $dildo
Retype the command correctly
Everything broke, configuration is reset
Shut down PC

Windows:
Smash start button
Smash Windows Update
Update
>>
>>58572481
>>pacman fucked my xorg conf
>distro specific meme
>even an old one

Xorg.conf doesn't even exist by default unless you create it to modify something which you won't need in the first place unless you are some kind of enthusiast.
>>
That's the problem with both Windows and Linux.

You see, Windows is like a plastic butter knife and Linux is like steel kitchen knife. With windows kids feel always safe to use and have fun with it playing to be chefs, doing things like cutting tomatoes or maybe onions, even if they do it in a slow or clumsy way, but meanwhile they feel happy and satisfied with themselves. Then when they see you cooking with the steel knife they starts wondering how it feels, then they starts whining that they want to cook like you and want to use the steel knife instead the small plastic one. You say that you cannot do that because you're busy but you'll teach him later.

The kid gets angry and start whining more that he want the knife now and don't want the plastic one anymore, you tell him that to use the knife he must practice and be patient, meanwhile he should start with a smaller one. The kid gets more angry and tell you that he don't need your ugly and stupid knife because the yellow plastic one is more cool, and more safe, and he can do the same things, and that this one is not allowed for adults to use. Then you laugh in a light way like thinking 'that's cute' and you just say ok.
>>
>>58571932
did the op pic really upset you that much
>>
>>58574437
Later in the night when you're sleeping, the kid takes the steel knife and starts playing with it. He feels very exited, this one is heavier, shiny, it cuts things very easily, now he feels like a professional. Then he try to cut harder things, or trying to cut the vegetables in small cubes. During his play he mistakenly cuts his finger and starts crying very loud. You wake up and hurry up to see whats happening and you cure his finger with a bandage and cleaning the injure.

The kid starts blaming you saying that this is because you didn't lend him the knife when he asked, that you never have time for him, that your shitty knife is dangerous and you're a retard for using it, that he didn't need anyway, that was your fault for always treating him like a kid. The only thing you do then is hug him and say, 'ok but promise me that you'll not try to use the knife again until being more grown', the kid just nods with his head while a tear walks over his face.
>>
>>58574403
>using arch
>not being an autistic ''''''''enthusiast''''''''
Get real ya dingus
>>
>>58574340
Find is useful, but locate is much faster and gives you better results.

To use it, you must have a database, update it with sudo updatedb, then just locate file.

And since the file commands are long to type, another thing might be useful as well: aliases.
You basically write
alias <cmd>='<other cmd with args>'

You can get a list of all aliases by writing alias.
It is a good idea to write these in your ~/.bashrc or in a file you source from the file.
This file runs every time you open a terminal.

You source files by writing
. file
#or
source file
>>
>>58574469
>wanting to try out a different distro makes you autistic

You sound insecure, it's not like you cannot use arch without a custom xorg.conf anyway
>>
>>58571932
This is just the trouble getting the software you easily have the same thing in Windows
>>
File: hello.jpg (7KB, 273x129px) Image search: [Google]
hello.jpg
7KB, 273x129px
>>58571725
>>58571798
>not an alias
>>58571855
Dubs of Truth
Thread posts: 92
Thread images: 10


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
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.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.