nonethefewer: (Default)
In Linux on this one box, I run sudo latex file.tex.  Sometimes I forget the sudo in a folder where I don't have permission to create new files, and it hangs.

(This is on a server where I'm a sort of advanced guest, so yes, the sudo is necessary.)

[christina@192 test]$ latex file.tex
This is TeX, Version 3.14159 (Web2C 7.4.5)
! I can't write on file `file.log'.
Please type another transcript file name: !


How the eff do I quit out of that?
nonethefewer: (Default)
In Linux on this one box, I run sudo latex file.tex.  Sometimes I forget the sudo in a folder where I don't have permission to create new files, and it hangs.

(This is on a server where I'm a sort of advanced guest, so yes, the sudo is necessary.)

[christina@192 test]$ latex file.tex
This is TeX, Version 3.14159 (Web2C 7.4.5)
! I can't write on file `file.log'.
Please type another transcript file name: !


How the eff do I quit out of that?
nonethefewer: (Default)
Linux question, because I know there's an answer, I just don't know what it is:

Is there a way, on the command line (as in, I don't want to write a Perl/bash script, for heaven's sake), to delete a directory only if there's only one file in the directory?

Context: removing the artist folders for one-hit wonders I don't care about.

Moar context. )
nonethefewer: (Default)
To do basic calculations on the command line in *nix/*nux:

echo 2+2 | bc

Or just type bc, and go from there.

http://linux.die.net/man/1/bc
nonethefewer: (Default)
This is scripting stuff for work.  I don't script in Linux that often, sooo.

Read more... )
nonethefewer: (Default)
Gosh I love shell scripts right now.  I just added a single line of text to every .php file recursively in like a second.

And now... sleep.
nonethefewer: (Default)
[Poll #1266766]
This is what happens when I pollinise before coffee.  I am using Ubuntu which uses Gnome.  Text-based or GUI is fine.
nonethefewer: (advice)
I may buy a computer.  One of the cheaper ones, naturally; they are all better than the machine I currently have.  (Which has a hiccoughing motherboard, a busted fan, and 256MB of memory.)

I'll hold off until my next paycheck.  I have bills and things; those come first.  Plus [livejournal.com profile] jeremiahsb mentioned he'll be dropping off computer parts, so maybe I can cobble something together instead.

My notes.  Public so's anyone can chime in.

Noodling. )

Why am I doing this?

...why not?
nonethefewer: (Default)
Right out of the gate, an issue!  That being, my desktop doesn't know there's a CD in the tray.  It gives me the option to click on it in Windows Explorer (so it recognises that a drive exists), and clearly I can open and shut the drive.  I popped the CD into my laptop, which can see it just fine.

*annoyed*
nonethefewer: (geeky love)
I have three major reasons why I don't switch to Linux.

1) My Windows machines work, for versions of "work".  I don't have a Windows install disc for the laptop, so if something goes afuckered, I can't easily fix that.  And all my music is on my desktop!  *afeard*

I note that it's likely dirt-easy to fix things.  I furtherly note that I am an anxbot the end.

2) I use VB like a madperson.  I have compatibility concerns for everything (IE, my Shuffle, &c), but VB and I go way back.  I can't give that up.  I can barely handle all the keyboard shortcuts being different in OpenOffice, for heaven's sake.

Buuut if OOo has VBA support now... hm.

3) I forget.  I think it had something to do with how everything involves knowing arcane command-line things and aiee.  However, apparently Ubuntu got wicked easy when I wasn't paying attention.  (I can install things easily, and install IE6, and use the Start key, and Ctrl-K gets to the search box, and eee.)

So clearly, the only thing for me to do is acquire a box and install Ubuntu on it, or set up one or the other as a dual-boot things, or suck it up and convert my (poor slow lumbering) desktop to Ubuntu.

Hmmmm.

--

Links/notes repository for myself:

* The iPod Shuffle and Linux
* IEs 4 Linux
* gstreamer0.10-plugins-ugly for mp3 playingness
* Ctrl-K in Firefox is like Ctrl-E in FF on Windows
* sudo apt-get install [package]
nonethefewer: (Default)
You know honestly, I think I'd want Linux around just for the games.  I am too wedded to VB and MS Office to ever be able to fully move to Linux, but some of the games are damn shiny.
nonethefewer: (Default)
I'm running, apparently, KDE 3.5.5 on openSUSE 10.2 in a virtual machine.

*pats it*
nonethefewer: (Default)
A tip for myself for the future:

Having to run things as Administrator in Windows Vista is akin to running things using sudo in Linux.

Good to know!
Page generated Aug. 16th, 2025 11:44 am
Powered by Dreamwidth Studios