The new forums will be named Coin Return (based on the most recent vote)! You can check on the status and timeline of the transition to the new forums here.
The Guiding Principles and New Rules document is now in effect.

Linux Thread.

JasconiusJasconius sword criminalmad onlineRegistered User regular
Handy Commands and Shortcuts
Keep in mind that these are only the most basic forms of each command, and that they all have dozens of switches and caveats that enable you to do awesome things with them.

FILE MANIPULATION:

cd <directory> : change current directory to <directory>
ls : list directory contents
ls -a : list directory contents including hidden files
ls -l : list directory contents in detailed list format
mkdir <dirname> : make subdirectory <dirname> (can also specify full directory e.g. mkdir /home/thesquid/giantAngryBear)
rmdir <dirname> : deletes empty subdirectory <dirname>
cp <file> <dest> : copy <file> to <dest>
cp -r <directory> <dest> : copy <directory> and everything inside it to location <dest>
mv <file> <dest> : moves <file> to <dest>
rm <file> : removes (deletes) <file>
rm -r <directory> : removes (deletes) <directory> and everything inside it
chown <user> <file> : change user ownership of <file> to <user>
chgrp <group> <file> : change group ownership of <file> to <group>
chmod XXX <file> : change permissions of <file> to octal number XXX (probably best to 'man' this one)
touch : change file timestamp (and will create an empty file if it doesn't exist)

HANDY TOOLS:

man : gives the manual page on any command including all of these ones (lol man mount)
man -k <string> : gives a list of all man pages with <string> in the title or short description
less : an extremely simple viewer of plaintext files, has regex searching and up/down movement
more : an even simpler viewer than less (now you get the less is more than more gag in bash)
view : a read-only version of vim, so has all the vim commands, but you can't edit the file
vim / emacs / pico / vi / nano : complex text editors that support enormously complicated yet awesome shortcuts, syntax colouring, the whole shebang

SYSTEM STUFF: (you will probably need to be root to take advantage of these)

top : display Linux tasks (equiv. to Task Manager) htop is a widely preferred and more interactive alternative
ifconfig : for configuring network interfaces (setting ip address, activating and deactivating network cards)
iwconfig : for configuring wireless network interfaces
iwlist : getting more info from a wireless network interface (especially seeing wireless networks in range)
route : show / manipulate the IP routing table
dhclient : DHCP client
lshw : list hardware
lspci : list all PCI devices
lsmod : list modules in Linux kernel
modprobe : add / remove <module> from Linux kernel
mount : mount a file system
umount : unmount a file system

USEFUL THINGOES:

wpa_supplicant : for connecting to WPA networks. Requires several reads of the man page, editing of a configuration file by looking at several example files for clarity, and possibly carving arcane symbols into your face.
tar : for making tarballs of a directory / several files
gzip : for compressing said tarball using *.gz
gunzip : for uncompressing a gzipped file
bzip2 : for compressing said tarball using *.bz2
bunzip : for uncompressing a bzipped file
tar xvfz <file> : for uncompressing a *.tar.gz file
tar xvjf <file> : uncormpressing a *tar.bz2 file
date : printing the date and time
ping : to ping
pwd : print out current directory name
killall <process> : kills all processes of name <process>
ps -aux : prints a snapshot of all current running processes
kill <jobid> : kills process of job id <jobid>. <jobid> can be found with ps -aux or top
which : locates a command
Useful techniques:

* Searching for a file based on file name:

e.g. I want to find all the files in the current directory and any subdirectories that start with Photo and end in jpg, such as Photo322.jpg.

Command: find . -iname "Photo*.jpg"

English translation: find, starting in the the current directory (the "." argument), any files that match the name "Photo*.jpg" in a case insensitive fashion (the "-iname") argument.

Notes: It is very important if you are passing wildcards to find that you escape the wildcards by using \ or ". If you do not, then the shell will expand the wildcards on the command line and your command will then be the equivalent of:
find . -iname
    * Doing the same operation on a bunch of files e.g. I want to gzip up each text file in the current directory into their own separate archive Command: for eachFile in *.txt; do gzip "$eachFile"; done English translation: Take the list of files that are returned by *.txt. Go through each of those filenames in the list one by and one, and each time 1.) Assign the current filename to the variable called "eachFile". This can be accessed by $eachFile. 2.) Execute the command between "do" and "done". In this example, it is gzip "$eachFile". Notes: "$eachFile" is enclosed in quotation marks so that any filenames with spaces get passed correctly to gzip. The semi-colons tell the shell that a command is done and to treat anything after the semi-colon as a new command. If you wanted to, you could have the loop do more than one command on a single line, like so: for eachFile in *.txt; do gzip "$eachFile"; mv "$eachFile".gz .. ; done Any more complexity, and you're probably at the stage where you should be writing a script instead of trying to fit it into one line. * Displaying the contents of files/simple manipulation of standard input head [filename] tail [filename] cat [filename] Head will show, by default, the first 10 lines of a file, or if no filename is provided, then standard input. Tail will show, by default, the last 10 lines of a file, or if no filename is provided, then standard input. Useful for looking at log files. cat will dump the entire contents of a file to standard output (typically the screen, but often not). If no filename is provided, then it will basically echo standard input to standard output. This is useful in creating simple files. e.g. I want to create a file called "hello.txt" containing the line "This is a test" cat > hello.txt This is a test Ctrl-D (Ctrl-D signals end-of-file). To *append* something to an existing file: cat >> hello.txt This will be the second line of the file Ctrl-D Note the >>! If you just use >, you will overwrite the file, instead of appending. * Displaying something to screen echo Hello world! The echo command will echo whatever arguments is passed to it back to the standard output. Typically used in scripts to show status reports. Chaining it all together! Let's list the first ten lines of every text file in the current directory and pretty it up with a header. for eachFile in *.txt; do echo "*** Ten lines of $eachFile ***"; head "$eachFile"; done Oh crud, it went by too fast to see it! Hang on - we know that we can use 'less' to view text files for eachFile in *.txt; do echo "*** Ten lines of $eachFile ***"; head "$eachFile"; done | less Tada! (push 'q' to quit from less, by the way). Replace with appropriate options for those times you want to sort mp3 files, or photos, or whatever.

this is a discord of mostly PA people interested in fighting games: https://discord.gg/DZWa97d5rz

we also talk about other random shit and clown upon each other
Jasconius on
«13456763

Posts

  • BarrakkethBarrakketh Registered User regular
    edited June 2008
    Jasconius wrote: »
    So, basically, any good Python IDE's for Linux?

    Look at Pydev for Eclipse. And while it didn't make it in time to be shipped with Ganymede (the next release of Eclipse), there is a plugin for Python in development that will be an official Eclipse project (as part of the DLTK).

    Two other IDEs that I can think of are Eric and SPE (Stani's Python Editor).

    Barrakketh on
    Rollers are red, chargers are blue....omae wa mou shindeiru
  • SilvoculousSilvoculous Registered User regular
    edited June 2008
    You have two major choices when using a Linux for graphics work, and that's either the GIMP or Inkscape. GIMP comes standard with most distros, but normally you'll have to install Inkscape using your distro's package manager. If you browse wallpapers on the various "-look" sites (kde-look, gnome-look, xfce-look), there are quite a few people who gravitate towards Inkscape. .svg is just their preference.

    Silvoculous on
  • theSquidtheSquid Sydney, AustraliaRegistered User regular
    edited June 2008
    Yep. Graphics work = Blender (3D), GIMP (Photoshop equiv.) and Inkscape (vector graphics)

    Eclipse is an awesome IDE with plugins, although with C++ you might want to also consider Code::Blocks.

    Of course, real men use vim, autoconf and automake.

    theSquid on
  • Zilla360Zilla360 21st Century. |She/Her| Trans* Woman In Aviators Firing A Bazooka. ⚛️Registered User regular
    edited June 2008
    Have you considered PASCAL? It's a fairly flexible language, I haven't coded in it for a long time now but it's pretty easy to pick up. :)
    800pxlazarussoftwaresshgt1.png
    http://www.lazarus.freepascal.org/

    Also what distro of Linux are you going with?

    Zilla360 on
  • JasconiusJasconius sword criminal mad onlineRegistered User regular
    edited June 2008
    I started with Fedora but I am having some issues with it (they recently release a new version apparently), so I am still on Windows XP for now.

    For some reason after installing Nvidia drivers the terminal would stop launching.

    So on Monday I will put it on my laptop which doesn't really need Nvidia drivers, and return to my sandbox.

    Jasconius on
    this is a discord of mostly PA people interested in fighting games: https://discord.gg/DZWa97d5rz

    we also talk about other random shit and clown upon each other
  • Epyon9283Epyon9283 Registered User regular
    edited June 2008
    The most recent release of Fedora can't use the closed source nvidia drivers last I checked. Best to use the standard nv driver that comes with xorg.

    Epyon9283 on
  • FremFrem Registered User regular
    edited June 2008
    I'm not a fan of Fedora. They don't seem to have as many packages of Ubuntu, and it's harder to get proprietary drivers working on it. Plus, there was some fuss a while back about backporting Firefox security patches and not using Firefox 2 because it wasn't a big enough jump for them or something? Your choice, though.

    Oh, also, it's worth noting that you're not stuck with GIMP; Photoshop runs fine in Wine.

    Frem on
  • theSquidtheSquid Sydney, AustraliaRegistered User regular
    edited June 2008
    Oh for god's sake, I'm tired of people whining about being stuck with GIMP, or specifically, not having Photoshop. GIMP can do most of the things Photoshop can do (and all of the useful ones), and the UI isn't nearly as horrifying as everyone makes it out to be. It's different, but then again, so is Firefox, and OpenOffice.org. People have survived with both of those quite well in or out of the Linux world.

    Secondly, why Pascal over Python? It's a teaching language that has long since passed its use-by date. Python is popular for a reason.

    theSquid on
  • JohnDoeJohnDoe Registered User regular
    edited June 2008
    theSquid wrote: »
    Oh for god's sake, I'm tired of people whining about being stuck with GIMP, or specifically, not having Photoshop. GIMP can do most of the things Photoshop can do (and all of the useful ones), and the UI isn't nearly as horrifying as everyone makes it out to be. It's different, but then again, so is Firefox, and OpenOffice.org. People have survived with both of those quite well in or out of the Linux world.

    Thats not an accurate comparison at all. Firefoxs UI is virtually identical to IE. OpenOffice is pretty similar to earlier versions of Office. GIMPs UI is completely different to Photoshop, and, in fact, sucks.

    JohnDoe on
  • agoajagoaj Top Tier One FearRegistered User regular
    edited June 2008
    What is the difference between ubuntu and KDE-ubuntu?

    agoaj on
    ujav5b9gwj1s.png
  • Zilla360Zilla360 21st Century. |She/Her| Trans* Woman In Aviators Firing A Bazooka. ⚛️Registered User regular
    edited June 2008
    theSquid wrote: »
    Secondly, why Pascal over Python? It's a teaching language that has long since passed its use-by date. Python is popular for a reason.
    I like Python too. Just suggesting. :)

    Zilla360 on
  • BarrakkethBarrakketh Registered User regular
    edited June 2008
    agoaj wrote: »
    What is the difference between ubuntu and KDE-ubuntu?

    One uses GNOME, the other uses KDE. That also means that the default applications installed will be based on GTK+ or Qt, depending on which one you choose.

    If you decide to switch you could always install the appropriate desktop package:
    • ubuntu-desktop for Ubuntu
    • kubuntu-desktop for Kubuntu
    • xubuntu-desktop for Xubuntu

    Barrakketh on
    Rollers are red, chargers are blue....omae wa mou shindeiru
  • FremFrem Registered User regular
    edited June 2008
    I do a lot of graphic/media work professionally so something that is conducive to that would be great.
    theSquid wrote: »
    Oh for god's sake, I'm tired of people whining about being stuck with GIMP, or specifically, not having Photoshop. GIMP can do most of the things Photoshop can do (and all of the useful ones), and the UI isn't nearly as horrifying as everyone makes it out to be. It's different, but then again, so is Firefox, and OpenOffice.org. People have survived with both of those quite well in or out of the Linux world.

    I wasn't whining, I didn't use the word "stuck" with negative connotations. I use GIMP as my primary image editor myself. However, if he does professional graphics work, there's a high chance that he already owns and knows how to use Photoshop and thus that would be more productive for him. Additionally, GIMP was missing CMYK support (or at least support that didn't require a 3rd party plugin and was as nice as what Photoshop has) last time I checked, which can be a big deal for some kinds of professional design work.

    Finally, The GIMP doesn't have a great interface. It's not horribly awful, but it could be a lot better. The team behind GIMP was working on a redesign of sorts last time I checked. They've got a GUI brainstorming blog, which is actually quite interesting if you like UI design.

    Frem on
  • JasconiusJasconius sword criminal mad onlineRegistered User regular
    edited June 2008
    Yeah well I already have Photoshop CS3 but I hear the WINE support is shaky for CS3 across the board. I intend to dual boot for that reason.

    Actually when I said graphics/media I work I meant on the programming side of things, dynamic image generation, manipulation, streaming video, etc.

    Jasconius on
    this is a discord of mostly PA people interested in fighting games: https://discord.gg/DZWa97d5rz

    we also talk about other random shit and clown upon each other
  • agoajagoaj Top Tier One FearRegistered User regular
    edited June 2008
    Barrakketh wrote: »
    agoaj wrote: »
    What is the difference between ubuntu and KDE-ubuntu?

    One uses GNOME, the other uses KDE. That also means that the default applications installed will be based on GTK+ or Qt, depending on which one you choose.

    If you decide to switch you could always install the appropriate desktop package:
    • ubuntu-desktop for Ubuntu
    • kubuntu-desktop for Kubuntu
    • xubuntu-desktop for Xubuntu

    Whats the difference from GNOME and KDE? Are applications limited between them?

    agoaj on
    ujav5b9gwj1s.png
  • saggiosaggio Registered User regular
    edited June 2008
    agoaj wrote: »
    Barrakketh wrote: »
    agoaj wrote: »
    What is the difference between ubuntu and KDE-ubuntu?

    One uses GNOME, the other uses KDE. That also means that the default applications installed will be based on GTK+ or Qt, depending on which one you choose.

    If you decide to switch you could always install the appropriate desktop package:
    • ubuntu-desktop for Ubuntu
    • kubuntu-desktop for Kubuntu
    • xubuntu-desktop for Xubuntu

    Whats the difference from GNOME and KDE? Are applications limited between them?

    The difference is that KDE is better. :P

    GNOME uses the GTK+ library to build its applications on, while KDE uses the Qt library. They also have differing design philosophies, with GNOME looking to limit the amount of options and make things as simple as possible, while KDE has traditionally strived to give a plethora of options. That's changed a bit with KDE4, which is really freakin' exciting, but is still a fair comment when comparing it to GNOME.

    I think the deciding factor is native applications. At least, it was for me. But you can run GTK+ apps in KDE and vice versa with Qt apps and GNOME, so if you really like Amarok but want to use GNOME, you can.

    saggio on
    3DS: 0232-9436-6893
  • Zilla360Zilla360 21st Century. |She/Her| Trans* Woman In Aviators Firing A Bazooka. ⚛️Registered User regular
    edited June 2008
    Gnome = Mac OS X philosophy. Difficult to configure due to being accused of over-simplification.
    KDE = Windows? Absolutely EVERYTHING is configurable via the GUI, much more 'complex'.
    XFCE = BeOS/OS X? Very lightweight GUI, great for older systems or if you just use X to run multiple BASH windows.

    Those are the main three, but many more are available.

    Zilla360 on
  • agoajagoaj Top Tier One FearRegistered User regular
    edited June 2008
    And what about application support? Do apps have to support Gnome/KDE in order for it to work at all?

    agoaj on
    ujav5b9gwj1s.png
  • PapillonPapillon Registered User regular
    edited June 2008
    You might want to try vmware instead of dual booting. Of course, you're not going to get quite the same performance, but it's still very good. VMWare Server is free, and despite the name it seems to have a similar GUI to other versions of VMWare I've used. VMWare also runs on both Linux and Windows, so you can use either as your main OS.

    As far as IDE's, the only IDE I ever use is emacs.

    Papillon on
  • Zilla360Zilla360 21st Century. |She/Her| Trans* Woman In Aviators Firing A Bazooka. ⚛️Registered User regular
    edited June 2008
    agoaj wrote: »
    Do apps have to support Gnome/KDE in order for it to work at all?
    No. As long as you have the appropriate (QT/GTK+, many more) libraries.

    Zilla360 on
  • BarrakkethBarrakketh Registered User regular
    edited June 2008
    Zilla360 wrote: »
    agoaj wrote: »
    Do apps have to support Gnome/KDE in order for it to work at all?
    No. As long as you have the appropriate (QT/GTK+, many more) libraries.

    An addendum to that is that some applications may use libraries provided by a desktop environment in addition to whatever toolkit (Qt/GTK+) is used. It's usually something minor that the end user doesn't need to worry about, but there may be certain amenities that a developer wants to take advantage of that may use it. A couple of examples include gconf, which is sort of like an XML-based registry (you can edit the configuration with a text editor if you like) that is part of GNOME, and the KDE file dialog that is like the Qt file dialog but has a section that includes folder bookmarks (so you're only one click away from your porn).

    Nothing that the user has to worry about, because if a KDE user installed a GTK+ application that uses a little piece of GNOME the package manager will download and install it for you.

    Barrakketh on
    Rollers are red, chargers are blue....omae wa mou shindeiru
  • JasconiusJasconius sword criminal mad onlineRegistered User regular
    edited June 2008
    Does anyone have any experience with getting Linux working with Verizon FiOS routers?

    I've tried both Ubuntu and Fedora, but while the wireless network is detected, when I submit my WEP key it always fails to connect.

    If I walk my laptop over the router and plug it in via CAT5 then it works fine.

    Unacceptable.

    Jasconius on
    this is a discord of mostly PA people interested in fighting games: https://discord.gg/DZWa97d5rz

    we also talk about other random shit and clown upon each other
  • theSquidtheSquid Sydney, AustraliaRegistered User regular
    edited June 2008
    Linus Torvalds himself gives a thumbs up to KDE, since it's essentially a pure GUI form of any given terminal command - with mouse buttons and menus you can do everything you can with a terminal. The downside is it takes up more memory and CPU than any other window manager. Knowing that, however, they do try to make it glossier than the others. KDE4 is particularly glossy, but I wouldn't use it until it's out of beta.

    GNOME is simplistic and the Ubuntu default. The GUI handles what 99% of regular users would need (most likely including yourself, yes you, Mr. Power User) but its a bit ugly and doesn't have that perfect console->GUI translation, which is why Linux purists hate it. Setting religion aside, though, it's quite adequate.

    XFCE is like a lightweight version of GNOME. There's a slightly higher chance you might need the terminal, and some panel and desktop options missing that you might wish were there for conveniences sake, but otherwise the differences are negligible and XFCE provides an awesome CPU and memory boost.

    GNOME apps work perfectly on KDE and XFCE and vice versa. It's a matter of libraries. The only difference is when you load up a KDE app on GNOME and vice versa it goes to the trouble of loading up all the KDE libs into memory, thus creating a slight boot up pause and an overall increase in memory usage, but when all that's done there's no performance decrease at all. There is a noticeable UI inconsistency though, although barring severe OCD I think we can all live with that.

    Of course, there's e17 if you're a nutjob, which is awesome in its own special way. I keep trying it and regretting it later, mostly because it's almost impossible to use without ending up loading all the memory and CPU intensive GNOME/KDE libraries anyway, thus defeating the purpose of e17.

    theSquid on
  • theSquidtheSquid Sydney, AustraliaRegistered User regular
    edited June 2008
    Papillon wrote: »
    As far as IDE's, the only IDE I ever use is emacs.

    Die in a hole you emacs freak. Vim forevaaaaaa!!!!11
    j/k

    theSquid on
  • bowenbowen Sup? Registered User regular
    edited June 2008
    Jasconius wrote: »
    Does anyone have any experience with getting Linux working with Verizon FiOS routers?

    I've tried both Ubuntu and Fedora, but while the wireless network is detected, when I submit my WEP key it always fails to connect.

    If I walk my laptop over the router and plug it in via CAT5 then it works fine.

    Unacceptable.

    Some wireless cards aren't very nice with Linux. Since it detects the network, I suspect you're fine.

    However, are you sure it's WEP and not WPA? And if you find out which type of key it is, are you sure you have it correctly set up on the Linux side as the appropriate key type?

    bowen on
    not a doctor, not a lawyer, examples I use may not be fully researched so don't take out of context plz, don't @ me
  • bowenbowen Sup? Registered User regular
    edited June 2008
    theSquid wrote: »
    Papillon wrote: »
    As far as IDE's, the only IDE I ever use is emacs.

    Die in a hole you emacs freak. Vim forevaaaaaa!!!!11
    j/k
    Pico/Nano

    Yeah, I went there.

    bowen on
    not a doctor, not a lawyer, examples I use may not be fully researched so don't take out of context plz, don't @ me
  • iTunesIsEviliTunesIsEvil Cornfield? Cornfield.Registered User regular
    edited June 2008
    Guys, if possible, please recommend me a distro. I'm leaning toward K/ubuntu at the moment (K because I prefer KDE to GNOME). I'm a Windows desktop developer, but I do most of that in BootCamp on my Macbook now so my main desktop machine at home isn't doing much.

    Specs: AMD Athlon 64 3200+ (not X2), 1GB DDR, Nvida Fx5200 (Ive got a console for gaming).

    What I want do with that machine: browse el web, watch movies (WMV,AVI,MP4), encode movies (Handbrake CLI hopefully), torrenting, remotely access it (RDP-esque, VNC?)... and that's about it right now.

    Other random questions:
    My main storage drive in the machine is an NTFS formatted drive, so how is NTFS support in Linux these days? I know that reading hasn't been a problem for quite a while now, but what about writing to NTFS? Is that stable yet?

    Is there any notable/noticeable performance difference between KDE & GNOME?

    I know it's not very tough to get the machine to boot into a console-mode instead of a desktop/gui-mode, but do most distros support what I think are reffered to as frame buffered consoles? For instance: Gentoo I know will do the frame buffered console with a really nice resolution and even a little picture of Tux at the top. Can/will K/ubuntu do this?

    I'll probably have more questions. It's been a while since I've looked at *nix for more than just a storage server... thanks a bunch for any help guys! :)

    iTunesIsEvil on
  • theSquidtheSquid Sydney, AustraliaRegistered User regular
    edited June 2008
    I know for stable Ubuntu:

    It comes default with Firefox 3, Totem for movies (it's astoundingly easy to download the appropriate codecs for it, or you can just download VLC or MPlayer and bypass all that), don't know about encoding movies, for torrenting it comes with Transmission, which isn't too great, but you can install Azureus on it, and as for remote-access, well, for simple console stuff there's ssh and scp, for VNC type stuff Ubuntu comes default with Vinagre.

    And NTFS pretty much works fine nowadays. They've cracked it. Wouldn't use it for business, but I've never had a problem shuttling movies, music and ISOs back and forth between my Windows and Linux partitions (back in the day when I bothered with Win)

    KDE is supposed to be a bit more CPU and memory intensive than GNOME, but not by too much. They're still the two big heavy hitters in Linux window management. Of course, once Compiz/Beryl effects are on their differences become somewhat moot in comparison.

    And of course you can get frame buffers working with Ubuntu. It's all Linux at the end of the day. Perhaps it has a different installation method, but at the end of the day, you can get a console frame buffer such as uvesafb working on any distro at all.

    theSquid on
  • JaninJanin Registered User regular
    edited June 2008
    agoaj wrote: »
    Whats the difference from GNOME and KDE? Are applications limited between them?

    The main difference is in philosophy regarding advanced features. GNOME goes by "if you know how to use it, you'll know where to find it". This is analogous to Firefox, where the basics are in the preferences, but you can also use about:config for specific settings. KDE tends to expose everything through the main GUI, sometimes with separate preference dialogs depending on what you're changing.

    If you're coming from Windows, KDE will feel more familiar. If you're from OS X, GNOME probably will.
    anxx06.png

    sdhc2u.jpg

    Janin on
    [SIGPIC][/SIGPIC]
  • FremFrem Registered User regular
    edited June 2008
    theSquid wrote: »
    KDE is supposed to be a bit more CPU and memory intensive than GNOME, but not by too much.
    Ah, no. KDE has pretty much always been more lightweight than Gnome.

    This being said, I prefer Gnome. KDE just has so many stupid design decisions. They don't even have decent Human Interface Guidelines like Gnome, Windows, OS X, etc.

    The images Janin posted pretty much sum it up. If there's something you want to change in KDE, you can. Period. The option is probably buried in a huge, scrolling, multi-paned control panel someplace, but it's there. My issue with it is that I hate the defaults, and can't be bothered to mess with it until it behaves like Gnome.

    XFCE and Gnome really aren't anywhere close to each other, aside from using the GTK+ toolkit.

    GTK+ has a really nifty feature where you can just start typing in the file manager, and a little box will appear in the lower right-hand corner of the window showing what you typed as it jumps around selecting the file name you're typing. Windows, OS X, and QT (KDE) do almost the exact same thing, but without the little box. It sounds stupid, but the little box feature is pretty much the best thing ever, and I'm not switching to KDE until they have it implanted.

    Gnome's file manager can access SAMBA, FTP, WebDAV, and a bunch of other networked filesystem type things, while XFCE's file manager can pretty much only access them if you've done it the hard way and set it all up through the command line.

    XFCE's window manager is a lot more flexible and supports things like rolling up windows and dragging windows between desktops. Gnome has a better panel that supports reorganizing windows in the tray.

    Gnome is one of the easiest desktops to theme. You download a theme package, then drag and drop it onto the appearance control pane to install it. In XFCE, you have to manually extract the theme, then copy it's folder to "~/.themes"

    Also, you can't edit the automatically generated system menus in XFCE, but you can in Gnome. It's weird.


    Just install them all. There's nothing preventing you from just changing sessions, and you can uninstall
    KDE after you realize that Gnome is superior.
    the environments you don't like.

    Frem on
  • Zilla360Zilla360 21st Century. |She/Her| Trans* Woman In Aviators Firing A Bazooka. ⚛️Registered User regular
    edited June 2008
    bowen wrote: »
    Jasconius wrote: »
    Does anyone have any experience with getting Linux working with Verizon FiOS routers?

    I've tried both Ubuntu and Fedora, but while the wireless network is detected, when I submit my WEP key it always fails to connect.

    If I walk my laptop over the router and plug it in via CAT5 then it works fine.

    Unacceptable.

    Some wireless cards aren't very nice with Linux. Since it detects the network, I suspect you're fine.

    However, are you sure it's WEP and not WPA? And if you find out which type of key it is, are you sure you have it correctly set up on the Linux side as the appropriate key type?
    Either you're doing something wrong regards to WEP/WPA keys or your wireless chipset isn't supported.

    I can't help you without knowing the wireless chipset (make and model) of your laptop.

    Zilla360 on
  • DaedalusDaedalus Registered User regular
    edited June 2008
    Frem wrote: »
    XFCE's window manager is a lot more flexible and supports things like rolling up windows and dragging windows between desktops. Gnome has a better panel that supports reorganizing windows in the tray.

    For years I ran Gnome with XFWM replacing Metacity (which is a piece of shit) for this very reason. I still do it on the computer that's not good enough for Compiz.

    Linux is wonderfully configurable.

    Daedalus on
  • Dance CommanderDance Commander Registered User regular
    edited June 2008
    So I work at as a windows consultant at my university's IT helpdesk. I want to learn how to use linux, but I don't have the willpower to do it on my desktop when windows is sitting right there (for games). So my plan is to buy a cheap UMPC later this summer, and put Ubuntu or possibly Xubuntu on it depending on performance and power consumption.
    Anyway, I found a nice, albeit unwieldy, tutorial on making a USB key into an Ubuntu installer, so I'm pretty sure I can get my system all squared away.
    Now I'm thinking that I'd also like to use the thing as a diagnostic tool at work. One obvious thing would be to use ClamAV to scan removable media, since we occasionally have users who need to backup data from a virus ridden machine and this would allow me to scrub the files they back up. Any other neat uses? I'm also thinking I might keep an Ubuntu boot CD on hand to virus scan hosed windows boxes.

    Dance Commander on
  • saggiosaggio Registered User regular
    edited June 2008
    So I work at as a windows consultant at my university's IT helpdesk. I want to learn how to use linux, but I don't have the willpower to do it on my desktop when windows is sitting right there (for games). So my plan is to buy a cheap UMPC later this summer, and put Ubuntu or possibly Xubuntu on it depending on performance and power consumption.
    Anyway, I found a nice, albeit unwieldy, tutorial on making a USB key into an Ubuntu installer, so I'm pretty sure I can get my system all squared away.
    Now I'm thinking that I'd also like to use the thing as a diagnostic tool at work. One obvious thing would be to use ClamAV to scan removable media, since we occasionally have users who need to backup data from a virus ridden machine and this would allow me to scrub the files they back up. Any other neat uses? I'm also thinking I might keep an Ubuntu boot CD on hand to virus scan hosed windows boxes.

    Speaking from experience, you won't really that much unless you are forced to use Linux for every day things. Then you will have to figure out how to configure things, maintain them, and keep them stable so that you can go about your daily business. I dual booted ages ago Windows and RedHat 7.3, and I didn't learn a damn thing until I jumped over to Gentoo and Debian. When I was forced to do things by hand.

    It sucked at the time, because I didn't know hardly anything at all. But the upside is that I don't need a GUI anymore to do all the things I do daily. Now, I do use KDE at the moment for convenience's sake, and also because amarok is awesome, but if X suddenly dies I can get by just fine on the terminal.

    Also, the first thing you should do is learn the UNIX file structure. Figure out what the hell is in /, /bin, /src, /etc and all that - I still have to go and look from time to time because I never use the terminal anymore for everything. But once you know how the file structure works, things will become infinitely easier.

    saggio on
    3DS: 0232-9436-6893
  • Zilla360Zilla360 21st Century. |She/Her| Trans* Woman In Aviators Firing A Bazooka. ⚛️Registered User regular
    edited June 2008
    saggio wrote: »
    So I work at as a windows consultant at my university's IT helpdesk. I want to learn how to use linux, but I don't have the willpower to do it on my desktop when windows is sitting right there (for games). So my plan is to buy a cheap UMPC later this summer, and put Ubuntu or possibly Xubuntu on it depending on performance and power consumption.
    Anyway, I found a nice, albeit unwieldy, tutorial on making a USB key into an Ubuntu installer, so I'm pretty sure I can get my system all squared away.
    Now I'm thinking that I'd also like to use the thing as a diagnostic tool at work. One obvious thing would be to use ClamAV to scan removable media, since we occasionally have users who need to backup data from a virus ridden machine and this would allow me to scrub the files they back up. Any other neat uses? I'm also thinking I might keep an Ubuntu boot CD on hand to virus scan hosed windows boxes.

    Speaking from experience, you won't really that much unless you are forced to use Linux for every day things. Then you will have to figure out how to configure things, maintain them, and keep them stable so that you can go about your daily business. I dual booted ages ago Windows and RedHat 7.3, and I didn't learn a damn thing until I jumped over to Gentoo and Debian. When I was forced to do things by hand.

    It sucked at the time, because I didn't know hardly anything at all. But the upside is that I don't need a GUI anymore to do all the things I do daily. Now, I do use KDE at the moment for convenience's sake, and also because amarok is awesome, but if X suddenly dies I can get by just fine on the terminal.

    Also, the first thing you should do is learn the UNIX file structure. Figure out what the hell is in /, /bin, /src, /etc and all that - I still have to go and look from time to time because I never use the terminal anymore for everything. But once you know how the file structure works, things will become infinitely easier.
    http://www.cs.umd.edu/class/fall2002/cmsc107/file.system.htm
    Get's dem lernin's in.
    File System Layout

    Like MS-DOS and most operating systems, Unix uses a set of subdirectories
    for organization. To help keep some logical order, many system directories
    exist, each with a name that implies what is held there. Knowing the layout
    of a Unix system helps navigate the system, find the required binaries, etc.
    For the most part, these directories will remain fairly consistant among
    all flavors of unix. Directories like /bin, /etc/, and /sbin are
    guaranteed to be found on all flavors. If not, the admin messed up something
    during install or some new company has a wierd idea of what unix is ;)

    /bin (binaries) - essential system binaries
    ls, cp, mv, chmod, cat, kill, gzip, and more

    /sbin (system binaries) - system binaries, daemons, and
    administrative programs.
    fsck, mount, umount, adduser, shutdown, route, and more

    /dev (devices) - device files represent physical and logical devices
    on a unix system. Having files that represents physical devices
    allows for more flexible manipulation and easier notation.
    (the following designations are mostly found on linux unless otherwise
    specified.)

    Examples of input/output devices on Linux.

    crw-rw-rw- 1 root sys 14, 4 Jul 18 1994 /dev/audio
    lrwxrwxrwx 1 root hide 4 Oct 29 1998 /dev/mouse -> cua0

    Examples of different drive devices on linux. hda1 designated an
    IDE drive, fd1 a floppy, and sda a SCSI drive.

    brw-rw---- 1 root floppy 2, 1 May 14 1996 /dev/fd1
    brw-r
    1 root disk 3, 1 Apr 27 1995 /dev/hda1
    brw-r
    1 root disk 8, 0 Apr 29 1995 /dev/sda

    Examples of different drive devices on NetBSD.

    brw-r
    1 root operator 4, 0 Jul 31 17:03 /dev/sd0a
    brw-r
    1 root operator 4, 1 Aug 1 13:41 /dev/sd0b
    brw-r
    1 root operator 0, 0 Jul 31 17:03 /dev/wd0a
    brw-r
    1 root operator 0, 1 Jul 31 17:03 /dev/wd0b

    Examples of different drive devices on Solaris.

    brw-r
    1 root sys 32, 14 Aug 4 11:51
    ../../devices/iommu@f,e0000000/sbus@f,e0001000/espdma@f,400000/esp@f,800000/sd@1,0:g

    (ugly eh? :)

    Examples of virtual consoles (consoles at the physical machine)

    crw--w--w- 1 root root 4, 1 Aug 2 11:16 /dev/tty1
    crw--w--w- 1 root root 4, 2 Jul 31 15:40 /dev/tty2

    Examples of pseudo terminals. If you access the machine remotely, you
    are allocated a pseudo terminal.

    crw-rw-rw- 1 root tty 2, 177 Aug 4 20:18 /dev/ptya1
    crw-rw-rw- 1 root tty 2, 197 May 20 1996 /dev/ptyb5

    Examples of serial ports on a Linux system. These correspond with
    COM1, COM2 etc in MSDOS.

    crw-rw---- 1 root 14 5, 65 Jul 17 1994 /dev/cua1
    crw-rw---- 1 root tty 4, 64 Jul 17 1994 /dev/ttyS0

    Examples of printers under Linux.

    crw-rw---- 1 root daemon 6, 1 Apr 27 1995 /dev/lp1
    crw-rw---- 1 root daemon 6, 2 Apr 27 1995 /dev/lp2

    "devnull" is a virtual device for 'nothing'. Anything sent to this
    device will disappear. This often good for redirecting error output,
    or anything else you don't want to see.

    crw-rw-rw- 1 root sys 1, 3 Jul 17 1994 /dev/null

    Devices are a funny thing. As time progresses, their use and
    importance will become more and more clear.

    /etc Contains many system configuration files.

    /etc/passwd - essential user information including user name,
    user id, group id, home directory, and shell

    /etc/shadow - encrypted password, account expiration information

    /etc/group - user/group information

    'rc' files - system startup/shutdown scripts

    /etc/security/ - some unix flavors use this to store files
    relating to system security

    /home (home directories) - where users store their files and do daily
    activity from. for the average user, this will be the most
    important directory they use

    /lib (libraries) - shared library images. Many programs rely on
    these. Libraries have common routines that can be used by
    many programs. Instead of creating new libraries for every
    single application, they share these. Unix library files are
    akin to Windows .dll files.

    /proc (processes) - 'proc' is a virtual file system. Files here
    are stored in memory, not on the drive. A user or admin
    can get information on programs running through the proc files.

    /tmp (temporary) - Many programs (and users) utilize this directory
    for writing files while running and remove them when done. Users
    with a quota (or limit on their disk space) can access this space
    for temporary storage. Beware! Admins like to delete stuff here
    when running low on diskspace. On some systems, this directory
    is completely erased during bootup.

    /var (various) - mostly system subdirectories that used to reside
    in the /usr directory but have since been broken out to here.

    /var/adm - linked to /var/log in linux, 'adm' notation is used
    in other flavors of unix.

    /var/log - system logs that record user and system activity.
    Logs keep track of connections to the system, daemon
    activity, file transfers, mail, and more.

    /var/spool - spool dir contains incoming mail, outgoing mail,
    cron jobs, and more.

    /var/man - various manual pages on system binaries

    /usr (user) - Contains a wide variety of subdirectories full of user and
    administrative tools

    /usr/X11R6 - The X-Windows subdirectory - all X-Win programs and
    config files

    /usr/sbin - much like /sbin, a bulk of system admin programs are
    located here

    /usr/bin - much like /bin, this contains the bulk of the unix
    programs not found in other places

    /usr/etc - more configuration files for system utilities
    and programs

    /usr/include - 'include' files for the C compiler - primarily
    used for system programmers

    /usr/lib - more shared libraries for system applications

    /usr/man - more manual pages for system tools

    /usr/local - files not essential to the system or users, but
    often the home of many extra utilities that give
    the system a lot of its functionality. Programs
    like 'ssh' and 'pgp' are typically installed here
    by default.

    Zilla360 on
  • Zilla360Zilla360 21st Century. |She/Her| Trans* Woman In Aviators Firing A Bazooka. ⚛️Registered User regular
    edited June 2008
    Now I'm thinking that I'd also like to use the thing as a diagnostic tool at work. One obvious thing would be to use ClamAV to scan removable media, since we occasionally have users who need to backup data from a virus ridden machine and this would allow me to scrub the files they back up. Any other neat uses? I'm also thinking I might keep an Ubuntu boot CD on hand to virus scan hosed windows boxes.
    There are lot's of great distributions that focus on this very task.

    Zilla360 on
  • saggiosaggio Registered User regular
    edited June 2008
    Zilla360 wrote: »
    saggio wrote: »
    So I work at as a windows consultant at my university's IT helpdesk. I want to learn how to use linux, but I don't have the willpower to do it on my desktop when windows is sitting right there (for games). So my plan is to buy a cheap UMPC later this summer, and put Ubuntu or possibly Xubuntu on it depending on performance and power consumption.
    Anyway, I found a nice, albeit unwieldy, tutorial on making a USB key into an Ubuntu installer, so I'm pretty sure I can get my system all squared away.
    Now I'm thinking that I'd also like to use the thing as a diagnostic tool at work. One obvious thing would be to use ClamAV to scan removable media, since we occasionally have users who need to backup data from a virus ridden machine and this would allow me to scrub the files they back up. Any other neat uses? I'm also thinking I might keep an Ubuntu boot CD on hand to virus scan hosed windows boxes.

    Speaking from experience, you won't really that much unless you are forced to use Linux for every day things. Then you will have to figure out how to configure things, maintain them, and keep them stable so that you can go about your daily business. I dual booted ages ago Windows and RedHat 7.3, and I didn't learn a damn thing until I jumped over to Gentoo and Debian. When I was forced to do things by hand.

    It sucked at the time, because I didn't know hardly anything at all. But the upside is that I don't need a GUI anymore to do all the things I do daily. Now, I do use KDE at the moment for convenience's sake, and also because amarok is awesome, but if X suddenly dies I can get by just fine on the terminal.

    Also, the first thing you should do is learn the UNIX file structure. Figure out what the hell is in /, /bin, /src, /etc and all that - I still have to go and look from time to time because I never use the terminal anymore for everything. But once you know how the file structure works, things will become infinitely easier.
    http://www.cs.umd.edu/class/fall2002/cmsc107/file.system.htm
    Get's dem lernin's in.
    File System Layout

    Like MS-DOS and most operating systems, Unix uses a set of subdirectories
    for organization. To help keep some logical order, many system directories
    exist, each with a name that implies what is held there. Knowing the layout
    of a Unix system helps navigate the system, find the required binaries, etc.
    For the most part, these directories will remain fairly consistant among
    all flavors of unix. Directories like /bin, /etc/, and /sbin are
    guaranteed to be found on all flavors. If not, the admin messed up something
    during install or some new company has a wierd idea of what unix is ;)

    /bin (binaries) - essential system binaries
    ls, cp, mv, chmod, cat, kill, gzip, and more

    /sbin (system binaries) - system binaries, daemons, and
    administrative programs.
    fsck, mount, umount, adduser, shutdown, route, and more

    /dev (devices) - device files represent physical and logical devices
    on a unix system. Having files that represents physical devices
    allows for more flexible manipulation and easier notation.
    (the following designations are mostly found on linux unless otherwise
    specified.)

    Examples of input/output devices on Linux.

    crw-rw-rw- 1 root sys 14, 4 Jul 18 1994 /dev/audio
    lrwxrwxrwx 1 root hide 4 Oct 29 1998 /dev/mouse -> cua0

    Examples of different drive devices on linux. hda1 designated an
    IDE drive, fd1 a floppy, and sda a SCSI drive.

    brw-rw---- 1 root floppy 2, 1 May 14 1996 /dev/fd1
    brw-r
    1 root disk 3, 1 Apr 27 1995 /dev/hda1
    brw-r
    1 root disk 8, 0 Apr 29 1995 /dev/sda

    Examples of different drive devices on NetBSD.

    brw-r
    1 root operator 4, 0 Jul 31 17:03 /dev/sd0a
    brw-r
    1 root operator 4, 1 Aug 1 13:41 /dev/sd0b
    brw-r
    1 root operator 0, 0 Jul 31 17:03 /dev/wd0a
    brw-r
    1 root operator 0, 1 Jul 31 17:03 /dev/wd0b

    Examples of different drive devices on Solaris.

    brw-r
    1 root sys 32, 14 Aug 4 11:51
    ../../devices/iommu@f,e0000000/sbus@f,e0001000/espdma@f,400000/esp@f,800000/sd@1,0:g

    (ugly eh? :)

    Examples of virtual consoles (consoles at the physical machine)

    crw--w--w- 1 root root 4, 1 Aug 2 11:16 /dev/tty1
    crw--w--w- 1 root root 4, 2 Jul 31 15:40 /dev/tty2

    Examples of pseudo terminals. If you access the machine remotely, you
    are allocated a pseudo terminal.

    crw-rw-rw- 1 root tty 2, 177 Aug 4 20:18 /dev/ptya1
    crw-rw-rw- 1 root tty 2, 197 May 20 1996 /dev/ptyb5

    Examples of serial ports on a Linux system. These correspond with
    COM1, COM2 etc in MSDOS.

    crw-rw---- 1 root 14 5, 65 Jul 17 1994 /dev/cua1
    crw-rw---- 1 root tty 4, 64 Jul 17 1994 /dev/ttyS0

    Examples of printers under Linux.

    crw-rw---- 1 root daemon 6, 1 Apr 27 1995 /dev/lp1
    crw-rw---- 1 root daemon 6, 2 Apr 27 1995 /dev/lp2

    "devnull" is a virtual device for 'nothing'. Anything sent to this
    device will disappear. This often good for redirecting error output,
    or anything else you don't want to see.

    crw-rw-rw- 1 root sys 1, 3 Jul 17 1994 /dev/null

    Devices are a funny thing. As time progresses, their use and
    importance will become more and more clear.

    /etc Contains many system configuration files.

    /etc/passwd - essential user information including user name,
    user id, group id, home directory, and shell

    /etc/shadow - encrypted password, account expiration information

    /etc/group - user/group information

    'rc' files - system startup/shutdown scripts

    /etc/security/ - some unix flavors use this to store files
    relating to system security

    /home (home directories) - where users store their files and do daily
    activity from. for the average user, this will be the most
    important directory they use

    /lib (libraries) - shared library images. Many programs rely on
    these. Libraries have common routines that can be used by
    many programs. Instead of creating new libraries for every
    single application, they share these. Unix library files are
    akin to Windows .dll files.

    /proc (processes) - 'proc' is a virtual file system. Files here
    are stored in memory, not on the drive. A user or admin
    can get information on programs running through the proc files.

    /tmp (temporary) - Many programs (and users) utilize this directory
    for writing files while running and remove them when done. Users
    with a quota (or limit on their disk space) can access this space
    for temporary storage. Beware! Admins like to delete stuff here
    when running low on diskspace. On some systems, this directory
    is completely erased during bootup.

    /var (various) - mostly system subdirectories that used to reside
    in the /usr directory but have since been broken out to here.

    /var/adm - linked to /var/log in linux, 'adm' notation is used
    in other flavors of unix.

    /var/log - system logs that record user and system activity.
    Logs keep track of connections to the system, daemon
    activity, file transfers, mail, and more.

    /var/spool - spool dir contains incoming mail, outgoing mail,
    cron jobs, and more.

    /var/man - various manual pages on system binaries

    /usr (user) - Contains a wide variety of subdirectories full of user and
    administrative tools

    /usr/X11R6 - The X-Windows subdirectory - all X-Win programs and
    config files

    /usr/sbin - much like /sbin, a bulk of system admin programs are
    located here

    /usr/bin - much like /bin, this contains the bulk of the unix
    programs not found in other places

    /usr/etc - more configuration files for system utilities
    and programs

    /usr/include - 'include' files for the C compiler - primarily
    used for system programmers

    /usr/lib - more shared libraries for system applications

    /usr/man - more manual pages for system tools

    /usr/local - files not essential to the system or users, but
    often the home of many extra utilities that give
    the system a lot of its functionality. Programs
    like 'ssh' and 'pgp' are typically installed here
    by default.

    That's an excellent link. Thanks for posting that.

    OP, read that link.

    saggio on
    3DS: 0232-9436-6893
  • DaedalusDaedalus Registered User regular
    edited June 2008
    saggio wrote: »
    Zilla360 wrote: »
    saggio wrote: »
    So I work at as a windows consultant at my university's IT helpdesk. I want to learn how to use linux, but I don't have the willpower to do it on my desktop when windows is sitting right there (for games). So my plan is to buy a cheap UMPC later this summer, and put Ubuntu or possibly Xubuntu on it depending on performance and power consumption.
    Anyway, I found a nice, albeit unwieldy, tutorial on making a USB key into an Ubuntu installer, so I'm pretty sure I can get my system all squared away.
    Now I'm thinking that I'd also like to use the thing as a diagnostic tool at work. One obvious thing would be to use ClamAV to scan removable media, since we occasionally have users who need to backup data from a virus ridden machine and this would allow me to scrub the files they back up. Any other neat uses? I'm also thinking I might keep an Ubuntu boot CD on hand to virus scan hosed windows boxes.

    Speaking from experience, you won't really that much unless you are forced to use Linux for every day things. Then you will have to figure out how to configure things, maintain them, and keep them stable so that you can go about your daily business. I dual booted ages ago Windows and RedHat 7.3, and I didn't learn a damn thing until I jumped over to Gentoo and Debian. When I was forced to do things by hand.

    It sucked at the time, because I didn't know hardly anything at all. But the upside is that I don't need a GUI anymore to do all the things I do daily. Now, I do use KDE at the moment for convenience's sake, and also because amarok is awesome, but if X suddenly dies I can get by just fine on the terminal.

    Also, the first thing you should do is learn the UNIX file structure. Figure out what the hell is in /, /bin, /src, /etc and all that - I still have to go and look from time to time because I never use the terminal anymore for everything. But once you know how the file structure works, things will become infinitely easier.
    http://www.cs.umd.edu/class/fall2002/cmsc107/file.system.htm
    Get's dem lernin's in.
    File System Layout

    Like MS-DOS and most operating systems, Unix uses a set of subdirectories
    for organization. To help keep some logical order, many system directories
    exist, each with a name that implies what is held there. Knowing the layout
    of a Unix system helps navigate the system, find the required binaries, etc.
    For the most part, these directories will remain fairly consistant among
    all flavors of unix. Directories like /bin, /etc/, and /sbin are
    guaranteed to be found on all flavors. If not, the admin messed up something
    during install or some new company has a wierd idea of what unix is ;)

    /bin (binaries) - essential system binaries
    ls, cp, mv, chmod, cat, kill, gzip, and more

    /sbin (system binaries) - system binaries, daemons, and
    administrative programs.
    fsck, mount, umount, adduser, shutdown, route, and more

    /dev (devices) - device files represent physical and logical devices
    on a unix system. Having files that represents physical devices
    allows for more flexible manipulation and easier notation.
    (the following designations are mostly found on linux unless otherwise
    specified.)

    Examples of input/output devices on Linux.

    crw-rw-rw- 1 root sys 14, 4 Jul 18 1994 /dev/audio
    lrwxrwxrwx 1 root hide 4 Oct 29 1998 /dev/mouse -> cua0

    Examples of different drive devices on linux. hda1 designated an
    IDE drive, fd1 a floppy, and sda a SCSI drive.

    brw-rw---- 1 root floppy 2, 1 May 14 1996 /dev/fd1
    brw-r
    1 root disk 3, 1 Apr 27 1995 /dev/hda1
    brw-r
    1 root disk 8, 0 Apr 29 1995 /dev/sda

    Examples of different drive devices on NetBSD.

    brw-r
    1 root operator 4, 0 Jul 31 17:03 /dev/sd0a
    brw-r
    1 root operator 4, 1 Aug 1 13:41 /dev/sd0b
    brw-r
    1 root operator 0, 0 Jul 31 17:03 /dev/wd0a
    brw-r
    1 root operator 0, 1 Jul 31 17:03 /dev/wd0b

    Examples of different drive devices on Solaris.

    brw-r
    1 root sys 32, 14 Aug 4 11:51
    ../../devices/iommu@f,e0000000/sbus@f,e0001000/espdma@f,400000/esp@f,800000/sd@1,0:g

    (ugly eh? :)

    Examples of virtual consoles (consoles at the physical machine)

    crw--w--w- 1 root root 4, 1 Aug 2 11:16 /dev/tty1
    crw--w--w- 1 root root 4, 2 Jul 31 15:40 /dev/tty2

    Examples of pseudo terminals. If you access the machine remotely, you
    are allocated a pseudo terminal.

    crw-rw-rw- 1 root tty 2, 177 Aug 4 20:18 /dev/ptya1
    crw-rw-rw- 1 root tty 2, 197 May 20 1996 /dev/ptyb5

    Examples of serial ports on a Linux system. These correspond with
    COM1, COM2 etc in MSDOS.

    crw-rw---- 1 root 14 5, 65 Jul 17 1994 /dev/cua1
    crw-rw---- 1 root tty 4, 64 Jul 17 1994 /dev/ttyS0

    Examples of printers under Linux.

    crw-rw---- 1 root daemon 6, 1 Apr 27 1995 /dev/lp1
    crw-rw---- 1 root daemon 6, 2 Apr 27 1995 /dev/lp2

    "devnull" is a virtual device for 'nothing'. Anything sent to this
    device will disappear. This often good for redirecting error output,
    or anything else you don't want to see.

    crw-rw-rw- 1 root sys 1, 3 Jul 17 1994 /dev/null

    Devices are a funny thing. As time progresses, their use and
    importance will become more and more clear.

    /etc Contains many system configuration files.

    /etc/passwd - essential user information including user name,
    user id, group id, home directory, and shell

    /etc/shadow - encrypted password, account expiration information

    /etc/group - user/group information

    'rc' files - system startup/shutdown scripts

    /etc/security/ - some unix flavors use this to store files
    relating to system security

    /home (home directories) - where users store their files and do daily
    activity from. for the average user, this will be the most
    important directory they use

    /lib (libraries) - shared library images. Many programs rely on
    these. Libraries have common routines that can be used by
    many programs. Instead of creating new libraries for every
    single application, they share these. Unix library files are
    akin to Windows .dll files.

    /proc (processes) - 'proc' is a virtual file system. Files here
    are stored in memory, not on the drive. A user or admin
    can get information on programs running through the proc files.

    /tmp (temporary) - Many programs (and users) utilize this directory
    for writing files while running and remove them when done. Users
    with a quota (or limit on their disk space) can access this space
    for temporary storage. Beware! Admins like to delete stuff here
    when running low on diskspace. On some systems, this directory
    is completely erased during bootup.

    /var (various) - mostly system subdirectories that used to reside
    in the /usr directory but have since been broken out to here.

    /var/adm - linked to /var/log in linux, 'adm' notation is used
    in other flavors of unix.

    /var/log - system logs that record user and system activity.
    Logs keep track of connections to the system, daemon
    activity, file transfers, mail, and more.

    /var/spool - spool dir contains incoming mail, outgoing mail,
    cron jobs, and more.

    /var/man - various manual pages on system binaries

    /usr (user) - Contains a wide variety of subdirectories full of user and
    administrative tools

    /usr/X11R6 - The X-Windows subdirectory - all X-Win programs and
    config files

    /usr/sbin - much like /sbin, a bulk of system admin programs are
    located here

    /usr/bin - much like /bin, this contains the bulk of the unix
    programs not found in other places

    /usr/etc - more configuration files for system utilities
    and programs

    /usr/include - 'include' files for the C compiler - primarily
    used for system programmers

    /usr/lib - more shared libraries for system applications

    /usr/man - more manual pages for system tools

    /usr/local - files not essential to the system or users, but
    often the home of many extra utilities that give
    the system a lot of its functionality. Programs
    like 'ssh' and 'pgp' are typically installed here
    by default.

    That's an excellent link. Thanks for posting that.

    OP, read that link.

    important folders that did not get mentioned there:

    /boot - your kernel goes here, as do the files that contain bootloader options. Don't screw with this unless you know what you're doing.

    /media (formerly /mnt) - where essentially all drives that aren't your main filesystem get placed: secondary hard drives, the CD drive, etc. For example, "ls /media/cdrom0" lists off the contents of whatever CD is in your first CD drive (assuming it is a data CD and that it has been mounted, but pretty much all Linux distros mount CDs automatically now as they are inserted).

    /opt - essentially the same as /usr/local, but nothing installs here by default. In practice, a place to install programs when you don't have a package for them to be installed the "right" way.

    /root - home folder for the root user. For whatever reason it is traditionally not in /home/root. I have no idea why; I'm sure it made sense at some point.

    Daedalus on
  • theSquidtheSquid Sydney, AustraliaRegistered User regular
    edited June 2008
    Daedalus wrote: »
    /root - home folder for the root user. For whatever reason it is traditionally not in /home/root. I have no idea why; I'm sure it made sense at some point.

    I can safely answer this because of an odd malfunction I'm currently experiencing with fstab - it's there so that if your /home folder is mounted on another partition, and said partition shits itself, the system can take it, and you can still properly log in, and root will still have a complete home folder with any emergency tools that root might like to keep around in that folder for whatever reason.

    If it weren't that way, the root home folder would be some kind of exception to how things get mounted in Unix, which would be an untidy clusterfuck.

    theSquid on
  • LewishamLewisham Registered User regular
    edited June 2008
    bowen wrote: »
    theSquid wrote: »
    Papillon wrote: »
    As far as IDE's, the only IDE I ever use is emacs.

    Die in a hole you emacs freak. Vim forevaaaaaa!!!!11
    j/k
    Pico/Nano

    Yeah, I went there.

    And you were right to. Pico gangstas 4 lyfe.

    I've been using Ubuntu at work instead of my normal Mac OS X platform. Ubuntu embodies the same ease of use, but for Linux. Really impressed with Hardy Heron, having not used Linux for years. Things have come on a long way.

    Lewisham on
This discussion has been closed.