General Linux Chat and Small Questions v. I broke my Arch Install
6,886 replies, posted
[code]#! /bin/bash
FDs="$(file /proc/*/fd/* | grep "/tmp/Flash" | cut -d ":" -f1)"
for FD in $FDs; do
read -u1 -n1 -p "Open $FD in VLC? [Y/N] " openVLC
echo # Newline.
case $openVLC in
y|Y) vlc $FD ;;
*) false ;;
esac
done <<< $FDs[/code]
[code][jookia@jookia-arch ~]% flash.sh
Open /proc/10375/fd/25 in VLC? [Y/N] y[/code]
If anyone else is fed up with crappy flash players, here's this I guess.
[URL="http://imgur.com/a/badwC"]Some of you may appreciate this.[/URL]
[URL="http://www.reddit.com/r/battlestations/comments/1nn5by/how_about_some_unix_up_in_here/"]Source.[/URL]
So I installed Debian on a laptop I have lying around and the installation went successfully....I think. :v:
It boots, but after it switches to the native resolution, the screen is blank. Its definitely working though, because I can blindly login as root, enter my password, issue "shutdown -h -P now" and it shuts down. Keep trying different vga modes through grub and it doesn't make a difference. Same thing everytime.
[editline]3rd October 2013[/editline]
Never mind, its works now. VGA=normal fixed it I guess.
[QUOTE=nehkz;42400752][URL="http://imgur.com/a/badwC"]Some of you may appreciate this.[/URL]
[URL="http://www.reddit.com/r/battlestations/comments/1nn5by/how_about_some_unix_up_in_here/"]Source.[/URL][/QUOTE]
Why would anyone use BSD, though? What does it have that linux doesn't?
[QUOTE=FPtje;42403353]Why would anyone use BSD, though? What does it have that linux doesn't?[/QUOTE]
We use NetBSD for hosting and various related things where I work because of how much more lightweight it is and its insane reliability. Really it comes down to things like, licensing, the way BSD is maintained, and consistency with building things from source etc.
[editline]4th October 2013[/editline]
[url]http://www.freebsd.org/doc/en/articles/explaining-bsd/comparing-bsd-and-linux.html[/url]
Ohohooo it uses CVS for version control. That reminds me of that one talk from Torvalds about git, haha
[QUOTE=FPtje;42403864]Ohohooo it uses CVS for version control. That reminds me of that one talk from Torvalds about git, haha[/QUOTE]
Hardcore bsd people seem to have this unspoken thing that linus is hitler (because of the way he is "the buck stops here" for kernel development vs everyone and the core team with bsd) which is quite amusing.
[editline]4th October 2013[/editline]
git is better than cvs imo, but cvs does the job for them, and as their mantra is "if it works, don't change it" you probably won't see them switch since cvs is probably one of the most mature projects in existence.
[QUOTE=danharibo;42395078]I was thinking along those lines of "commercial backing". Does Fedora not fall under the same definition then?[/QUOTE]
Fedora is effectively their test platform. They're what Dad refers to as a "Bleeding edge" distro. RedHat uses Fedora to test their concepts and packages and stuff, so keeping a Fedora install totally up to date will result in packages getting broken a lot. I still have nightmares from before video card driver kernel headers were automatically compiled... -shudder-
Past that though, RedHat focuses on server and "Enterprise" customers, massive user bases and huge amounts of crap that needs management. Ubuntu seems (at least to me) to cater to a smaller scale. RedHat Enterprise's big thing though isn't the software or the OS, or really even the physical servers, its the support base. Thats where they make their money.
Ubuntu is used not because its the most well known, but because its the right blend of well known and user friendly. RedHat will make you pull your hair out if you're a first timer. At least it did last I used it.
[QUOTE=Venom Mk III;42405298]Hardcore bsd people seem to have this unspoken thing that linus is hitler (because of the way he is "the buck stops here" for kernel development vs everyone and the core team with bsd) which is quite amusing.
[editline]4th October 2013[/editline]
git is better than cvs imo, but cvs does the job for them, and as their mantra is "if it works, don't change it" you probably won't see them switch since cvs is probably one of the most mature projects in existence.[/QUOTE]
That mantra makes BSD sound like a terrible operating system.
[QUOTE=FPtje;42405755]That mantra makes BSD sound like a terrible operating system.[/QUOTE]
Its not quite used at face value like that, but for BSD it works well.
[QUOTE=FPtje;42405755]That mantra makes BSD sound like a terrible operating system.[/QUOTE]
Keeping things that actually work is better than constantly replacing it with crap
Git was specificly designed for Linux kernel development, if BSD's workflow is different, then you're pretty much better off with something else
[QUOTE=Tobba;42405949]Keeping things that actually work is better than constantly replacing it with crap
Git was specificly designed for Linux kernel development, if BSD's workflow is different, then you're pretty much better off with something else[/QUOTE]
Git is very flexible and you can create a centralized scheme much like BSD appears to use.
[media]http://www.youtube.com/watch?v=4XpnKHJAok8[/media]
8:25
[quote]If you actually like using CVS [...] you should be in some mental institution[/quote]
I don't know if I've posted this before. Yes, git was made for the Linux kernel (he says it right after the above quote), but Linus makes good software. Git is not only made for the Linux kernel. It's one of the best tools for source code management.
[QUOTE=FPtje;42406261]Git is very flexible and you can create a centralized scheme much like BSD appears to use.
[media]http://www.youtube.com/watch?v=4XpnKHJAok8[/media]
8:25
I don't know if I've posted this before. Yes, git was made for the Linux kernel (he says it right after the above quote), but Linus makes good software. Git is not only made for the Linux kernel. It's one of the best tools for source code management.[/QUOTE]
I'm just going to risk being called out here, but git is superior to CVS. However true that may be, BSD is a huge project and its probably never going to be shifted to git unless there was some great huge advantage, they have been using CVS for so many years than at this time there is none. It's true that while git has more features and such, they have learned to deal with and use CVS, reluctance to change will be high.
Git is great software, CVS looks shit in comparison, but at the end of the day BSD will probably not move and there is no point in "what-ifs".
YES
[img]http://jesusfuck.me/di/3E1Y/scusemebitch.png[/img]
I've been trying to get this to work in zsh since I made the switch, and I finally figured it out. FUCK YEAH.
[QUOTE=lavacano;42408767]YES
[img]http://jesusfuck.me/di/3E1Y/scusemebitch.png[/img]
I've been trying to get this to work in zsh since I made the switch, and I finally figured it out. FUCK YEAH.[/QUOTE]
[code]alias plz='sudo $(history -p !!)'[/code]
[QUOTE=Mega1mpact;42408874][code]alias plz='sudo $(history -p !!)'[/code][/QUOTE]
In my case it was throwing fits about !!. Also alias doesn't allow spaces as far as I know.
I wound up doing this
[code]scuse () { # as in "scuse me bitch"
sudo $(history -n -1)
}
[/code]
i probably could move the comment and put all that on one line but neh
I find it easier to press up, home and enter "sudo " than typing "scuse me bitch"
yes but that's not funny
[img]http://i.imgur.com/w5AhCBB.png[/img]
[QUOTE=FPtje;42409360]I find it easier to press up, home and enter "sudo " than typing "scuse me bitch"[/QUOTE]
sudo !!
[IMG]http://i.imgur.com/Cg9o0cI.png[/IMG]
How the hell can I extend my linux partition to fill that space?
Don't mind the locks, I'll boot to a live CD when I've got it figured out.
[I]extend[/I] the partition? I don't know, haven't looked at the interface in a while.
But you could always just format it and treat it as a secondary. Symlink things back and forth if you need to or something.
Wouldn't you have to unmount the current partition to then extend it?
[QUOTE=1/4 Life;42413279][IMG]http://i.imgur.com/Cg9o0cI.png[/IMG]
How the hell can I extend my linux partition to fill that space?
Don't mind the locks, I'll boot to a live CD when I've got it figured out.[/QUOTE]
extend the "Extended" partition to by using the "Fill remaining space" option in GParted, then do the same to the ext4 partition.
[QUOTE=Mega1mpact;42409839][img]http://i.imgur.com/w5AhCBB.png[/img][/QUOTE]
Was gonna share this with a friend then realized he's never used linux and would't understand.
I found this to be very badass.
[video=youtube;MuYMBCcgs98]http://www.youtube.com/watch?v=MuYMBCcgs98[/video]
[QUOTE=Lerlth;42438681]I found this to be very badass.
[video=youtube;MuYMBCcgs98]http://www.youtube.com/watch?v=MuYMBCcgs98[/video][/QUOTE]
Once that matures enough, I can easily see myself using that.
[QUOTE=Lerlth;42438681]I found this to be very badass.
[video=youtube;MuYMBCcgs98]http://www.youtube.com/watch?v=MuYMBCcgs98[/video][/QUOTE]
I find myself manually converting deb packages to rpm sometimes and this would be a great alternative.
I was told by another Linux user the other day that I wasn't a "real" Linux user because I use Elementary OS.
Now I have jumped Linux distros and the only reason I use Elementary OS is because I only have one computer and have been put in a situation where I need it to work.
But I wanted some opinions. Do you think I'm just kidding myself or what?
[QUOTE=XxThreedogxX;42442392]I was told by another Linux user the other day that I wasn't a "real" Linux user because I use Elementary OS.
Now I have jumped Linux distros and the only reason I use Elementary OS is because I only have one computer and have been put in a situation where I need it to work.
But I wanted some opinions. Do you think I'm just kidding myself or what?[/QUOTE]
Elementary OS is just as an "real linux distro" as everything else. If you like it, keep it. If not, you don't need to jump distros either. Elementary OS is based on Ubuntu, and as far as I know all Ubuntu repos are already in. So if you want to try an different DE, just install them (ex. KDE, Gnome, Xfce, etc), and switch between them when you log in.
Sorry, you need to Log In to post a reply to this thread.