• General Linux Chat and Small Questions v. Install Arch
    4,946 replies, posted
[QUOTE=T3hGamerDK;38116747]How would you determine if your flash drive is of this type?[/QUOTE] 1) Is it a flash drive? 2) It's NAND flash [editline]21st October 2012[/editline] There's also NOR flash but as far as I'm aware it's mostly used to replace smaller-capacity EEPROM
Boy do I love all these gnu utils. Here's how I renamed a bunch of files so that XBMC would detect them. [code] ls | sed -r -e 's/^(.*)$/mv "\0" "\0"/' -e 's/Season I Episode /S9E/2' -e 's/E([1-9]) /E0\1 /' | sh [/code] For those who don't get what's going on here's a step by step: 1. get a file listing [code]ls[/code] 2. replace every line (each line is a file) with "mv file file" [code]-e 's/^(.*)$/mv "\0" "\0"/'[/code] 3. Replace the text "Season I Episode " with "S9E" on the second file [code]-e 's/Season I Episode /S9E/2'[/code] 4. Replace "E# " with "E0#" (# is a digit from 1 to 9). This takes all the episodes with a single digit number and pad it with a 0 [code]-e 's/E([1-9]) /E0\1 /'[/code] 5. Pass the result to a shell so it can be executed [code]sh[/code]
But wouldn't "Season I" be "S1"? or am I missing something here
Why not just use sickbeard.
I love shell scripting. I love Unix.
I really like shell scripts, but for more advanced script, I use python.
I'd love shell scripts if I knew how to use them they're capable of more than I tend to employ them for, and it bugs me because I don't know how to do shit
[QUOTE=lavacano;38135635]I'd love shell scripts if I knew how to use them they're capable of more than I tend to employ them for, and it bugs me because I don't know how to do shit[/QUOTE] I always have a 30 page long cheat-sheet about shell scripts on my desk at work, in case I need to write some complex shell script for some server. [editline]22nd October 2012[/editline] Feels fucking great to be the only person that has a good knowledge about linux. I get all the linux related work.
How do I setup a systemwide proxy, so I can bypass blocked ports on Lubuntu/Ubuntu?
[QUOTE=Confuzzed Otto;38136056]How do I setup a systemwide proxy, so I can bypass blocked ports on Lubuntu/Ubuntu?[/QUOTE] Why not set-up a VPN?
Right, I'll try that. Another question- I tried to make so I have an extended display of my laptop display to another monitor using xrandr, but I get this error [code]xrandr: screen cannot be larger than 1280x1280 (desired size 1280x1600) [/code]
[QUOTE=lavacano;38134399]But wouldn't "Season I" be "S1"? or am I missing something here[/QUOTE] Seasons are labeled using letters, I'm changing it to numbers because XBMC doesn't quite like letters.
[QUOTE=Confuzzed Otto;38136342]Right, I'll try that. Another question- I tried to make so I have an extended display of my laptop display to another monitor using xrandr, but I get this error [code]xrandr: screen cannot be larger than 1280x1280 (desired size 1280x1600) [/code][/QUOTE] Type in just "xrandr" and see if the resolution you are trying to use (1280x1600) is supported on the output. I would such a low resolution would be, but it seems xrandr thinks differently.
I suck at googling, how do I set up a VPN so I can use Steam where the ports are blocked?
[QUOTE=Confuzzed Otto;38146127]I suck at googling, how do I set up a VPN so I can use Steam where the ports are blocked?[/QUOTE] don't play games at school
[QUOTE=Generic.Monk;38146784]don't play games at school[/QUOTE] Receeesss
[QUOTE=Confuzzed Otto;38146127]I suck at googling, how do I set up a VPN so I can use Steam where the ports are blocked?[/QUOTE] Install a VPN server on a server/computer/whatever the fuck you want to call it, connect to it with a VPN client. OpenVPN is easy to use. Alternatively, buy one of those shitty VPN services that are sold somewhere, I haven't used one, so can't tell about that. I would recommend hosting it yourself and testing if the school firewall even lets VPN traffic through.
I'll try that. They aren't so smart when blocking so I think it will work. I remember using yourfreedom when I was using windows
I think my [del]body[/del] computer is ready for some real Arch Linux action! But only tomorrow...
[URL="http://www.cinnarch.com/"]This is interesting..[/URL]
[QUOTE=nehkz;38149423][URL="http://www.cinnarch.com/"]This is interesting..[/URL][/QUOTE] Looks really nice
[t]http://nehkz.me/img/i/3df858c1595f923b7ced840fcf80d0ae.png[/t] So, I've got two problems. I tried removing conky and that happened and I tried running nitrogen and the other problem happened. (Don't worry about the weird bug at the bottom right of the screenshot. It's the screenshot.)
[QUOTE=nehkz;38164715][t]http://nehkz.me/img/i/3df858c1595f923b7ced840fcf80d0ae.png[/t] So, I've got two problems. I tried removing conky and that happened and I tried running nitrogen and the other problem happened. (Don't worry about the weird bug at the bottom right of the screenshot. It's the screenshot.)[/QUOTE] How did you try to remove conky? The correct method would be to killall conky, then remove it from autostarting, the uninstall it.
[QUOTE=neos300;38167472]How did you try to remove conky? The correct method would be to killall conky, then remove it from autostarting, the uninstall it.[/QUOTE] It's fine. I'm re-installing now anyway. Thanks though.
[QUOTE=nehkz;38149423][URL="http://www.cinnarch.com/"]This is interesting..[/URL][/QUOTE] they need to slow down that slide show. i barely read half of the first blurb before it moved on and i generally read them pretty quickly
I'm downloading a server OS for my A+ Cert class to use privately and I was wondering if any of you could recommend the best distro for the job. I was thinking Ubuntu would be the easiest because most of the people have never used Linux before (I have pretty limited experience with it myself) and I figured it would be the easiest to use. However while it may be the easiest I don't know if it's good for servers or not
If you know what you want, Arch is a nice "server" OS. You will get a minimal install and be in a position to add only the packages pertinaint to a server and you will be controlling what is running, not what isn't. Or just run Ubuntu server, potatoes and tomatoes and all that.
[QUOTE=GhettoGeek;38171965]I'm downloading a server OS for my A+ Cert class to use privately and I was wondering if any of you could recommend the best distro for the job. I was thinking Ubuntu would be the easiest because most of the people have never used Linux before (I have pretty limited experience with it myself) and I figured it would be the easiest to use. However while it may be the easiest I don't know if it's good for servers or not[/QUOTE] Debian is really easy and similar to using Ubuntu. It also has very stable packages. CentOS is also a common choice on the server front.
for basic stuff the server distros will be more or less the same. But Red Hat has their own certification if you're interested in that later on [editline]25th October 2012[/editline] [url]http://www.redhat.com/training/certifications/[/url] [editline]25th October 2012[/editline] About the only difference between different server distros is that like Debian uses apt-get and Red Hat uses yum. Other than that the Apache package is apache2 on debian and httpd on Red Hat. So like /etc/httpd/conf/httpd.conf vs /etc/apache2/conf/apache2.conf They're just different, one isn't "easier" than the other really.
Not sure if this has been posted here yet, but there's an official Steam Linux group called [url=http://steamcommunity.com/games/221410]Linux Beta Access[/url]
Sorry, you need to Log In to post a reply to this thread.