What is something new that you have learned about Linux this week?
It may seem trivial - and it is, but I realized I could use bash alias profiles by simply loading different alias sources.
In other words, I have /.bash_aliases & /.bash_aliases2 and they can be loaded with `source /.bash_alias*` as needed. Sure, it seems trivial - but I previously was unaware of this. It made me pretty happy to discover this, even though I seldom bother switching between them. So, however trivial, what's something new that you learned about Linux in the past 7 days? Note: I think this would make a great idea for a weekly/recurring thread, but I really doubt I've got the motivation to keep it going long-term. We'll see how it goes! |
I learned that the Debian live dvd is very, very good. I've used the netinstall version for years, and for awhile the live version went away, but when I ran the newest version to fix some drive problems, it just worked, no settings to figure out, nothing. It came online without needing to think about networking. I was very pleasantly surprised.
I also learned some things about logical volume management. It might not be as bad as it seemed. |
I learned that Endeavor Linux, which is based on Arch, is a very nice job of work.
|
About 15 minutes ago I (re)learned that I can look for a solution to a problem on the web, impatiently give up searching and instead look for a promisingly named config file - and get my answer as soon as I open it.
I don't know whether I should be more embarrassed at giving up on the web too easily, or for not going straight for the .X Files. |
I learned that there's a distro I can't run as a VM. And I feel it's because of me, nothing to do with the distro. Still researching my dim-witted-ness. ;) Because if I have to write an actual thread question for it, when many others already can do it, then that's pathetic. (My signature, "Never give up, never surrender!!")
|
I've been logging into a Ubuntu box with ssh and starting the VNC server. I finally wrote an upstart conf file so I don't need to do that anymore. I keep forgetting that any repetitive task can be automated pretty easily.
Linux is so customizable that it starts out hard, but gets less annoying the longer you use it. Its the opposite of Windows. |
Today, I relearned a lesson. Sometimes you waste too much time looking for an elegant solution and never find it. Sometimes, a heavy-handed kludge is the only way.
I've learned this lesson before - but I've never learned when it mattered. In another thread, I tried all the tips, tricks, tweaks, and terminal incarnations. In the end, none of them worked. So, I just installed the file manager that I'm used to and made the change with that. It's a kludge but it works. It lacks elegance, but it does have simplicity. That's nice, as it has that going for it. Should I remember, I'll make another one of these threads next Wednesday. I'm *very* confident that I'll have learned some more new stuff in that amount of time. |
I'm learning to appreciate coreutils.
For years I tried to use only bash builtins in my scripts. Imagine the amount of code required to emulate something like Code:
echo some output | shuf |
I'd never used 'shuf' for anything - and it does exactly what I suspected it'd do. I've just never had any need for it.
While making sure that it did shuffle stuff (and then learning about 'sort -R') I bumped into this page: https://en.wikipedia.org/wiki/List_o...ities_commands There are quite a few that I'd never used before. I've read a ton of Linux books, but haven't actually memorized 'em. |
Glorious coreutils. A dream come true for practical everyday coding. "Do one thing and do it well".
That, and the pipe: "Do one thing well and pipe it into another thing that does it well." But sometimes I write scripts that perform complex tasks often, regularly and automatically; that's when I try to avoid pipes and rather rely on the power of bash. |
It's not specific to GNU/Linux per se but I've really increased my interactive use of tmux shortcuts. ctrl-b % or ctrl-b " to split a window into panes, for example, and then ctrl-b up-arrow or ctrl-b down-arrow to resize the panes. I've also been renaming sessions, windows, and even panes a lot very recently thus making use of the -t option for many tmux commands. However for those I don't use any of the shortcuts (if there are any) but instead just write something in the shell.
Once I find myself setting up a similar arrangement repeatedly I script it , but that part is not new. I suppose I should learn to deal with .tmux.conf too, someday. Here is one of the scripts: Code:
#!/bin/sh |
It's amazing to see how much some of y'all know. I have been using Linux for years - and Unix before that. Much of my career was with Sun, using Solaris (and even SunOS before that). Alas, our workstations ended up being mostly Microsoft (for myriad reasons that made logistical sense at the time) and I didn't return to regularly using Linux until the mid-2000s.
I'm pretty sure that I spent too much time learning distros and not enough time learning Linux. I've read I don't know how many books, but don't retain it all that well unless it's something that gets regular use. So, it's fun to see how much other people know. |
Quote:
|
Today I learned that the Pine64 Linux Phone has made dramatic leaps forward and becoming far more than a toy for devs. They make calls, still have hardware switches, and currently can run with 17 different Linux distributions.
|
Quote:
What's that, 1.5 years after the announced release? 3 years after making wordy promises, and pulling lots of money out of lots of pockets? :SMH: |
All times are GMT -5. The time now is 06:56 PM. |