Recent Questions - Unix & Linux Stack Exchange |
- Change permission or encrypt files
- Kernel-ml-devel installed on Centos 8 Stream but the packages is not considered as kenel-devel replacement
- Transmission rewrites colons in directory names to underscores
- W: Target Sources (main/source/Sources) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list:7
- How to fix "qemu-system-x86_64: symbol lookup error: /lib/x86_64-linux-gnu/libvirglrenderer.so.0: undefined symbol: drmPrimeHandleToFD"?
- Visudo syntax error when editing a sudoers file
- Why is Debian not booting with a GUI, but instead to the tty1 console, despite AMD drivers being installed
- Can someone please erxplain to me how to fix Kali Linux's apt update command? I have already done the common fixes!
- PIPESTATUS variable is empty
- Redirect single file or directory using bubblewrap
- Wallpaper with a calendar
- Debian: Harware Limitations for Third Monitor
- Unix file matching logic
- Problem trying to replace Ubuntu with Mint
- Usb DIsk Shows"unrecognised disk label" Unable to do dd, partition or reformat
- AWK: how can I remove repeated header lines from CSV?
- Cleanest way to disable ipv6 on ubuntu 18.04 across multiple machines?
- OpenSSL: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol
- Your database files were created by PostgreSQL version 13
- Shutdown and reboot privileges
- I cannot update my system with `pacman`
- Xfce: Tab Key No Longer Navigates Within Some Dialog Windows
- Why can I suddenly not access my command line history?
- sed command to replace last occurrence of a word in a file with the content of another file
- centos7 repartition issue
- Font bug in Java apps on Arch Linux
- Remove extra header lines from file, except for the first line
- Checking if a command is a built-in in ksh
- rsyslog doesnt seem to write to log file, without restart after touch'ing the file
- Use convert to grab a specific page from a PDF file?
Change permission or encrypt files Posted: 28 May 2021 09:03 AM PDT Is it better security-wise to protect your files by encrypting or changing permissions (like 600)? |
Posted: 28 May 2021 08:40 AM PDT I have an issue, Thanks in Adance, I am long time Ubuntu user, using fedora since last year, but a newbie for Centos, I installed centos 8 stream in my auxiliary laptop, after using fedora I feel dnf is more handy than apt, I really want an ubuntu lts equivalent of dnf based distros, so I chose Centos stream. My wifi card wont work with old kernel ( the default that shipped in the centos iso ) and I installed the kernel-ml-5.12.6 package from elrepo and every thing worked, The issue I am facing is I couldn't use virtualbox as it depends on kernel-devel package and even though I have installed the equivalant kernel-ml-devel pakage from elrepo, still VirtualBox is looking for kernel-devel package. Any solution is highly appreciated. |
Transmission rewrites colons in directory names to underscores Posted: 28 May 2021 08:45 AM PDT Transmission appears to replace colons for instance:
version 3.00 ( |
Posted: 28 May 2021 08:26 AM PDT Error while running "sudo apt-get update" |
Posted: 28 May 2021 07:40 AM PDT I want to run The issue is that when I run: I get the following error: How can I fix this error? According to Versions: Debian: |
Visudo syntax error when editing a sudoers file Posted: 28 May 2021 08:43 AM PDT I am adding this file where However the Is something wrong with the statement above? Working on |
Posted: 28 May 2021 07:27 AM PDT As the title might already suggest, I currently have a problem where my newly installed Debian doesn't start with any GUIs, despite me clearly selecting them in the installation process. Interestingly, I already have the AMD drivers installed, even the non-free ones. But despite that, I can't execute "startx" successfully, as it says that it can't find /dev/dri/card0, and after that, it tells me that it can't run in framebuffer mode.
I should maybe add that I selected the sddm display manager and KDE and Gnome whilst installing Debian. |
Posted: 28 May 2021 07:49 AM PDT apt update is not working in Kali Linux. When i give this command keep getting this message Can someone please explain to me what i am doing wrong? By the way i have tried to correct the problem by the usual channels so this is a different kind of a problem i think.. Thanks B |
Posted: 28 May 2021 07:48 AM PDT I'm working on a Linux server and noticed that the PIPESTATUS array variable is always empty. I'm on bash v4.1.2(1)-release What could be the reason? I checked online forums including stack exchange but didn't find a good answer |
Redirect single file or directory using bubblewrap Posted: 28 May 2021 07:31 AM PDT I was wondering how one would use bubblewrap ( For example, if I wanted to make Firefox conform to the XDG spec, I might do something like: Obviously, I tried the above with no luck. If anyone has the solution, I'd appreciate the help a lot. The mess of non-XDG-compliant directories in my home directory is driving me insane. |
Posted: 28 May 2021 07:59 AM PDT I was thinking about how they do a wallpaper that displays a calendar and highlight today's day, like when you just install an OS and has the deafult wallpaper that also shows the machine system information, but without beeing an app because that could make the the calendar app stop working all day and save a bit of the machine resources, anyone know how they do it? And if it's not much work explain it to me? |
Debian: Harware Limitations for Third Monitor Posted: 28 May 2021 07:11 AM PDT I have one laptop with both HDMI and VGA ports. I connected two external monitors. However, I can activate any combination of two monitors simultaneously, yet never all three together: in the settings it says "Changes cannot be applied", "this could be due to hardware limitations". Output from xrandr: Screen 0: minimum XXX, current XXX, maximum XXX LVDS-1 connected (normal left inverted right x axis y axis) a bounch of lines with all resolutions VGA-1 connected primary XXX left (normal left inverted right x axis y axis) XXXmm x XXXmm HDMI-1 connected XXX left (normal left inverted right x axis y axis) XXXmm x XXXmm a bounch of lines with a number of other "ports-XXX disconnected" Any help would be greatly appreciated. |
Posted: 28 May 2021 08:00 AM PDT I have a project requirement in which I need to read file1 from top to bottom and match column 2 of it with column 3 of file2. Both files are tab delimited. If a record matches, I have to write full record from file 1 to new file3 and if it doesn't match, I have to write the same record into error file (file4). File1 and file2 contain 500-510 records. Need to start reading file1 from start and find the value of column 2 in column 3 of file2 (full scan from top to bottom if required). file1 file2 file3 file4 |
Problem trying to replace Ubuntu with Mint Posted: 28 May 2021 08:15 AM PDT I have tried replacing Ubuntu with Linux Mint. I made a file (installed.list) using Output: installed.list: NOTE:There are more but it's almost 220.000 characters. Original Post here. |
Usb DIsk Shows"unrecognised disk label" Unable to do dd, partition or reformat Posted: 28 May 2021 07:21 AM PDT A Complete Noob here! I am having trouble using my Pendrive in my arch system. It does not mount. When I opened GParted I noticed it is taking longer to load and Pendrive was named /dev/sdd in spite of /dev/sda. And it was showing an error flag. The error is: /dev/sdd: On using So I manually did to all superblocks: sudo e2fsck -b 32768 /dev/sdd Yet this did not fix my problem. I don't care about the data in that Pendrive. I just want to get it fixed. Please Help me Thank You |
AWK: how can I remove repeated header lines from CSV? Posted: 28 May 2021 08:49 AM PDT Dealing with the csv produced by the concatenation of several CSVs, I am looking for the possibility to remove repeats of the header lines (present in the each concatunated CSV being identical among them). here is my CSV contained repeats of the first line: To post-process this CSV I need to remove repetitions of the header line keeping the header only in the begining of the fused csv (on the first line!).I have tried to use the following awk one-liner which is looking for the 1st line and then remove its repeates however it did not recognize the header line, meaning that the pattern was not defined correctly. How my AWK code could be corrected supposed that further it should be piped to sort in other to sort the lines after the filtering of the repeats ? |
Cleanest way to disable ipv6 on ubuntu 18.04 across multiple machines? Posted: 28 May 2021 08:01 AM PDT I have to disable ipv6 on 100+ servers. Obviously I don't want to edit grub of every server by hand, and don't want to play around with sed or other crazy stuff. I tried to do this: But now my machine won't boot! I need a proper, clean, portable solution to disable ipv6 on ubuntu 18.04 :( |
OpenSSL: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol Posted: 28 May 2021 08:23 AM PDT I am trying to connect to a ip port using Showing error as It is getting connected but showing ssl connection issue |
Your database files were created by PostgreSQL version 13 Posted: 28 May 2021 07:20 AM PDT OS is openSUSE Tumbleweed. Previously I had PostgreSQL 13 installed. I just removed it by: Then I install PostgreSQL 12 by instructions here: But the database status is faulty: For some reason, whatever I try, I cannot get rid of these status errors:
How can I install PostgreSQL 12 and get rid of PostgreSQL 13 database files? |
Shutdown and reboot privileges Posted: 28 May 2021 08:18 AM PDT While I tried 'reboot' through normal user (non-root), it went through. I tried 'shutdown' through same user, it also went through after scheduling the shutdown. But when i tried sudo shutdown through same user, it didnt work. error: Questions - How come a normal user do reboot or shutdown? Is it not a security concern ? Question - if 'shutdown' is working, than why not 'sudo shutdown' ? Request to pls explain. |
I cannot update my system with `pacman` Posted: 28 May 2021 09:19 AM PDT Trying to update my system, I get the error: failed to prepare transaction (could not satisfy dependencies). This is what I get: I then try to remove the package I looked at this web page, but here they can uninstall the problematic package, while I cannot, since What should I do at this point? |
Xfce: Tab Key No Longer Navigates Within Some Dialog Windows Posted: 28 May 2021 07:42 AM PDT Xfce 4.10 For example, This just started happening recently and I've been unable to find a solution - any ideas for smarter searches appreciated! |
Why can I suddenly not access my command line history? Posted: 28 May 2021 07:49 AM PDT I use
I haven't made any changes to my configuration yesterday (I think), but command line history works for the root user. Permissions on Any idea what has gone wrong - and of course how to fix it? Ideally I want to get back to the situation when anything I wrote on the command line and finished with Enter would be saved to Edit The following variables are set: The local profile contains only default stuff and a coule of lines at the end, that I've added: |
sed command to replace last occurrence of a word in a file with the content of another file Posted: 28 May 2021 08:24 AM PDT
sample_file_path = "/Users/saurav/sample.text" sample_file_path_1 = "/Users/saurav/sample1.text"
Expected output ( Need to use file path variable |
Posted: 28 May 2021 09:05 AM PDT I need to give more space to I umounted /home, after then, and final The issue is that now the I have already tried with Any other ideas. I don't want to reinstall the operating system. Thanks a lot! |
Font bug in Java apps on Arch Linux Posted: 28 May 2021 07:04 AM PDT |
Remove extra header lines from file, except for the first line Posted: 28 May 2021 07:42 AM PDT I have a file that looks like this toy example. My actual file has 4 million lines, about 10 of which I need to delete. I want to delete the lines that look like the header, except for the first line. Final file: How can I do this? |
Checking if a command is a built-in in ksh Posted: 28 May 2021 08:11 AM PDT How can I check if a command is a built-in command for In What I want to do is write an
I already have working functions like this for Here is what I have for This function works for ksh93. However, it appears that ksh88's version of Question: Is there something else I can use in place of SolutionUsing the accepted answer (opening a subshell), here is my updated solution. Place the following in .kshrc: I have tested this with ksh88 in Solaris, AIX, and HP-UX. It works in all the cases I tested. I have also tested this with the modern versions of ksh in FreeBSD, Ubuntu, Fedora, and Debian. |
rsyslog doesnt seem to write to log file, without restart after touch'ing the file Posted: 28 May 2021 08:03 AM PDT I have a separate file for logging Is it mandatory to restart (since the installer is run as |
Use convert to grab a specific page from a PDF file? Posted: 28 May 2021 09:08 AM PDT I know I have done this before, so I'm sure it's possible, I just forget how to do it. There's a way to tell convert to grab a specific page of a PDF, and I'd like to keep the format of that page as PDF. |
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