• Breaking News

    [Android][timeline][#f39c12]

    Tuesday, September 3, 2019

    Linux The ultimate noob guide to the Linux [command line | shell | terminal]. Suitable for self-study. 100% free.

    Linux The ultimate noob guide to the Linux [command line | shell | terminal]. Suitable for self-study. 100% free.


    The ultimate noob guide to the Linux [command line | shell | terminal]. Suitable for self-study. 100% free.

    Posted: 03 Sep 2019 02:27 AM PDT

    If you're new to Linux and want to get a solid knowledge of the terminal there is really no better book, that I know of, to get you started than this: http://linuxcommand.org/tlcl.php.

    It's what got me into the Linux world and I haven't looked back ever since. Have read it cover to cover and it's now in its 5th Internet edition. It's often recommended but it would be nice to have a post dedicated to it so here is that post. I'll give a bit of an overview of what the book covers - hopefully, in a way understandable to someone who has no Linux experience.

    You'll start off with just basic commands: how to move around directories (folders), how to create and remove files, how to edit text files, etc.. Every concept is represented with concrete examples and terminal output is shown pretty much all the time. Many of the sections have commentary on the history of those programs/tools and it's very entertaining and helps to keep things interesting.

    As your knowledge progresses you'll be introduced to more programs/tools and learn how to build your own tools by leveraging a core idea that is central to Linux: using programs/tools that were made to solve very specific problems and leveraging Linux's extremely powerful I/O redirection abilities to make those programs communicate with each other to perform increasingly complex tasks.

    Eventually, you'll be taught how to write 'scripts' (basically small programs) that will allow you to forego interactive use of the programs/tools you've learned to use earlier and will enable you to automate just about everything you can think of.

    There are a lot of links provided to further reading on just about every topic.

    In summary: the book lays a great foundation for the absolute beginner and serves as a springboard to learn more advanced topics.

    submitted by /u/Shred_Alert
    [link] [comments]

    Need help underclocking nvidia GPU on optimus laptop

    Posted: 03 Sep 2019 09:17 AM PDT

    What I've tried:

    • Running

      nvidia-xconfig --cool-bits=24 

      to enable additional settings on the PowerMizer page in nvidia-settings. This creates /etc/X11/xorg.config file which breaks xorg and stuff and then I am unable to boot into graphical environment. I guess it breaks the optimus setup.

    • Setting application clocks using:

      sudo nvidia-smi -i 0 -ac 800,300 

      It sets the application clocks properly (tried with/without persistence mode), but they are not being enforced when running games and programs with optirun/primusrun.

    What else can I try?

    (I use Arch)

    submitted by /u/ashirviskas
    [link] [comments]

    Before I start my first year of highschool, I was hoping to make the jump from windows to linux for privacy reasons and because I'm sick of windows, but I am kind of lost and have a few questions.

    Posted: 02 Sep 2019 04:03 PM PDT

    As I understand it, ubuntu seems to be one of the most hated, yet suggested distro for beginners. And I've also come to learn that ubuntu has several 'shady' features that I would have to disable.

    Do any/all of those features exist in other distributions like Pop OS or Linux Mint (The other distros I was looking at)?

    If I use any of these distros, what changes would I have to go about making, to ensure an good, private, and safe user experience?

    I was thinking of trying to dual boot with windows, as I have no experience with linux yet. Would this make switching to linux for privacy reasons pointless?

    I'll be starting highschool in a few weeks, and I'll be getting a relative's old laptop. I'm not a complete noob with tech but any and all advice would be greatly appreciated.

    submitted by /u/bobtom10
    [link] [comments]

    Piping output of a command into multiple lines of sript

    Posted: 03 Sep 2019 02:03 PM PDT

    I essentially want to combine this line:

    find ~/pictures/ -type f | shuf -n 1

    with a script that usually calls its argument by [ ! -z "$1" ]

    Sorry for the simple question, but I've fiddled for a while and couldn't figure it out.

    submitted by /u/haelaeif
    [link] [comments]

    Willing to make the switch permanently, but...

    Posted: 03 Sep 2019 09:57 AM PDT

    I want to switch to linux on my laptop. But I have a few issues. I have a Lenovo legion Y540. Lenovo ships windows with Lenovo vantage. It's a program that allows users to change some stuff on their laptop. Some handy settings like conservation mode (stop charging the laptop at 60%), switching between CPU profiles and rapid charge are only available in Lenovo vantage.

    Can I do this stuff in linux? (Lenovo vantage isn't available for linux) I run Manjaro KDE dual boot on my laptop now.

    And I need windows for one specific program from my school for school. So I need to make a virtual machine for it if I transition fully. Another thing, seeing as I have 2 graphics cards (Intel HD graphics 630 and GTX1650) can I pass through my GTX card to a virtual machine? Or is that impossible due to Optimus?

    Thanks for the help in advance!

    submitted by /u/Nova_2001
    [link] [comments]

    Best photo editors for Linux? Possibly paid? I’ve had no luck with darktable, Rawtherpee, Corel’s aftershot. Just to make a few

    Posted: 03 Sep 2019 01:42 PM PDT

    I edit thousands of photos a week in Lightroom. And can not for the life of me find a solid replacement for Lightroom. I do green screen extractions and use Lightroom for its brush tools to clean up green spill problems but dark table and raw therapee do not work well with transparent images. I found out that Corel has aftershot... but it does not work with PNG images more does it work with my Panasonic g9. I've also been trying all the photo managers that different distos have and nothing has matched what I'm looking for, any advice?

    submitted by /u/TheTechy1
    [link] [comments]

    how do you run an executable ?

    Posted: 03 Sep 2019 01:39 PM PDT

    i am trying to download the program gdevelope but i cant figure out how to execute the executable file , i tried right clicking the executable file and hitting execute and nothing happened i also went in to permissions and checked th box that said execute as program but still nothing /path/to/executable/name_of_prog. but it just said that it could not find the file

    submitted by /u/Keeperofbeesandtruth
    [link] [comments]

    How would I use this powershell script in bash?

    Posted: 03 Sep 2019 01:26 PM PDT

    How would I use this command on a Linux system? It's designed to use powershell to install all songs in a TXT file using Youtube-DL.

    for /F "tokens=*" %A in (playlist.txt) do ( youtube-dl --playlist-end 1 scsearch10:"%A" )

    submitted by /u/one_developer
    [link] [comments]

    How to get sound back after fixing mute below threshold issue?

    Posted: 03 Sep 2019 01:15 PM PDT

    Manjaro Terminal | Odd error text when running terminal

    Posted: 03 Sep 2019 09:02 AM PDT

    Hello, so I'm still new and getting used to Linux/Manjaro, but I'm having an odd issue. I'm getting a message every time I run my Terminal that looks like this:

    bash: $'\r': command not found

    bash: $'\r': command not found

    bash: /home/me/.bashrc: line 7: syntax error near unexpected token `$'{\r'

    '

    'ash: /home/me/.bashrc: line 7: `colors() {

    I can still use my Terminal normally but it's annoying to have that pop up every time I close and re-open Terminal.

    I have a few ideas as to what may have caused this but I have no idea what this is saying or how to fix it, but here's what I've done that I think might be the reason.

    1. I changed the theme of my terminal to Aritim Dark and changed the text colors in the Terminal Profile.
    2. Though I wasn't successful, I was trying to be able to type in Japanese and one post I followed had me add lines of code to the bottom of .bashrc and .profile . I've since removed those lines of code and I didn't touch anything else that was in the files.

    Also I added a picture of my bashrc code around line 7 if that helps any.

    Thank you!

    https://i.redd.it/hbt9i5jvjek31.png

    submitted by /u/AvengeRAvR
    [link] [comments]

    Planning to move i have some questions

    Posted: 03 Sep 2019 11:45 AM PDT

    I seriously got damn tried with windwos 10 this year, update after update along with the ugly design, so i went back to 8, liked it, and then 7, liked it too. But now im just getting board of windows.

    I want to move to Linux mint however i have a few questions

    1. How would i keep my mouse senzitivity the same from what it is now on windows?
    2. How should i ensure my privacy? Would any distro do fine? Im looking to switch to Mint.
    3. What drivers should i use? Cause i heard nivida drivers are the best. I have gtx 1050 and i heard when you first install it does it as a open source driver instead? My laptop is nitro 5.
    submitted by /u/popypoplandpoppopy
    [link] [comments]

    How do I make Nautilus show mounted drives in the left-hand pane?

    Posted: 03 Sep 2019 11:18 AM PDT

    Hi! So I have two drives on a home server, and I mount them to my workstation with SSHFS. When I punch in my SSHFS command to mount them, they show up in the left side of Nautilus right below "Desktop", "Downloads", "Pictures", etc. I added these drives to my fstab, and they mount, but they don't show up in the left side there. They show up if I click Other Locations in Nautilus, but not on their own in the left-hand portion where they show up if I manually mount them. Any idea how to change this?

    submitted by /u/WaitForItTheMongols
    [link] [comments]

    VirtualBox VM backup

    Posted: 03 Sep 2019 11:03 AM PDT

    Hi, I have 3-4 VM (centos 7) running on a VirtualBox (base machine is also centos 7). VM are of diff sizes (50GB to 500 GB). How can I take weekly backup of these machines easily? I don't want to buy any software. I have NAS available for backup.

    submitted by /u/xmen81
    [link] [comments]

    I need to mount a storage device and I need help.

    Posted: 03 Sep 2019 04:36 AM PDT

    hello, so I installed arch linux last night and I installed it on 150 ssd storage device.

    so basically, the root the home the boot and the swap is on the 150 ssd storage device.

    In my computer I also have 1TB of regular storage device and I didn't mount it or anything in the installation of arch. and when I open dolphin it recognize the storage device but I can't use it, when I click on the storage device I get a popup that says that this storage device needs to be mounted and ask for my password for root, and when I enter the password I get this message:

    An error occurred while accessing 'Storage', the system responded: The requested operation has failed: Error mounting /dev/sdb1 at /run/media/amir/Storage: wrong fs type, bad option, bad superblock on /dev/sdb1, missing codepage or helper program, or other error.

    so I don't understand much and I'm new to linux so I need help, what to do, mybe it can't be mounted because I did not create a file system on this storage device? I don't know. and if it is the problem, I don't know if I should create a ext4 on this storage device, and when do I mount it?

    I'm sorry if it wasn't clear, my native language is not English,

    thank you in advance for your assistance.

    submitted by /u/Computer_Ok
    [link] [comments]

    I've never used Linux before but I'm thinking of trying in the near future. So while trying to find something for my needs, I came across many distros, some (example: Deepin) have origins in China. If China is known for its intrusive/spying tactics, just how trustworthy are these distros?

    Posted: 03 Sep 2019 09:42 AM PDT

    Why can I not see any underscores of my file names when I pass them as parameters in POP_OS 19.04?

    Posted: 03 Sep 2019 09:21 AM PDT

    Will dual booting Windows and Linux on a seperate drives which are plugged in at the same time screw up any of them?

    Posted: 03 Sep 2019 08:38 AM PDT

    I've heard a lot of stories about Windows messing up the bootloader and all of that and I'm wondering, if I put them in a seperate drive, will any of them mess up if both are connected at the same time?

    submitted by /u/sack0fd3mon
    [link] [comments]

    How to install Win 7 from Linux mint

    Posted: 03 Sep 2019 08:34 AM PDT

    Sadly I need to switch back to windows for awhile as I can't get some of my grad student programs to work. I have the iso for win 7, and used a program to make it a CD room or something bootable I think on USB. But I don't know what to do next. I tried to boot it from switch the order of bootable discs but nothing happened. What is best to use on Linux to make this work?

    submitted by /u/b1uer0b1n
    [link] [comments]

    strange results from 'ps' command

    Posted: 03 Sep 2019 08:15 AM PDT

    Hi im making a program to log my system process usage and temperatures and im using ps to get information about my process usage.

    the exact command im using is ps -Ao psr,pcpu,command

    From my understanding this should give me a table of: the processor id of the processor currently working with the process, the cpu usage and the command.

    In my programming logic Im summeriseing a specific processors usage and this should give me max 100% usage. However I have noticed cases where this is way above 100% (112+%). I looked into it and when Im running ps -Ao psr,pcpu,command | grep "2 " to investigate processor 2s usage I get this result.

    On line 63 I get 2 87.8 C:/Program Files ...... (wine process) which should processor with id 2 is using 87.8% of its capacity to deal with this process.

    But on line 36 it says 2 15.3 /usr/share/discord.......

    Adding these numbers together and i get 103.1% and thats not counting any of the other processes to processor 2.

    What am i missing here?

    submitted by /u/Skippbo
    [link] [comments]

    Linux on a Nvidia GPU?

    Posted: 03 Sep 2019 08:01 AM PDT

    Hey guys I've been meaning to fix my dad's PC and I've been thinking about installing linux but it's got an Nvidia GPU. I've heard that Nvidia doesn't play nice with linux so should I install linux anyways? Don't have the cash to buy an AMD card and I don't mind having to use Nividia's proprietary drivers.

    submitted by /u/bigmeatyclaus
    [link] [comments]

    [HELP] Cannot install kde connect! following errors are shown! what to do???

    Posted: 03 Sep 2019 07:25 AM PDT

    GNOME boxes....

    Posted: 03 Sep 2019 04:58 AM PDT

    I heard about Gnome boxes past days... WHAT IS DIFFERENCE BETWEEN GNOME BOXES AND VMWARE/ VIRTUAL BOX.... Which is best for performance... Any special feature in gnome boxes...

    submitted by /u/mr_whoisGAMER
    [link] [comments]

    Cant find USB in gnu grub boot menu

    Posted: 03 Sep 2019 04:54 AM PDT

    I currently have elementary os installed on a lenovo yoga 2 11. I am switching to zorin os. So I got zorin on a USB drive and plugged it into my computer. I entered the boot menu which says "GNU GRUB version 2.02" (if that helps) but the USB was nowhere to be found. The only options were elementary, advanced options for elementary, and system setup. Please help me fix this issue, its really pissing me off.

    submitted by /u/biggystuffs
    [link] [comments]

    Can someone please ELI5 how OpenSSL works?

    Posted: 03 Sep 2019 12:50 AM PDT

    Hi,

    Probably this is not strictly a Linux question but I'd appreciate if someone could eli5 how OpenSSL works. I understand the basics of asymmetric key encryption but not able to relate to OpenSSL . Thanks

    submitted by /u/git_world
    [link] [comments]

    Manjaro unusual hibernation behavior (screen flicker, popping sounds)

    Posted: 03 Sep 2019 03:50 AM PDT

    Bug description

    When hibernating my laptop using systemctl hibernate the screen behaves in a very weird manner, it has some sort of flickering, and reaching hibernation cause my headset to have a pooping sound. This popping sound is also present when shutting my laptop down without having the charger plugged in.

    Video proof

    https://reddit.com/link/cz37st/video/tn6e2rpswck31/player

    If you can't see the video or don't understand what's happening here's the sequence:

    1. Hibernate the computer using oblogout (simply runs systemctl hibernate)
    2. Screen fades to black for 1-2 seconds
    3. Screen resumes but everything has higher transparency (including atom that shouldn't have any)
    4. Screen and computer shutdown making a huge "pop" in my headset - you can hear it actually
    5. I turn on my computer
    6. Opens up refind
    7. Select Manjaro
    8. Hangs for a little
    9. Resumes the current state as expected, nothing is lost

    What i did to make hibernation possible in my latop?

    Since i installed Manjaro from the architect installer, i had nothing on my system, and here i'll tell you what i did to make hibernation possible.

    Aditional notes

    • I have seen many people running Manjaro with the same popping sound as i, which sounds exactly like a capacitor discharge, and since it only happens during shutdown when it's not plugged in, i used to think it's because the electricity went to the charger instead of running through my headset, but with hibernation it's always there, with or without charger.
    • The transparency in my system is given by compton, so the transparency on the windows might be from that.
    • I haven't found anybody running the same issues as i did, might be looking at it wrong.

    System

    OS: Manjaro x64

    Kernel: 4.19.66-1

    WM: i3

    Display Server: Xorg

    All my packages are kept up to date, and i don't know what else is relevant in this scenario, so feel free to ask for more.

    Thanks in advance, and if more information is required, feel free to comment.

    submitted by /u/OundercoverO
    [link] [comments]

    No comments:

    Post a Comment

    Fashion

    Beauty

    Travel