Eric Searcy is the IT Infrastructure Manager at the Linux Foundation. Here he tells us how he got started as a sysadmin and at the Linux Foundation, describes his typical day at work, and shares his favorite sysadmin tools, among other things.
Hey, /r/linux, just an idea I had. I have been using it for a few days and felt like sharing. I needed a task list that would not require me to login in websites or run external programs, so I decided to go minimal. So, I created a text file containing lines like:TAG & task description & deadline
and saved it as todo-list.txt in my home directory.
So, if I use: grep TAG todo-list.txt
then I get all tasks tagged with TAG.
My trick, then, is to use hierarchical tags, like: SCHOOL-MATH & Do math homework & May 30th SCHOOL-HISTORY & History homework & - SCHOOL-HISTORY-GREEK & Research greek history & - SCHOOL-HISTORY-ROMAN & Research roman history & - SCHOOL-HISTORY-WRITE & Write the paper and deliver & May 31th
So, by doing:grep SCHOOL-HISTORY todo-list.txt
I get a list of all tasks related to the project SCHOOL-HISTORY. The tree can be as deep as you want.
As a bonus, you can always use:grep May todo-list.txt
and get a list of all tasks due in May.
Cheers, everyone! I hope that helped!submitted by BeefOrChicken2050
[link] [2 comments]
Ok so this is all motivated by a broken usb wireless adapter so first I will give you the background but I thought to use this problem as an opportunity to learn more about Linux wireless "stuff".
Trouble Shooting Stuff. Skip if you just want questions
Ok so I just upgraded to xubuntu 14.01 but my "first" attempt failed I did some cleaning of the package system with "sudo dpkg --configure -a" and apt-get auto clean and some other things I forgot. Then I did apt-get upgrade and then my computer registered as 14.01 when clicking help in the start menu and everything seemed fine after a couple reboots. Come back the day after and no Internets. I'm using a usb adapter and see my adapter in lsusb. (it has 2 entries and needs mode switching). "sudo lshw -C network" only comes back with my Ethernet. So afraid something is messed up with the mode switching I change to an adapter that I think doesn't need it(lsmod only brings up one entry). Same problems so I find the driver I need using the device and vender id here and lucky its installed by default. So I try to add it as a module using modprobe and adding it to /etc/modules. So it shows up with lsmod but still nothing with sudo lshw -c network even with reboot.
So this is where my questions begin:
How dose lshw get its information?
Why would something show up in lsusb and its driver in lsmod but not with lshw
I'm not using PCI but I'm still interested in where lspci gets its information also.
what parts of the networking "stuff" runs in kernel space and what runs in user space? I guessing its the just the driver but what application manages calls to the network card and how does it work with the kernel, driver, that little icon at the top of my screen(using xubuntu) and lwconfig/ifconfig/ping/other network commands?