Recent Questions - Unix & Linux Stack Exchange |
- Using SSH with shell script works with manual input but not with parameters
- linux tc's (traffic control) fw filter is not working
- Cant use space from a mounted disk in a debian GCP VM
- Automating KDE Plasma Settings
- GNS3 can't find VMware vmrun
- Iptables u32 module install Centos 8
- rm -rf : is there an all or nothing approach?
- How do I run things in /etc/fstab and /etc/crypttab interlocked?
- How to create a new column in tsv files by combining two other columns on linux?
- how to use sed in a specific column of a tabular file
- Directory permission showing d?
- 'at' job fails: Script not found in the directory (raspberry pi)
- How to exclude paths from being extracted when extracting an iso using xorriso
- How is it possible that network is still reachable even after disabling the only connection via nmcli?
- print awk array and replace special characters with comma
- how to run history -a command at regular intervals automatically?
- is `yes | rm -r` safer than `rm -rf`
- How to edit /etc/printcap?
- Capture picture after unlocking screen / logging in i3
- Stuck in selecting columns using regex (in wazuh decoder)
- thunderbird: force encoding for all composed emails to unicode
- arch linux hdmi not detected
- My RAID 1 always renames itself to /dev/md127 after rebooting | DEBIAN 10
- Disable Internet Access on Eth0
- fish shell : exec format error
- GPG cache options don't work
- Trying to mount and recover data from a DVD/recorder HDD
- How can I monitor the length of the accept queue?
- "psql: could not connect to server: No such file or directory"
Using SSH with shell script works with manual input but not with parameters Posted: 31 Aug 2021 10:57 AM PDT I have a shell script I call it using But I get "Permission denied, please try again" when I run it. If I instead run it works... Any help? |
linux tc's (traffic control) fw filter is not working Posted: 31 Aug 2021 10:18 AM PDT I am trying to modify the wondershaper script for a different use-case. So, I am trying to change the following to filter (Refer to line 253) to fwmark filter so that I can set up different download speed limits based on different iptables mark. so, to test this I have tried the following iptable command to add a mark 6 to every packet. and then used following tc command instead of the tc command above However this is not working and I would appreciate if someone can provide proper help. I'm finding it extremely difficult to learn tc. |
Cant use space from a mounted disk in a debian GCP VM Posted: 31 Aug 2021 09:21 AM PDT I mounted a SD disk to my Google cloud VM running debian 11. It' mounted on /mnt, and it has 100gb of free space. But when i try to install anything in the VM, it says i dont have free space. Somehow i need to tell to the vm to use that disk storage, but i don't know how, im a new linux user. Can someone help me here? The print below shows the situation. I'm listing every command i used to mount the disk below too. Thanks |
Automating KDE Plasma Settings Posted: 31 Aug 2021 08:59 AM PDT I have a dual-monitor setup, and I want games to appear on the second monitor (which has a higher resolution). Unfortunately, only a handful will allow for moving on the second monitor, and the rest will just stick with the resolutions from the first (Kwin rules don't help). My current solution is to temporarily set the second monitor as primary whenever I'm playing a game. However, I wish to be able to automate this in a bash script, along with a few other tasks. Is there some API I need (perhaps via dbus?) or a configuration file I can change that would allow me to do this? |
Posted: 31 Aug 2021 08:50 AM PDT |
Iptables u32 module install Centos 8 Posted: 31 Aug 2021 08:43 AM PDT |
rm -rf : is there an all or nothing approach? Posted: 31 Aug 2021 08:12 AM PDT Let's say I have the following structure : If I try to remove Is there a way to implement an "all or nothing" |
How do I run things in /etc/fstab and /etc/crypttab interlocked? Posted: 31 Aug 2021 07:55 AM PDT Imagine this there is a cloud storage Which in turn contains a file And then get mounted itself. All these 3 commands have pendants in /etc/fstab and /etc/crypttab, but the need to be run interlocked as shown. Can this be achieved? |
How to create a new column in tsv files by combining two other columns on linux? Posted: 31 Aug 2021 10:09 AM PDT I have 70 directories that have files like below: Each of the The 1st and 2nd columns in the Now, on linux using It should be like combining I tried this way, but got wrong: How to do that on linux in a single script on all the files? Any help is appreciated. |
how to use sed in a specific column of a tabular file Posted: 31 Aug 2021 07:36 AM PDT I have a tabular file And I want to remove all the things after the I know how to do that with sed : So do you know how to do that ? Maybe with a combination with awk ? Thanks |
Directory permission showing d? Posted: 31 Aug 2021 08:06 AM PDT I downloaded some files and saved them in a folder on an external hard drive. Later when I am trying to search for the folder I couldn't find it. So I try searching using the terminal. I listed all the files in the location where I had saved that folder previously and noticed the folder was present there but it showed |
'at' job fails: Script not found in the directory (raspberry pi) Posted: 31 Aug 2021 08:27 AM PDT I am trying to run an 'at' job. The job is in ~/mydir/first.sh. It executes second.sh using (sh second.sh) which is in the same directory. I get an error saying that the file is not found. This is very unusual as I am doing the exact same thing on another linux laptop and have no issues. |
How to exclude paths from being extracted when extracting an iso using xorriso Posted: 31 Aug 2021 10:51 AM PDT As an example I'm trying to extract all the files from the ubuntu live iso except the path I can extract all paths on the iso fine using: But I've been attempting to use the disk file exclusions but to no avail. I've tried different variations or Using Using I would accept an answer with |
Posted: 31 Aug 2021 10:44 AM PDT I've got a system with an ethernet connected over eth1 and managed by Network Manager. The connection has autoconnect set to However, if I want to take the connection down again (with |
print awk array and replace special characters with comma Posted: 31 Aug 2021 07:39 AM PDT I hope the title explains this correctly. I am currently trying to print out an array after counting unique values from a spreadsheet. My awk command works correctly: When printing though I get a special character that looks like a question mark. How do I print this with a comma + space between the year and the season. eg: 1896, summer: 151 |
how to run history -a command at regular intervals automatically? Posted: 31 Aug 2021 10:43 AM PDT I am using bash shell and I execute |
is `yes | rm -r` safer than `rm -rf` Posted: 31 Aug 2021 08:47 AM PDT I have heard many times that issuing The thing I am thinking is that, is |
Posted: 31 Aug 2021 10:54 AM PDT We recently changed domain and host name on a RHEL8 server from I happened to notice a reference in Correct hostname shows The server has been restarted a few times since changing the hostname. I found zero other references to
How do I change what's in the |
Capture picture after unlocking screen / logging in i3 Posted: 31 Aug 2021 07:52 AM PDT Running Manjaro with i3wm, and my The script Similar to this post I want to have a picture taken via a script every time the screen is unlocked. I've written a script that captures a picture from the local webcam, and this works perfectly fine - how do I alter the above setup to have the script run after unlocking my screen? I hope this can be done at the level of the |
Stuck in selecting columns using regex (in wazuh decoder) Posted: 31 Aug 2021 08:58 AM PDT I have this log but I don't know how to select few columns. I used Can anyone help on selecting https://documentation.wazuh.com/current/user-manual/ruleset/ruleset-xml-syntax/regex.html |
thunderbird: force encoding for all composed emails to unicode Posted: 31 Aug 2021 10:33 AM PDT I am using I have received an email in HTML format, with what looks to be greek ISO encoding ( When I click reply, the composed email is automatically set to same (Greek ISO) encoding, even though normally all my compose emails are in unicode. How can I set to always compose all emails as unicode, regardless what the original email encoding was? I don't want to "inherit" some weird encoding that somebody else has sent me. Normally, the emails I send are plaintext and unicode. |
Posted: 31 Aug 2021 08:03 AM PDT today I started my laptop, but my external display was not working. I ran the command As you can see, there is no hdmi. When I run this exact same command on my other computer, it shows this: my os: |
My RAID 1 always renames itself to /dev/md127 after rebooting | DEBIAN 10 Posted: 31 Aug 2021 07:42 AM PDT PROBLEMI create a RAID 1 configuration, I name it /dev/md1, but when I reboot, the name always changes to /dev/md127 |
Disable Internet Access on Eth0 Posted: 31 Aug 2021 09:05 AM PDT I have a Raspberry with
|
fish shell : exec format error Posted: 31 Aug 2021 09:48 AM PDT On an Ubuntu ( I can launch I got the following message : There's no shebang in my script. If I add Any idea ? |
Posted: 31 Aug 2021 07:32 AM PDT There is an option named My version of GPG is |
Trying to mount and recover data from a DVD/recorder HDD Posted: 31 Aug 2021 10:06 AM PDT I have a old DVD/HDD recorder (Panasonic DMR-EH58) with RCA inputs & outputs etc. I want to recover all the recordings off its HDD. The HDD is a 2008 ATA/IDE 7200RPM Hitachi deskstar Model no:HDP725025GLAT80 250 GB has a DVD drive. It has been used at a conference center for many years recording camera RCA input. It is in good condition but it is outdated so I am trying to copy the recordings to a computer. I also would like to recover the deleted files if possible as they would not have been overwritten yet. I have borrowed a universal drive adapter and tried to mount it on both Windows 8.1 and ChaletOS Linux (Ubuntu based XFCE type distro). Windows showed it as a grayed F: drive and Linux did not auto mount it either. GParted shows it as "/dev/sdb: unrecognised disk label": Command line attempts follow:
Looks like an unsupported file system error... |
How can I monitor the length of the accept queue? Posted: 31 Aug 2021 08:23 AM PDT I have a hypothesis: sometimes TCP connections arrive faster than my server can How can I confirm this is happening? Can I monitor the length of the accept queue or the number of overflows? Is there a counter exposed somewhere? |
"psql: could not connect to server: No such file or directory" Posted: 31 Aug 2021 07:32 AM PDT Actually, I installed PostgreSQL 9.4 (with postGIS extension), and when installed, everything used to work fine. As said on many tuts, I've set the /data folder, checked configuration files, and so on. Worked on other projects so I did not work on psql for a while But when installation was done, it used to work correctly, I made a test database, initialized postgres user, etc. Now, I try to start psql (with "default" postgres user) and cannot connect! Start/stop/restart service do not change anything... Result of "psql" command (with postgres user) : When I check service status, I get this : Starting/Stopping/Restarting service with command Does not change anything to actual system behaviour.. Log says: |
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