What is something new that you have learned about Linux this week?
GeneralThis forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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
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:
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.
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
And the great thing is--at least in the case of the GNU coreutils--they're optimized for speed, which is very useful.
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.
It's supposed to be a phone, isn't it.
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:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.