Recent Questions - Unix & Linux Stack Exchange |
- Can I force router changes from linux CLI, like port forwarding with UPNP?
- how to make average independent in java project
- Pop!_OS not recognising partitions and how to solve this without formatting
- debugfs not working | file not found by ext2_lookup
- how to print the files name of a folder as file in tabulary way
- xfs uses more space than it has stored in files
- IP forwarding in linux namespaces
- VirtualBox WSL2 file sharing from Debian
- Different ways to download and install an application in Fedora
- /etc/localtime is not a symbolic link
- Find XML file with specific path
- Finding files and matching patterns with printed filename in bash
- sequence output
- How do I install the driver of Medaitek RT3070 in Debian Linux?
- How can I verify the clocksource in my system?
- How to expand code snippets in GNU nano?
- Getting Specific Ethernet Statistics
- How to align the output generated in a shell "for" loop by columns
- Automating the splitting of a large mp3 file with FFmpeg into multiple files in different time points provided in a text file
- Sun Type 7 Keyboard + KDE shortcuts: Why does the control center ignore most of the function keys on the left edge?
- recompile wpasupplicant Debian package with IPv6 disabled
- wpa_supplicant: disable IPv6
- move boot partition of proxmox (or debian) to USB flash, installed on two disk zfs-raid-1 non-bootable nvme
- Save cached video on firefox?
- how to use lynx to "print" a web page? WYSIWYG
- dd script with timings
- blockdev --setro doesn't work (for me at least)
- Unix/Linux undelete/recover deleted files
- How to make Fedora user a sudoer?
Can I force router changes from linux CLI, like port forwarding with UPNP? Posted: 01 Aug 2021 10:18 AM PDT I have seen that I can use miniupnp to apply port forwarding on my router, and I would like to find another tool to apply DNS and/or DHCP settings on the router. Is this possible? My goal is to have a script that once executed, it configures a VPN and DNS on my server, and also configures the router accordingly ( VPN port forward and DNS pointing to my LAN server ) without any user intervention. Thank you for your help! |
how to make average independent in java project Posted: 01 Aug 2021 10:14 AM PDT i have many project in mysql, i am calucalting avera and average of first product affect all product, output of this code is: please someone may help me. |
Pop!_OS not recognising partitions and how to solve this without formatting Posted: 01 Aug 2021 09:40 AM PDT I am trying to dual boot pop!_os with windows 10 but the pop os is not recognising the partitions. I have also turned the sata mode from rst with optane to AHCI. This is the error message it gives "Could not stat device /dev/mapper/isw: untested metadata version 1.4.01 found on /dev/sda - No such file or directory" I have made a 50 gb partition already. I have seen a similar question to this one but that you had to format the disk but i already have important data on my harddisk. So is there a way to do this without formatting the whole hard disk. |
debugfs not working | file not found by ext2_lookup Posted: 01 Aug 2021 08:57 AM PDT How to get birth date my file in ext4 partition drive? Thanks for helping |
how to print the files name of a folder as file in tabulary way Posted: 01 Aug 2021 09:57 AM PDT i have some files in a folder and i want to print thier names in one file.txt in tabulary way like a text not one under one , is there any command for that ? |
xfs uses more space than it has stored in files Posted: 01 Aug 2021 08:19 AM PDT Why do I see more "used" space in This filesystem has reflinks active, they also seem to work. As I understood, in this case, it should show up less used space in What is wrong? Or how can I see where this space is consumed? |
IP forwarding in linux namespaces Posted: 01 Aug 2021 10:13 AM PDT I am currently trying to simulate a network using network namespaces under Linux. I have already set up the nodes and connected them, and they can ping each other, one hop at a time. But I am really struggling trying to enable IP forwarding. I am using Ubuntu Server 21.04 and networking on my system is controlled by systemd-networkd. systemd's version is 247.3-3ubuntu3.4. /etc/systemd/network/router1i.network: and /etc/systemd/network/router1i2.network: Those ( If I use the command I already tried to get networkd to update by using I'm honestly pretty much at my wit's end. I don't even necessarily need to get it to work with networkd. Any idea or workaround would be very much appreciated. |
VirtualBox WSL2 file sharing from Debian Posted: 01 Aug 2021 07:48 AM PDT I have Windows 10 as a primary OS and there is installed VirtualBox with Debian Buster. I use WSL2 and I would like to see files from this virtual PC in folder Thank you. |
Different ways to download and install an application in Fedora Posted: 01 Aug 2021 08:05 AM PDT I want to know what are the different ways to install an application in Fedora based systems. One is downloading a .rpm package of the application from its site and double clicking will install it. There are various other ways to download/install using terminal and I'm a new user of Linux ,using Fedora 34. Please help. |
/etc/localtime is not a symbolic link Posted: 01 Aug 2021 07:42 AM PDT According to
It's the output of and for My environment is Fedora 17 running on VirtualBox. I copied the entire image from someone else. In other words, I didn't build the environment from scratch. I'm afraid of that it's a truly mistake, or it's made for some reason. |
Find XML file with specific path Posted: 01 Aug 2021 08:27 AM PDT I'm working with XML files, each of which could be dozens of lines long. There are literally hundreds of these files, all over a directory structure. Yes, it is Magento. I need to find the file that has the What is the elegant, *nix way of searching for the file that defines This is my current solution, which is far from eloquent: |
Finding files and matching patterns with printed filename in bash Posted: 01 Aug 2021 08:24 AM PDT I have the following code that lists matches far a pattern I agree it's a monster. I decided to remove the Any suggestions on the above? I would like to print the filename before the listing, enclosed between After suggestions about avoiding looping over |
Posted: 01 Aug 2021 08:17 AM PDT I have written this script, but not getting exact output while i need it as 1-10 with side by side random number |
How do I install the driver of Medaitek RT3070 in Debian Linux? Posted: 01 Aug 2021 07:33 AM PDT I didn't understand the build instructions and the "make" command returns errors: |
How can I verify the clocksource in my system? Posted: 01 Aug 2021 07:27 AM PDT According to the kernel code, timekeeping will initialize the clocksource as jiffies. But it also says that once a new clocksource detected, timekeeping will replace it. Now I know that when I input command "date" it will eventually get the system time from clocksource. I want know that which clocksource am I using then, is that jiffies? |
How to expand code snippets in GNU nano? Posted: 01 Aug 2021 08:17 AM PDT In most text editors, it is possible have "code snippets" you can expand by typing a keyword and pressing the tabulation key. As an example, a snippet for LaTeX might look like However I found nothing in the nano man page nor on the web. Is there some hacky way to achieve that? One idea might be to have some bash function |
Getting Specific Ethernet Statistics Posted: 01 Aug 2021 08:50 AM PDT Is there any way to get I am using the following commands I looked into |
How to align the output generated in a shell "for" loop by columns Posted: 01 Aug 2021 07:25 AM PDT I'm trying to align output from a bash Currently, I'm getting output from my loop that looks like so: Which I'm trying to align like so: The current, basic loop that generates this output looks something like this: I've tried using:
Among many other variations of these commands. I'm probably missing something basic (I tried my best at looking at other examples online and reading the I'd really appreciate any pointers as to what I'm doing wrong. |
Posted: 01 Aug 2021 07:22 AM PDT I have a large mp3 file; I want to split it into 480 mp3 files in different time points. I want to know if there is an easy way to do it other than splitting it one by one. Can I provide the different splitting times in a text file and just execute one command in FFmpeg? |
Posted: 01 Aug 2021 09:29 AM PDT I've recently equipped my OpenSuSE 15.2 with KDE 5 with a Sun Type 7 keyboard and now would like to use the function keys on its left edge for a variety of system-wide shortcuts. The only issue is that in the shortcut list of KDE's control center, some of these keys are simply ignored: The Help, Cut, Copy, Paste, and Open keys are recognised as such, whereas Cancel, Redo, Undo, Properties, Foreground, and Find are not, and I don't know why. All of them emit their own scancodes, and What's wrong with these keys? Here is my UPDATE: I've looked into the current This means that the keycodes and symbols are registered in |
recompile wpasupplicant Debian package with IPv6 disabled Posted: 01 Aug 2021 07:25 AM PDT I have a related question, but was asked to open a new one. I would like to recompile the Debian package What do I have to change, to disable Also, this particular package seems to want to compile some Can I compile only the pure/commandline version of I am using Debian 10. |
Posted: 01 Aug 2021 07:23 AM PDT I don't have support for which in itself would be harmless, but makes it difficult to actually find other useful messages. How can I tell |
Posted: 01 Aug 2021 07:58 AM PDT I am trying to setup proxmox on Dell r720xd, which does have UEFI boot option but can not boot from PCIe nvme drives. If I install proxmox (or any os) on a usb flash, it boots fine. For testing, I installed CentOS with advanced partitioning, and used USB flash as With proxmox, there is no custom partitioning option during the setup, so I was unable to set usb key as Other option listed in proxmox forums are
Obviously clover is adding a boot partition on usb and then forwarding the control to nvme. My question is, how to install proxmox on nvme and then migrate the Seems like a very straight forward process and I followed this guide to handle it, however, I could not get it to work. grub2 always complained with messages like
any hints please. P.S. I also tried to edit the centos
|
Posted: 01 Aug 2021 09:03 AM PDT I found a script on the internet that allows me to save cached flash files. https://github.com/janosgyerik/shellscripts/blob/master/bash/save-flash-linux.sh This would allow me to run the command I'm trying to do the same for non-flash videos that are cached by firefox. I would like a command, or set of commands that I can run to list the video files and then save them. It's a little more convoluted. I have to use lsof to list open files, find ones that have a suitable filesize and then get the proc and fd to use for the copy command. Right now, I do it manually, running a command like this: The What's the best way to speed up/simplify this process? I'd like to make it into a script eventually. |
how to use lynx to "print" a web page? WYSIWYG Posted: 01 Aug 2021 10:00 AM PDT When I printed a page, as per the manual:
It displayed quite differently when viewed again, from how lynx rendered it when browsing. The page is served from an IP phone, a Cisco/Linksys SPA 942 hard phone, which displays its settings through a web interface. I just want to grab/crawl/scrape the settings page in the easiest way possible from lynx. I'm after, in particular, the settings for one of the extensions, so I have to click a few links to get to the right setting. I tried the "print" option, but the formatting was very wrong. It's a simple web page, just forms. The print option jumbled everything together. I could do a screen print from Firefox, but thought lynx might have some special capability here? Or, perhaps, just save page in Firefox, or some variant... The page is quite long, so copying one "page" at a time from the terminal is clumsy. All in all, between the different settings, there are probably twenty pages, each twenty lynx "pages" long in the terminal. Some version of Printing to the "printer attached to the vt100 terminal" actually did quite well. As literally as possible "printed" to the terminal with just a small hiccup that it had trouble going past some empty fields -- but "page down" seemed (?) to work. Unfortunately, not able to print the actual page I'm after, can't seem to "click" a specific link... |
Posted: 01 Aug 2021 08:06 AM PDT Trying to figure out the best approach to a script that will do the following:
So far, I'm thinking something along these lines: Anyone have a better solution or could maybe tweak this a bit? |
blockdev --setro doesn't work (for me at least) Posted: 01 Aug 2021 08:15 AM PDT I'm sure I don't understood how blockdev works. I have mounted a flash drive and it was mapped to the report was: as you can see, the report said that What I'm missing? |
Unix/Linux undelete/recover deleted files Posted: 01 Aug 2021 09:35 AM PDT Is there a command to recover/undelete deleted files by How can I recover |
How to make Fedora user a sudoer? Posted: 01 Aug 2021 10:03 AM PDT I want to give a Fedora user |
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