![]() |
|
Whee, Linux! |
Thomas Fjellstrom
Member #476
June 2000
![]() |
Trezker said: Sometimes I think Ubuntu does that too. But thats what Ubuntu is for. -- |
Karadoc ~~
Member #2,749
September 2002
![]() |
Tobias, I'm interested to know what kind of scripts you find useful in *nix but can't do in Windows. I think it's widely agreed that *nix has a superior set of terminal commands, but I don't really miss that in Windows. ----------- |
Tobias Dammers
Member #2,604
August 2002
![]() |
Some examples.
It's not that these things are completely impossible in Windows. It's just that I can shape my Linux install to make them much more convenient. Trezker said: Sometimes I think Ubuntu does that too.
Of course it does, provided you use the tools that try to be like windows. Those aren't any better than the windows equivalents; in fact, I've noticed that they're often less efficient at doing the things I don't need. --- |
miran
Member #2,407
June 2002
|
Tobias Dammers said: Yesterday at work, I deleted ~10k files, and windows had me waiting several minutes before even starting to delete stuff. Just last week I had to delete about 45k files from c:\windows\temp using explorer. I think it took at least 15 minutes for explorer just to count the files. I wonder if typing del * in cmd works any faster... -- |
Tobias Dammers
Member #2,604
August 2002
![]() |
I'd assume del *.* to be faster, just like rm -r is faster than nautilus. --- |
Arthur Kalliokoski
Second in Command
February 2005
![]() |
miran said: I think it took at least 15 minutes for explorer just to count the files. Did it show a dialog for how many files? {"name":"estimation.png","src":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/c\/a\/cad29b6d418b577671c7570d693e7aca.png","w":297,"h":335,"tn":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/c\/a\/cad29b6d418b577671c7570d693e7aca"} They all watch too much MSNBC... they get ideas. |
bamccaig
Member #7,536
July 2006
![]() |
Tobias Dammers said: I use apt-get rather than aptitude or synaptic - not because it's prettier, and neither because it does a better job at installing programs (it doesn't, since it uses the exact same back-end), but because it does exactly what I tell it to (install a program and its dependencies) and not a thing more (load and display a sorted list of all available and installed packages, graphically tagged with an icon indicating their status, etc. etc.). I'm not a Debian expert, but I think you might be confusing aptitude with something else. AFAIK, aptitude is just another command interface and I don't think it wastes too much time. I was under the impression that it is just a front-end over apt-get and I think it's supposed to be "smarter" when resolving dependencies, etc. I could be wrong. miran said: I wonder if typing del * in cmd works any faster...
It does. I use the command line for most things in Windows too because the GUI is slow (and that's when it doesn't hang). `del` and `rmdir /s /q` are a lot faster than Windows Explorer. Cygwin is even faster still, but it doesn't work so well with network shares so I don't recommend you interact with those using Cygwin. -- acc.js | al4anim - Allegro 4 Animation library | Allegro 5 VS/NuGet Guide | Allegro.cc Mockup | Allegro.cc <code> Tag | Allegro 4 Timer Example (w/ Semaphores) | Allegro 5 "Winpkg" (MSVC readme) | Bambot | Blog | C++ STL Container Flowchart | Castopulence Software | Check Return Values | Derail? | Is This A Discussion? Flow Chart | Filesystem Hierarchy Standard | Clean Code Talks - Global State and Singletons | How To Use Header Files | GNU/Linux (Debian, Fedora, Gentoo) | rot (rot13, rot47, rotN) | Streaming |
Thomas Fjellstrom
Member #476
June 2000
![]() |
bamccaig said: I'm not a Debian expert, but I think you might be confusing aptitude with something else. AFAIK, aptitude is just another command interface and I don't think it wastes too much time. I was under the impression that it is just a front-end over apt-get and I think it's supposed to be "smarter" when resolving dependencies, etc. I could be wrong. aptitude is indeed smarter. a lot smarter. And it may confuse some people when it's dependency resolution stuff pops up problems. also people might not expect or want it to install "recommended" or "suggested" packages either, but thankfully that bit is optional. If you use sid, you absolutely NEED aptitude though. apt-get is just too dumb to work day to day. -- |
Karadoc ~~
Member #2,749
September 2002
![]() |
I have not had issues with the speed of the Windows GUI, deleting/moving/browsing files, for as long as I remember. So it's somewhat surprising to me that there are a couple of you talking about it. ----------- |
Trezker
Member #1,739
December 2001
![]() |
He mentioned synaptic, which is a graphical package manager. It's not like Ubuntu has removed aptitude or apt-get. And even synaptic isn't aimed for the less technical people. |
Tobias Dammers
Member #2,604
August 2002
![]() |
bamccaig said: I'm not a Debian expert, but I think you might be confusing aptitude with something else. AFAIK, aptitude is just another command interface and I don't think it wastes too much time. I was under the impression that it is just a front-end over apt-get and I think it's supposed to be "smarter" when resolving dependencies, etc. I could be wrong.
OK, I was mainly aiming at synaptic. Aptitude is overkill for my needs right now, but I'd probably use it over synaptic when the need arises. Karadoc ~~ said:
I have not had issues with the speed of the Windows GUI, deleting/moving/browsing files, for as long as I remember. So it's somewhat surprising to me that there are a couple of you talking about it. You should try deleting 20 gigabytes of data spread over 100k files in a folder hierarchy 4 levels deep with 50 folders at the top level over a network share. I'm not making this up, this is a real-world example. --- |
Matthew Leverton
Supreme Loser
January 1999
![]() |
This week was Me vs a bootable software RAID5. I finally prevailed. Now I can finally reinstall Windows 7 on my spare 1TB drives. It's not like I have any reason to boot up into it. I never thought I'd see that day. I think it means I'm officially an old fart. |
Trent Gamblin
Member #261
April 2000
![]() |
It means you're a Linux hippie. /leaves humming "Join us now and share the software, you'll beee freee hackers..."
|
Matthew Leverton
Supreme Loser
January 1999
![]() |
There are plenty of things that I hate about Linux, but I suppose I hate most things about most things. One thing that I really like is that I can reinstall a Linux system and be up and running within 15 minutes. (Super thought: I should export the list of installed packages the next time I reinstall, and then paste that back into one big apt-get install line...) In Windows it's a pain in the butt to reinstall all the software, one slow install wizard at a time. |
Trent Gamblin
Member #261
April 2000
![]() |
That's true. But I never bother reinstalling windows. My Vista box has been running the same vista install for years now. And it's still running perfectly, not slow and bogged down as some people seem to experience with Windows. It's actually my first Windows box, because I used to be a huge Linux zealot after using DOS for a while. It's nice to have Linux around too, though I mainly use it on my server. I don't want to choose between Linux, Windows, and OS X. I want them all (and I have all 3 on my macbook, which is very convenient).
|
MiquelFire
Member #3,110
January 2003
![]() |
The more you uninstall, the slower Windows can get. Also installing crap. That's very easy to do on Windows. --- |
Thomas Fjellstrom
Member #476
June 2000
![]() |
Matthew's statement that he'd like to save a list of installed packages got me thinking. You don't want a list of ALL the installed packages, just the ones that were manually installed (ie: not installed as a pre-requisite to some other package). So I googled and found this little tid-bit: aptitude search '~i!~E' | egrep -v "(i A|id)" | cut -d " " -f 4 That'll list only manually installed packages that aren't about to be removed. If you want to include those too, just change the egrep to `grep -v "i A"`. Tobias Dammers said: . Aptitude is overkill for my needs right now, but I'd probably use it over synaptic when the need arises. Do what I do, and never use aptitude's curses interface. I use the CLI interface. aptitude update aptitude dist-upgrade aptitude install foo Thats about it for most of my uses -- |
Tobias Dammers
Member #2,604
August 2002
![]() |
MiquelFire said: Also installing crap. That's very easy to do on Windows. Yes. Because there's such a metric fuckload of it. Thomas Fjellstrom said: Do what I do, and never use aptitude's curses interface. I use the CLI interface. Dammit, I didn't even know aptitude had a CLI interface. I always assumed it were a curses front-end over apt-get and apt-cache. Silly me. --- |
Thomas Fjellstrom
Member #476
June 2000
![]() |
Tobias Dammers said: Dammit, I didn't even know aptitude had a CLI interface. I always assumed it were a curses front-end over apt-get and apt-cache. Silly me. For a long time, so did I. Once I found it, I was like "hallelujah". It actually re-implements a lot of what apt-get does. But it does what apt-get does, better. At least if you can figure out the conflict resolution prompts. Many times the first option is what you want, but if the first option it gives happens to remove half your system to do it, I suggest doing one of two things: 1. look ahead at the next few possibilities it gives, if you see one that just keeps a few packages as their current version, thats typically the way you want to go. 2. cancel whatever it was you were doing and wait till the problem clears up. -- |
Michael Faerber
Member #4,800
July 2004
![]() |
Matthew Leverton said: One thing that I really like is that I can reinstall a Linux system and be up and running within 15 minutes. (Super thought: I should export the list of installed packages the next time I reinstall, and then paste that back into one big apt-get install line...)
That's what I always do: I have also tried the command Thomas found, but it has the disadvantage of showing all installed packages, possibly leading to unwanted package installations (or incompatibilities) when you try to install the exported package list on a new version of Ubuntu/Debian. Right now I maintain my own package file manually, entering every application into it myself. -- |
Thomas Fjellstrom
Member #476
June 2000
![]() |
Michael Faerber said: I have also tried the command Thomas found, but it has the disadvantage of showing all installed packages It doesn't though. It ONLY shows manually installed packages. -- |
|
|