Recent Questions - Unix & Linux Stack Exchange |
- How do I reduce memory latency?
- Can I use Overlayfs on Debian?
- How to download alpine linux packages over tor
- can't open vscode on kali linux as super user or root
- SSH to remote server works, scp and rsync DO NOT
- How to install java on linux (pop os)
- How find out through terminal that if any system command uses specific system call internally?
- What is an encrypted LVM?
- Curl error (56): Failure when receiving data from the peer
- Error in kali linux [closed]
- Could not get nonce, let's try again when using acme
- Information of new user won´t show in terminal
- Remove lines exhibiting a unique STRING
- How can I view complete zsh history?
- Getting an array into a parallel bash script
- How to create a Cron Job in Linux C7 using Webmin
- load driver with insmode get :disagrees about version of symbol module_layout
- why could not access stackoverflow in terminal but works fine in browser
- Capturing parameters sed
- How to remove "" in output list?
- How to escape new line characters for json?
- parse colon separated value pairs
- Upload to youtube using shell script
- Redirect stdout of a Windows command line program under wine
- Difference between "none" and "swap" as a mountpoint for swap in fstab?
- 8 independants mono channel on 7.1 sound card, but possibility to play sound on 8 channels simultaneously
- Is it possible to send a HEREDOC over ssh to a remote host from inside a script running locally?
- Difficult to find application installed in linux
- XBMC crash after selecting "play". Ubuntu 14.04 and 13.0 gotham. Link to crashlog
| How do I reduce memory latency? Posted: 11 Jul 2021 10:28 AM PDT My environment is OpenVZ, using the 3.10.0-1160.21.1.vz7.174.13 GNU/Linux kernel. When executing This in turn seems to be causing kswapd to be working overtime (and resulting in sub-par performance). My question is - what should I be doing to decrease the memory latency? Is it just a case of adding more physical RAM? Memory usage is as follows: |
| Can I use Overlayfs on Debian? Posted: 11 Jul 2021 10:24 AM PDT I'm running on Debian stable buster, and I'm trying to manually mount some directories using overlayfs. I installed the package Is it not possible to use overlayfs? I can see that overlayfs is not listed in /proc/filesystems. Note: I am running Linux kernel 5.10 installed from backports. I don't know if that makes a difference. |
| How to download alpine linux packages over tor Posted: 11 Jul 2021 09:56 AM PDT In Debian, one can install |
| can't open vscode on kali linux as super user or root Posted: 11 Jul 2021 09:54 AM PDT I installed vs code on kali linux and when I tried openning it with command I tried this method but no luck |
| SSH to remote server works, scp and rsync DO NOT Posted: 11 Jul 2021 09:42 AM PDT I've been using recently it stopped working, both from inside bash and when executed in a terminal. If I add the I can successfully connect to the remote server via Things I've tried:
This one is a real head scratcher, I'm not sure where to go from here. Any insight into this problem would be greatly appreciated! TIA |
| How to install java on linux (pop os) Posted: 11 Jul 2021 09:37 AM PDT I am transferring Operating systems, and I am a java programmer, so I'm trying to install java on my computer, but when I tried to install it, it wouldn't recognize the javax.swing library. My question: how can I correctly install java to program. |
| How find out through terminal that if any system command uses specific system call internally? Posted: 11 Jul 2021 09:41 AM PDT I am new to linux.I want to that how to find out through terminal that if any system command uses specific system call internally? Suppose hard linking is to be performed . So "ln" command uses li nk() system call internally. Likewise rm command uses unlink() system call. |
| Posted: 11 Jul 2021 09:26 AM PDT If I install Debian, I can choose to set up the disk using an encrypted LVM. But what exactly does this set up? Is just the partition table encrypted, or are all files on all partitions encrypted? |
| Curl error (56): Failure when receiving data from the peer Posted: 11 Jul 2021 09:27 AM PDT Now I want to update my operation system like this: but shows this error: when I ping the domain using this command: the ping tell me the domain accessable. why the curl tell that error? I am searching from internet but no one talk about this problem. what should I do to avoid this error? |
| Posted: 11 Jul 2021 09:22 AM PDT After executing the command, I am getting: |
| Could not get nonce, let's try again when using acme Posted: 11 Jul 2021 08:22 AM PDT When I am using this command to generate a certificate on CentOS 7.6: shows this error: where is going wrong and what should I do to fix it? what I have tried to upgrade the newest version of |
| Information of new user won´t show in terminal Posted: 11 Jul 2021 08:44 AM PDT I created a new user and logged in successfully on my ubuntu 20.04 machine. When I logged in as root the terminal looks like this:
When I login with my "mynewuser" account I only see a
This was how I created my new user: Did I miss anything? |
| Remove lines exhibiting a unique STRING Posted: 11 Jul 2021 09:47 AM PDT I have a text file with approx. 12 millions of lines, each composed of 4 fields (column 1, 2, 3 and 4) Most lines have a unique STRING in column 2 and I would like to remove them. The entire text file is SORTED according column 2 (smaller to greater); lines with identical STRING in column 2 are always consecutive. Spread in the text file, I regularly have 2, 3, 4 or 5 consecutive lines with the same STRING in column 2. These are the lines that I would like to keep in the final text file: What I would I like to achieve: Thanks in advance for your time and help. Best, Laurent |
| How can I view complete zsh history? Posted: 11 Jul 2021 08:43 AM PDT I am using zsh on MacOS BigSur. If I write |
| Getting an array into a parallel bash script Posted: 11 Jul 2021 10:42 AM PDT I'm having a bit of difficulty understanding parallel procedures. Atm I'm trying to mass wipe hard drives, so have created a script, however it won't run in parallel. The dd zeros the disks but it does this one after the other so when doing 8 disks, can be very time consuming. Thanks |
| How to create a Cron Job in Linux C7 using Webmin Posted: 11 Jul 2021 07:39 AM PDT I was wondering if someone can help me, please. I am trying to set up a Cron job using Webmin in Linux, C7. I've included this string: But, I can't get it to fire. I see workflows stuck in queue, but no going anywhere. I did it this way once with a different domain. Could someone please tell me what it is I'm doing wrong?. Thanks in advance. |
| load driver with insmode get :disagrees about version of symbol module_layout Posted: 11 Jul 2021 07:33 AM PDT I compiled simple drive for Linux kernel for ARM system:
To compile i used the config file from the up ruining system located at:
i downloaded a vanilla kernel, checkout to tag 4.4.5, replace the config file ,compile the kernel, and then compile the drive with the tool-chine for arm
i used insmod to load the driver but the err message to terminal is:
at the dmesg i get this message
However, when i compere between running module in the system with my module with readelf -a The ELF Header are the same and the File Attributes are the same. what can i check more? Maybe the module loading was blocked by kernel? how can i check that? some one hes a lead for my what i can do next? p.s
Thanks |
| why could not access stackoverflow in terminal but works fine in browser Posted: 11 Jul 2021 08:30 AM PDT When I using this command in my terminal,shows this error: but in the browser I can access the website, what should I do to fix this problem? the terminal did not have proxy setting. I am retest it and ping works: |
| Posted: 11 Jul 2021 08:19 AM PDT I am trying to replace occurences in bunch of html files. I want to update the files with the new subdomain name. old urls look like this : https://123.olddomain.com/wp-content/ New ones should look like that : https://newdomain.com/static/123.newdomain.com/wp-content/ I have tried in the folowing expression to update all subdomains html files at once $1 does not seem to capture my rexpression [0-9] Thanks for any suggestion. |
| How to remove "" in output list? Posted: 11 Jul 2021 07:30 AM PDT I used a command to get a list of IP from EC2. The result so far i got is a list like this: I want to get result as: How can i do that? |
| How to escape new line characters for json? Posted: 11 Jul 2021 07:43 AM PDT I have a file that contains new line characters. It works but the new line characters are gone. |
| parse colon separated value pairs Posted: 11 Jul 2021 07:50 AM PDT I've written a script that converts I'm wondering if it is possible to pipe the results directly into I'm looking to generate something like this: Yes, I did ask a related question earlier. This is the first script I wrote based on Gilles answer, it worked for some of the values but not |
| Upload to youtube using shell script Posted: 11 Jul 2021 07:07 AM PDT I've searched the youtube API but still not clear whether this is possible. |
| Redirect stdout of a Windows command line program under wine Posted: 11 Jul 2021 10:40 AM PDT I run a Windows command line program (that I can not make accessible) with wine. It apparently writes something to stdout and I'm trying to capture that output, but I can't redirect it. No matter if I redirect stdout or stderr to a file, the program output is still printed on the console and is not written to the file. When I redirect stderr, the wine output goes away, but the program's output is stilled printed on screen. If I redirect both, the output is neither printed on screen nor written to the file. Edit: On Windows, behavior is similar, but when redirecting both, everything is still printed on screen. Here are some examples with the complete output. When I try to redirect the output, this happens: I.e., the program's console output is completely missing. The program still works fine and writes some files it's supposed to write. As a check, I did the same with pngcrush, and I get what I'd expect. Without redirection: With redirection: What could be the cause of that not working for the other program? wine stdout stderr io-redirection |
| Difference between "none" and "swap" as a mountpoint for swap in fstab? Posted: 11 Jul 2021 08:13 AM PDT I've seen that sometimes the entry for the swapfile in fstab is specified as "none" for the mount point and sometimes as "swap" instead. For example: The What is the difference between those two? |
| Posted: 11 Jul 2021 09:03 AM PDT For a personal sound project with a raspberry PI 3 and an USB 7.1 channel sound card, I need to use the sound card as 8 independents mono channels, to play different mono sounds on specifics channel. And sometime 2 or more mono sounds car be played (mixed) in the same time on a given channel. I finally found the way to do that in my With this config file, I can play what I want on the channel I want, and I can play multiple sound in same time on each independent channel if needed with commands like this: etc... But I want to add another possibility. I want to add a virtual channel named "all", which must route the played sound on ALL 8 mono channels. The final goal is to configure Asterisk pbx system configured as intercom to use this channel : when called, Asterisk will autoanswer, and I want voice routed (mixed) on all 8 channels of the sound card. I naively tried that : But it doesn't work. For testing I also play a mono sound on the 'all' virtual channel. If I do : aplay -D plug:all sound5_mono.wav The sound is correctly played on all channel ch1... ch8 where no other wav file is played. But on channel where a sound is already played, can't hear sound5_mono. wav but I have crackling noices How can I write my. asoundrc file to have it working ? What I want to do is a kind of audio multiroom : play differents mono file on each channel ch1.... ch8 in differents room, and when I call the raspberry with a SIP phone, voice is played (mixed) in all rooms. |
| Is it possible to send a HEREDOC over ssh to a remote host from inside a script running locally? Posted: 11 Jul 2021 10:26 AM PDT I essentially want to run a script on machine A which will SSH into machine B, execute commands on B, and return the output to machine A. So I am creating a csh script to do this, hopefully, if it's possible. For instance, this solution from this answer works from command line: I can verify it is running the ls on the remote and not locally. However I want to be able to do this within the backticks, inside my csh script running locally. Would that be possible? I know it is possible to SSH in and run a script that is on the remote, but that is not my case. I have also heard it is possible to send a second script stored locally over the SSH (which I also have not figured out), but I like the idea of having all of the commands inside the original script, hence the HEREDOC. I know it is a pretty particular question, but if there is a way, it would be very cool to know how. Things that don't work 1) This gives the error:
And then it runs 2) Same problem as above, except it only displays 3) 3-5 aren't exactly what I asked about, but still trying just to get even the basic case working. This returns 4) Also returns the same as attempt #1 5) Same as #1 and 4. I am beginning to exhaust other solutions from stackoverflow/Ubuntu/serverfault...etc. Most people ask about how to run their script on a remote from command line, not how to run commands on a remote from a locally running script. Edit Well I think I have part of the problem figured out. With case 3 from above for example, what happens is I noticed this because I tried |
| Difficult to find application installed in linux Posted: 11 Jul 2021 10:07 AM PDT I am new to linux, used to use windows. I am trying to convert to linux and I really love it. I am trying Ubuntu 14.10. I have a question about how to find the installed applications easily in Linux. You know in windows, after I installed an application, I can always find it in the "all application" list. Even no, I can always try to search for its folder from the bottom. However, I am trying two DE, Unity and Gnome 3.12, and it seems that it's more difficult to do this. For example, I've just installed Anaconda3. After installation, it does not show up in the launcher nor the "all application list". I tried to search "Anaconda" or "Spyder" but hits nothing. It looks like it's also impossible to open the file manager to show all folders in the partition on which ubuntu is installed. I can open a terminal and "cd /" and then search it? But that's text interface. So my questions are: Are there any way to find an installed application easily. Is there something like the file manager in windows that can show all the folders in the linux partition or in the whole harddisk? |
| XBMC crash after selecting "play". Ubuntu 14.04 and 13.0 gotham. Link to crashlog Posted: 11 Jul 2021 08:05 AM PDT I have a brand new machine with fresh install of Ubuntu 14.04 and I'm trying to run Gotham 13.0 on it. I've already added the restricted multimedia codecs (just in case) to Ubuntu. As well as Unrestricted LibavCodec My graphics is AMD/ATI Tahiti (Radeon HD 7970) with a core i7. Here's the XBMC crashlog: http://xbmclogs.com/show.php?id=209365 Here's what's happening: I just download the appropriate PPA's etc. through the XBMC wiki. The first time I installed it on this machine, I went through installed Fusion and ran the Hub wizard Template/Setup. Everythings seems good, but when I select Al Jazeera, for example, I click "watch live", and then I get the "working" scroll in the bottom right for few seconds, and then the entire program force closes. The same happens with " The Daily Show" "Youtube" "UsTv Now" etc. I completly uninstalled XBMC and started over. This time only installing one add on and trying it out. Still I get the same results. The music add-ons work though. I have this posted a few days on XBMC forums, and no replies yet. I'm not sure if this is an Ubuntu or XBMC issue ,at this point. |
| 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