Recent Questions - Unix & Linux Stack Exchange |
- Netflix and Linux and VM
- Script to print the name of all directories in a given path [closed]
- Is there a Linux input event code that represents a "click"?
- Debugging "chroot: failed to load command '<executable_name>'" besides ldd and /proc/<pid>/maps
- find files within a range of sizes [duplicate]
- How to use multiline modifier of ssed (Super sed)?
- Difference between time functions of unix and windows [closed]
- Ubuntu does not wake after suspend but restarts
- Does escaping `bash` aliases make any sense in any - not sourced and normally run - shell scripts?
- Why Can Almost Any Desktop Run a Linux Image, but Most SBCs Need Their Own Variant?
- stuck at busy box, attempt to boot old linux at another partition
- Remove or change "Details" in debian
- Execute command for all rows with equal field content
- What is the command line to print the output below (use built-in function of toupper from awk)?
- How can I save variables in awk?
- how to remove penguins eggs icon from ufficio zero ufficiozero tropea
- How to specify multiple .pws and .prepl files in ASPELL_CONF?
- KDE Partition Manager asks for password upon opening, but GNOME Disks does not. Why is that?
- Unable to reposition monitors on Arch Linux with KDE Plasma
- Regex matching comma-separated list of values, trailing comma not allowed
- htop / top with specifying process name filter on the command line - at program startup?
- tail not working on mac terminal
- Automatically install unmet build dependencies as detected by dpkg-checkbuilddeps
- chroot with working directory specified
- Can I download or upload file using CURL for file://///my_windows/test (non-http link)
- Failed to request VPN secrets #3
- Wine and Linux Security
- Apply Colors to Terminal Output to highlight URL & Others
- screen command cannot find java executable
- Is there a way to modify a file in-place?
Posted: 09 May 2021 10:07 AM PDT I heard that Netflix needs PlayReady 3.0, Widevine, HEVC 10 bits de/encoder, HDCP 2.2... to play 4K/UHD contents So I want to know if Linux support these technologies, and if Netflix support those Linux frameworks I want to know too, if Linux can't, if a VM with W10 can support as is those technologies so Netflix can play 4K medias, or if it can with some pass-through I know this question doesn't belong completely here but idk where it can belongs otherwise, considering that Netflix support place is the last place to ask that, considering that they don't want to hear about any non official method (and this is normal for a dev. to work hard and clean on supported method but not on unofficial ones). If you know better place doesn't hesitate to tell me |
Script to print the name of all directories in a given path [closed] Posted: 09 May 2021 08:03 AM PDT I want to write a script that takes an argument. the argument is a path.this script will print the name of every directory in the path and it will also count the number of the objects in every directory (directories or files). |
Is there a Linux input event code that represents a "click"? Posted: 09 May 2021 07:40 AM PDT I'm configuring my Logitech MX Anywhere with logiops and I remember that I used to map one of the buttons to Ctrl+Click when I used my mouse in Windows, so I could quickly open a link in a new tab in my browser. Now, the config file for this program requires users to inform a sequence of keys via their names in the input event codes. I tried searching for "CLICK", but there's only a SND_CLICK, which definitely isn't the one (especially when it's at the end of the file). While no expert, I kinda expect it not to have a "click" event code: from what I infer the list relates only to actual physical keys available in keyboards. But would that be the case, is there an alternative to achieve a similar behaviour I'm aiming for with the input event codes? |
Debugging "chroot: failed to load command '<executable_name>'" besides ldd and /proc/<pid>/maps Posted: 09 May 2021 07:05 AM PDT Trying to run Running The actual libraries used by a running non- But when attempting to run Just to demonstrate that I have a valid Any suggestions how to debug this are appreciated |
find files within a range of sizes [duplicate] Posted: 09 May 2021 06:00 AM PDT I tried to find files between 960 kibibytes and 1 mebibyte. I found that -1024k works, but -1M doesn't: Can someone explain why |
How to use multiline modifier of ssed (Super sed)? Posted: 09 May 2021 09:23 AM PDT I came across this tool called ssed which supports Perl's regex mode and is a heavily enhanced version of sed: https://launchpad.net/ssed/ This command does not seem to work: I expected the output to be: But it prints: I know I can use perl for multiline processing but I want to currently explore the option available with ssed. EDIT: This is from the launchpad page: Note: I am trying to simulate this perl command Output: |
Difference between time functions of unix and windows [closed] Posted: 09 May 2021 05:26 AM PDT Why does Unix have a lot of time functions as opposed to Windows, which does not have a library like unistd.h? |
Ubuntu does not wake after suspend but restarts Posted: 09 May 2021 06:41 AM PDT I really love Linux and I'm trying to make the switch to Linux-only, however there is one problem that's driving me nuts. If I try to wake my PC after suspending it, 9/10 times it will just restart. This always happens when the computer is sleeping for more than 2 hours. I tried a ton of stuff I found on the internet (increasing swap file size, setting grub settings, doing stuff with gnome), to no avail. The hardware supports suspend according to pm-suspend check output. I've typed in so many random commands I kinda lost track of what I'm doing, so if someone could help, much appreciated! Ubuntu is installed as dual boot with windows on a separate 500GB ssd drive. PC specs:
Edit: forgot to mention my swap partition (according to free) is 39 GB. |
Does escaping `bash` aliases make any sense in any - not sourced and normally run - shell scripts? Posted: 09 May 2021 09:20 AM PDT Does escaping Consider the simplest situation with And then suppose I call a shell script of mine containing a function, e.g. like: As you noticed I forced the original Of course, one could write it without using But I still hesitate what possible difference might there be. |
Why Can Almost Any Desktop Run a Linux Image, but Most SBCs Need Their Own Variant? Posted: 09 May 2021 10:12 AM PDT If I want to install Ubuntu Desktop on my Laptop vs my Desktop, I can download the same image from Ubuntu's website, and this applies for nearly every Linux distro I've heard of. I'm currently shopping for various Raspberry Pi alternatives, and I noticed that each of them requires their own OS. For example, Armbian has a download for every board they support. In the same vein, why wouldn't Raspbian work out of the box on an OrangePi? I can understand that you might need different images for armv6/armv7/armv8, but why does every SBC need their own image? |
stuck at busy box, attempt to boot old linux at another partition Posted: 09 May 2021 08:03 AM PDT I have, and able to boot with arch linux with kernel 5.10.34 normally. I have older linux (linuxmint 20.1) on my sda6 with kernel 5.4.0-72 and 5.8.0-50. I am using grub-customizer. Kindly not answer with having live cd. The strange thing is:
what i have tried:
the old fstab before installing arch linux (manjaro). detail about the busybox having said that, my question is how to creating permanent grub config so I am able to boot to my linuxmint properly? Amendexecuting Thank you |
Remove or change "Details" in debian Posted: 09 May 2021 07:25 AM PDT |
Execute command for all rows with equal field content Posted: 09 May 2021 05:57 AM PDT I have a student csv file containing fields with student data and the mailadress of the teacher in charge at the end. I try to automatically send only one email to the teacher containing all his students (using sendemail). The mail part is no problem but i cannot get the data out of the csv they way I want it. The csv file is created daily and contains a different number of students every day. I tried to use awk and put all lines containing the same mailadress in an array but failed with that approach. In this example it should send 3 mails. First containing Second containing Third containing Thanks for any hints |
What is the command line to print the output below (use built-in function of toupper from awk)? Posted: 09 May 2021 09:10 AM PDT I have a text file which is a random file : price.txt and I want to print this like below; (the $1 is all capital letters and the others are same as original file.) In this case , how do I command using awk "toupper" option? |
How can I save variables in awk? Posted: 09 May 2021 09:04 AM PDT How can I print the filename and the result of file1 file2 Output for: Desired result: |
how to remove penguins eggs icon from ufficio zero ufficiozero tropea Posted: 09 May 2021 09:19 AM PDT so i recently installed ufficio zero tropea and this weird penguins eggs icon keeps popping up every time i login or reboot. Does anyone know how to keep it deleted so it doesn't show up any more? |
How to specify multiple .pws and .prepl files in ASPELL_CONF? Posted: 09 May 2021 05:41 AM PDT I'm trying to configure aspell version 3.1.20 to use the However, I'm Brazilian and I regurlarly use aspell to check spelling in both English and Portuguese. In other words, I need to specify multiple but I'm getting the following error messages: How do I specify |
KDE Partition Manager asks for password upon opening, but GNOME Disks does not. Why is that? Posted: 09 May 2021 07:05 AM PDT The title basically says everything. KDE Partition Manager asks for password after opening the app, but GNOME Disks does not ask for the password. It (Disks) can do basically everything without ever trying to elevate the privilege. I have seen this in multiple distros: Ubuntu vs KDE neon, Fedora vs Fedora KDE, OpenSUSE Tumbleweed, etc. How and why do they behave the way they do? |
Unable to reposition monitors on Arch Linux with KDE Plasma Posted: 09 May 2021 05:48 AM PDT I recently installed Arch Linux (I have used it before), and installed KDE Plasma 5.21.3. I have an external monitor and it is physically higher than my laptop's screen, however, whenever i open settings (Display and Monitor > Display Configuration), it aligns the top edge of the displays together, which makes life very confusing, whenever I try to drag the monitor up, it decides to move the entire window instead of moving the actual screen, which means that I am unable to move the display up. Can someone please point out if this is a bug, or if not, then point out a workaround until it gets fixed, I've heard that something like this is possible using Specs:
|
Regex matching comma-separated list of values, trailing comma not allowed Posted: 09 May 2021 08:49 AM PDT I want to match:
But not a list with a trailing comma. My current regex: also matches lists with trailing commas ( but that is rather ugly. My real regex is not matching 3-letter-words, but something bigger, and repeating the regex is ugly. How can this be fixed? |
htop / top with specifying process name filter on the command line - at program startup? Posted: 09 May 2021 09:01 AM PDT I'm on Ubuntu 18.04. I'm already aware that I can start Now, I would like to start ... and get the exact same behavior as if hitting F4 and typing in the terminal UI. This would be useful if integrating the command into, say, a I browsed through
So, is there a way to set up process name filtering on the command line at startup, such that it takes account for newly killed or spawned processes (as if hitting F4 in |
tail not working on mac terminal Posted: 09 May 2021 10:06 AM PDT Due to my lack of experience with script language, (shame for a Mac user) I have referred to several sources: link seemed resolved with This didn't for me, even after adding I also tried
I am uncertain if this has anything to do with the current issue. Or whether the link is related to the issue. If anyone could find the reason for this problem or way out of it..would be majorly grateful. I have transferred this issue from another community here to receive more insight if I could. |
Automatically install unmet build dependencies as detected by dpkg-checkbuilddeps Posted: 09 May 2021 07:07 AM PDT Is there a command that installs all the unmet build dependencies that I tried to Is there a better way? |
chroot with working directory specified Posted: 09 May 2021 06:02 AM PDT Say I want to write wrapper for My naive attempt is: But this fails to correctly handle: I cannot figure out how it should be implemented correctly. Is it possible using bash only? On my CentOS 6 system |
Can I download or upload file using CURL for file://///my_windows/test (non-http link) Posted: 09 May 2021 05:53 AM PDT I have a windows machine(Server 2012). I have a shared location in it restricted to my user id(\\my_windows\test). I have few files inside test folder. I want to upload or download files to this location using curl. Is this possible? Whatever examples I saw till now has https or https as the url for Curl. I am able to open this network location in Mozilla with 'file://///my_windows/test'. I want to curl to this location. How do I do it or is there anyway that I can make this location to open with http url? Thanks |
Failed to request VPN secrets #3 Posted: 09 May 2021 07:37 AM PDT I am using Arch Linux with Gnome and I want to use The ArchLinux Wiki suggests to do:
but this also does not solve the problem. The problem occurs when I click on connect; I am unable to activate the VPN connection with Gnome and NetworkManager. |
Posted: 09 May 2021 09:07 AM PDT I'm trying to understand what are the security implications/consequences of installing Wine. Does installing wine means that my Linux OS will be prone to "Windows" type of viruses and malware as well? PS1: Wine is an implementation of Windows APIs for Linux, BSD, Solaris and Mac OS X - and therefore my concern. PS2: I wanted to run Evernote that is why I'm considering installing wine. |
Apply Colors to Terminal Output to highlight URL & Others Posted: 09 May 2021 08:01 AM PDT I am looking for a way to apply colors to highlight URLs (http://....) and IP @ in the output of a terminal command. Example would be with a wget command for example where I would like to be able to output URLs in a particular color so that it is easier to read. Best would be to be able to do the same for IP@ and other important info to standout. I have been struggling with this for a while and not able to find a solution. I use iTerm 2 on MAC with oh-my-zsh |
screen command cannot find java executable Posted: 09 May 2021 07:04 AM PDT I'm trying to execute but seems that screen does not know the I'm using RHEL5. |
Is there a way to modify a file in-place? Posted: 09 May 2021 06:40 AM PDT I have a fairly large file (35Gb), and I would like to filter this file in situ (i.e. I don't have enough disk space for another file), specifically I want to grep and ignore some patterns — is there a way to do this without using another file? Let's say I want to filter out all the lines containing |
You are subscribed to email updates from Recent Questions - Unix & Linux Stack Exchange. To stop receiving these emails, you may unsubscribe now. | Email delivery powered by Google |
Google, 1600 Amphitheatre Parkway, Mountain View, CA 94043, United States |
No comments:
Post a Comment