|
wolrah posted:I have to be missing something here: That's a good question, but a better question is what's the sweet program that displays usage per core like that?
|
# ¿ May 8, 2010 19:57 |
|
|
# ¿ Apr 28, 2024 03:21 |
|
rt4 posted:I've been suing Ubuntu 64 for the past year and I haven't had any problems with Flash or 3D or anything else that I usually expect to go wrong on Linux. Java and Flash were always the two stinkers. Now there's 64 bit Java, and a 64 bit Flash beta. Also the 32 bit flash runs with NDISwrapper, and there's even a package for it (do 'aptitude search adobe' to find the exact name, it changes).
|
# ¿ May 10, 2010 06:23 |
|
NZAmoeba posted:I ended up testing on a spare desktop, and it doesn't like the arguments from the shutdown command. It might work if you put the shutdown command in single quotes, so soething like this: at -vf 'shutdown -r now' friday 02:00
|
# ¿ May 13, 2010 03:31 |
|
NZAmoeba posted:My work really needs to send me on a scripting course... This is why I :heart: Python. First you've got to get all those commands to run on one line (if you don't this becomes much harder). Splitting up those lines of text are pretty easy, open the file, read the line, split it on the comma character. Then for each line in the file, execute the commands.
|
# ¿ May 26, 2010 01:40 |
|
ToxicFrog posted:Also, if you started something with '&', it will have given you a job ID you can use later: disown is a good one. I think by default it will remove any jobs that show up with 'jobs' from the context of your current shell, so you can safely close the shell without killing your jobs. And speaking of ps and grep, why in the gently caress doesn't pgrep take the same options as ps? I'm tired of having to mentally find the grep process that always shows up when I pipe ps into grep. I want that same output, with one command, that doesn't show me extra useless poo poo.
|
# ¿ May 26, 2010 16:42 |
|
NZAmoeba posted:sunos 5.9, and annoyingly this server doesn't have man. Wow, you're install blows. I just checked on a 5.8 and a 5.10 machine at work (no 5.9) This is what I get on 5.8: code:
code:
|
# ¿ May 27, 2010 03:14 |
|
axolotl farmer posted:something incredibly useful I learned in one of these threads is that bash can treat a redirected output stream as a file. works for commands that can't take a stream as input. This is great for diffing the output of two commands (like an ls)
|
# ¿ May 27, 2010 17:39 |
|
NZAmoeba posted:welp I tried a test run with the above and a 3 line csv file without much luck. It just hangs with no output, what's a good way to find out where it's screwing up? I'm guessing you give it the name of the CSV file as the first paramter, I think that's what 'read CSVFILE' does. So run it like this: $ script.sh /path/to/file
|
# ¿ May 27, 2010 22:52 |
|
NZAmoeba posted:
It looks like solaris passwd is a pile of poo poo and won't work with what you're trying to do. Scroll to the bottom of this: http://www.tek-tips.com/viewthread.cfm?qid=1348695&page=7 and somebody wrote a script to change the password for a Solaris machine by directly changing the /etc/shadow file (where the passwords are actually kept). The only part that worries me looking at the script is this: code:
code:
|
# ¿ May 28, 2010 01:04 |
|
ToxicFrog posted:^^^ Is there any implementation of mv that, if passed an existing directory as the destination without a trailing slash, will silently erase that directory? We're talking about Solaris. There be dragons there. So not sure if mv would do that or not, but I wouldn't be surprised on Solaris, and wouldn't want to risk it. JHVH-1 posted:I think stdin has to be piped so try something like this: Again, Solaris. Throw out everything you know about a Unix system that makes any loving sense.
|
# ¿ May 28, 2010 01:44 |
|
NZAmoeba posted:Well, SunOS, which is slightly different again Not actually, it's all marketing Hocum. SunOS was BSD based for releases 1-4, for SunOS 5 they teamed up with AT&T to make a System V based Unix. SunOS4 was rebranded as Solaris 1 for marketing, and SunOS 5.0 became Solaris 2. SunOS 5.1 became Solaris 2.1, up to SunOS5.6 being Solaris 6, then at SunOS5.7 they made it Solaris 7, and the continues now with Solaris 10 being SunOS 5.10. http://en.wikipedia.org/wiki/Solaris_(operating_system)#Version_history
|
# ¿ May 28, 2010 02:24 |
|
I'm pretty sure Ubuntu does all that stuff for you when you install the packages.
|
# ¿ Jun 8, 2010 17:03 |
|
Ashex posted:I'm working on a project and have run out of Sata ports so I'm in need of a PCIe Sata expansion card. I can speak from experience and say that this works: http://www.newegg.com/Product/Product.aspx?Item=N82E16815124027 It's only 2 ports, and I guess a slightly different chipset than what you linked, so it's not really helpful at all. The chipset on yours is SIL3124, so look into that. Mine was SIL3132. I'd bet that since mine worked, yours would work too.
|
# ¿ Jun 9, 2010 14:16 |
|
Keito posted:Tried roxterm? With a little configuration it's become my favorite terminal, and has been working great in awesome on my end. What the hell is roxterm? I saw it recommended somewhere else, installed it, said "Hey, this looks and acts exactly like gnome-terminal! I checked the website, and the author said it started out as a bloat free alternative to gnome-terminal, but over time it has become equally bloated, so what is the point?
|
# ¿ Jun 30, 2010 16:05 |
|
Keito posted:It's feature-rich, not bloated. There is a difference between those two terms. http://roxterm.sourceforge.net/ posted:ROXTerm is a terminal emulator intended to provide similar features to gnome-terminal, based on the same VTE library. It was originally designed to have a smaller footprint and quicker start-up time by not using the Gnome libraries and by using a separate applet to provide the configuration GUI, but thanks to all the features it's acquired over the years ROXTerm can probably now be accused of bloat. However, it is more configurable than gnome-terminal and aimed more at "power" users who make heavy use of terminals. I've never hit a situation where I wanted to do something that gnome-terminal couldn't do, and I don't feel "weighted down" by gnome-terminal's bulk. I guess if I didn't use gnome roxterm would be good, not requiring gnome libraries.
|
# ¿ Jun 30, 2010 22:26 |
|
Zom Aur posted:Yep, both grub and grub2 supports this by default, but distro defaults may vary. Not quite the same way that bootcamp does. With bootcamp you're holding down a key while the machine boots. With Grub you need to press a key at a certain time to activate the menu.
|
# ¿ Jul 7, 2010 19:48 |
|
rt4 posted:Not if you have the menu set to show by default and automatically boot a certain selection after the timer expires, which is the default for many distros. I'm talking about the comparison to bootcamp. The way bootcamp works is if you leave it the gently caress alone it boots something without asking you any questions. If you hold down a key while it boots, it brings you to the bootcamp menu where you choose what to boot into.
|
# ¿ Jul 7, 2010 19:51 |
|
Zorak posted:Ok, I am terrible at anything and everything involving Linux, just a fyi I'd guess that your c-shell script is generating a bad FTP file? See if you can figure out what it's doing (look at /usr/ssw/offline/swmaint/script/getins.ftp if it exists) and figure out what that's doing.
|
# ¿ Jul 15, 2010 16:35 |
|
Zorak posted:All that's in there is Try and run that script yourself (maybe ftp <scriptname>, never seen an ftp script before) and see what that does, or the script manually (run ftp, paste in the first line, paste in the second, etc). I'm wondering if that ?Invalid Command comes from the FTP script or something else.
|
# ¿ Jul 15, 2010 16:57 |
|
Harokey posted:Basically this. Once you're really familiar with using it, you can do everything without ever touching a mouse. This allows you to navigate through and make changes to files in the time it would take to grab your mouse and navigate to the appropriate menu. Being a CJ I don't think I'd ever do enough with vi to justify the learning curve. I do my script writing in Geany. I'm good enough with vi to edit something on another machine. And if i want to do something funky, I just ask my coworkers, some of who are vi experts. I do use vi search & replace a lot though, to edit /etc/apt/sources.list (hooray local mirror!).
|
# ¿ Jul 26, 2010 20:08 |
|
LittleBob posted:My small business has just purchased a server for uploading our rather large video files to. I chose a server with 2TB of space so that each surveyor could have 100GB or so each, but the Ubuntu install on it has the 2x 1TB in RAID. At least, I assume it has, since df -h says 913GB or so available on /. It's most likely hardware RAID, so you're not going to be able to do anything without going into the BIOS and then reinstalling.
|
# ¿ Jul 27, 2010 01:07 |
|
ExcessBLarg! posted:I have perhaps an atypical but interesting use case. Often times for work I'm running various scripted jobs 24/7 and they have the tendency to occasionally fail for whatever reason. When they do I get an SMS. Things like this are why I love vi and why I'm glad it exists. I just don't want to use it for all my coding needs (which are limited).
|
# ¿ Jul 27, 2010 15:36 |
|
Ubuntu has builtin desktop sharing using VNC, called vinagre. That let's you share your existing desktop RDP style. There are others that create new desktops, like NX, or other versions of VNC. There's no good RDP server for Unix that I'm aware of. The one that does exist basically just translates VNC stuff to RDP.
|
# ¿ Aug 26, 2010 17:12 |
|
ToxicFrog posted:Er? It's not quite one-click because there's multiple packages to install, but they offer it in both deb and rpm format - just download from the site, install nxclient, nxnode, and nxserver, and you're done. The deb package is a one click install. Download the deb, double click it, you're done. (disclaimer: I've used the deb package on a couple of machines so I know)
|
# ¿ Aug 29, 2010 20:08 |
|
Sepist posted:Having an issue wth NIS, wondering if anyone can help. Our last unix admin left without telling anyone that our NIS configuration is a little wonky so since then we haven't been able to add anyone to it, we're tyring to fix this. Can you use the 'getent passwd $user' command to return their proper entry? Are your new usernames in the same groups as existing users? What does your /etc/nsswitch.conf look like? Do either the passwd or group entries list 'compat' as the type? If that's the case, you'll need to look at your /etc/passwd or /etc/group file on the machine you're logging in to.
|
# ¿ Aug 29, 2010 20:09 |
|
I get this straight from NoMachine: http://www.nomachine.com/select-package.php?os=linux&id=1
|
# ¿ Aug 30, 2010 01:40 |
|
ToxicFrog posted:^^ That one. I've never tried freenx, precisely because of stories like yours. The official packages, however, have always worked fine. What? No it doesn't. All I do is install that package, then I can use an nxclient to connect to the server. Unless I'm really misunderstanding what you're saying here. E: Nevermind, I do have all three packages installed on my server. FISHMANPET fucked around with this message at 04:03 on Aug 30, 2010 |
# ¿ Aug 30, 2010 03:55 |
|
Sepist posted:There is no /etc/nsswitch.conf on the FreeBSD client machine but on the Red Hat slave/master servers (I originally thought these were freeBSD also) I have this in nsswitch.conf: Uh, are you sure you're using NIS? According to whats on your servers you're running LDAP. You're right, your setup is hosed.
|
# ¿ Aug 30, 2010 18:20 |
|
My one BSD machine I have at work (FreeBSD 8.0) has /etc/nsswitch.conf. Maybe try the BSD thread, you should be able to find some neckbeards there that might know better. E: http://forums.somethingawful.com/showthread.php?threadid=2798970 FISHMANPET fucked around with this message at 18:45 on Aug 30, 2010 |
# ¿ Aug 30, 2010 18:40 |
|
Gparted should be able to take care of most of this. Download a Gparted live CD, and have it copy and resize the old drive onto the new. After that you'll most likely need to manually edit the fstab like everybody else is saying, but you might not need to modify grub. You'll also still have to dd the mbr onto the new drive.
|
# ¿ Aug 31, 2010 22:15 |
|
MadlabsRobot posted:Hmm, neither seems to work. This is what the [allusers] part of my .conf-file looks like; I believe you'll also need force user = your username here
|
# ¿ Sep 6, 2010 18:53 |
|
Waltzing Along posted:ll *\.*a* It's a regular expression. It matches a string that has 0 or more occurrences of any charter, then a period (it is written as \. because the period is escaped, a period means something special in regex so escaping it, or putting that slash in front, tells the shell to just treat it as a character, and not apply its special meaning), then 0 or more occurrences of any character, than an a, then zero or more occurrences of any character.
|
# ¿ Sep 7, 2010 02:28 |
|
MadlabsRobot posted:Ok, seems like I managed to solve it by doing You should make the folder group readable and writable by the group that guest users get mapped to.
|
# ¿ Sep 7, 2010 22:05 |
|
Our Linux machines authenticate against Kerberos. But I can't create local users without manually editing passwd, group, and shadow. If I use 'adduser' or 'passwd -r FILES' it just wants a kerberos principal.
|
# ¿ Sep 9, 2010 18:46 |
|
Syslog is dumb. Apparently ldap logs to local4, so I setup a log level in slapd.conf, and edit syslog.conf to log local4.* to /var/log/slapd.log. Restart everything, and the log file is empty. Wut?
|
# ¿ Sep 10, 2010 18:31 |
|
Misogynist posted:logger -p local4.notice "I am testing that my syslog works." Yep, restarted both. It looks like syslog is the problem, because that test didn't output anything. code:
|
# ¿ Sep 10, 2010 18:56 |
|
JerikTelorian posted:I've set out to build myself an Ubuntu server for hosting Mumble, Minecraft, and an SSH tunnel for me to remote desktop to my machine. Those three things I now have working decently well, and am trying to set up an FTP server to facilitate easy management of the Minecraft server as well as a good place for me to back up my thesis data. Did FTP and use SFTP or SCP, both of which are already provided by your SSH daemon.
|
# ¿ Sep 10, 2010 19:23 |
|
Alowishus posted:What syslog daemon? It could be buffering... This is actually on a Solaris 10 machine. I just checked, still nothing in the log file...
|
# ¿ Sep 10, 2010 22:48 |
|
JerikTelorian posted:This worked great, thanks. One thing though: I had to create a new user for FTP since my admin account uses a password protected RSA key. Filezilla won't let you use passworded RSA keys, so I need one that is not secured. When I said "Did FTP" I meant "Ditch FTP." Meaning don't use FTP at all. For SCP and I believe SFTP also requires the user to have a valid shell. THe account that makes the connection will, by definition, need to be able to login and execute commands and whatever.
|
# ¿ Sep 11, 2010 00:10 |
|
|
# ¿ Apr 28, 2024 03:21 |
|
caiman posted:Question for all you experts: Unless you have more than 4GB of RAM it literally does not matter. That being said, you can't upgrade to 64bit, you'd have to do a reinstall. It's not all that bad actually. You can back up your entire home dir to a tar file, then dump it into your new install and you'll be exactly where you were before, minus an programs you installed into the machine (sudo apt-get install your-butt)
|
# ¿ Sep 15, 2010 21:56 |