Recent Questions - Unix & Linux Stack Exchange |
- ^[ in debian login prompt - cannot login
- gpg-agent (macOS) doesn't provide any key for SSH
- In syslog or rsyslog, are ring buffer, queue of message, and write buffer the same?
- thread profiling and monitoring
- Why is the EXT3 FS size much smaller vs. partition size?
- How can I get Windows to let me always boot straight into grub
- How to retrieve the I/O state of individual DDR4 memory chips
- samba 4 and encryption with windows 10 and smb.conf
- Linux Bash syntax
- Why can't connect internet after replacing the moterboard?
- How to determine if the device is battery-less or not using c++ program
- Is there a way to get the modern app launchers on xfce?
- find value and write it in 12,2 chars long format
- compare the word after char occurence in each line
- possible to create a symbolic link to a existed directory? [closed]
- Help with while on unix shell script [closed]
- split a multifasta file into different files with new headers
- can't use RDP client with VPN on
- Kali Error while installing any package
- System freeze on reboot/shutdown
- date command in busybox not accepting formatted input date
- How to identify window by clicking in Wayland
- After logging in and downloading cookies using --cookie-jar, how do we use the downloaded cookies to access the page again?
- Kali Linux gray screen when booting
- How to tell which WINEPREFIX is in use
- Failover default route on primary link outage
- Duplex printing options using lp or lpr
- ssh-agent not getting set up (SSH_AUTH_SOCK, SSH_AGENT_PID env vars not set)
- lrzsz doesn't working in my Mac OS X
^[ in debian login prompt - cannot login Posted: 01 Apr 2021 10:12 AM PDT I'm trying to use Debian on an Intel Compute Stick. I am using the ISO Image firmware-10.9.0-amd64-netinst.iso as the Compute Stick uses proprietary WiFi Drivers. I can progress through the graphical install without issue, and select to install the operating system with no desktop environment. When the machine reboots post-install, I am greeted with the login prompt. I can type my username in correctly once, but the system them tells me my password is incorrect. When I next attempt to login, instead of displaying the correct character, the characters ^[ are prepended. For example, if I type "e", "^[e" is displayed on the prompt. I suspect these characters are being typed into the password field,and things are going wrong when I press enter after the username. If I press CTRL-C, or switch to a different VTTY, the login field works correctly, but again, the password and future attempts have the same issue. I have tried using both UK and US keyboards, with both the UK and US layouts selected at install time, but this does not solve the issue. The issue occurs using both the normal and numpad enter key. I would like to know what these characters mean, and how to go about solving this issue. |
gpg-agent (macOS) doesn't provide any key for SSH Posted: 01 Apr 2021 09:40 AM PDT There are several topics addressing similar issues, but none of the solutions provided there work for my environment, being:
The ~/.gnupg/gpg-agent.conf file: The ~/.gnupg/sshcontrol file: The ~/.zshrc file: I made sure ssh-agent is not running (also rebooted the system to be sure). But no keys are found when running: What am i missing? |
In syslog or rsyslog, are ring buffer, queue of message, and write buffer the same? Posted: 01 Apr 2021 10:11 AM PDT I am wondering how ring buffer and queue and write buffer work together in syslogd or rsyslogd. Are the ring buffer, the queue of messages, and the write buffer the same?
When syslogd or rsyslogd writes new logs into the ring buffer, does it also write the same new logs to file |
thread profiling and monitoring Posted: 01 Apr 2021 08:32 AM PDT how can I get lock time values specifically of the threads of any process? in linux.. I was using the command /proc/pid/stat but I am unable to determine which values are of lock time. |
Why is the EXT3 FS size much smaller vs. partition size? Posted: 01 Apr 2021 09:05 AM PDT We have a partition, which is exactly 50 GByte sized: And we have an EXT3 FS on it, which in 100% filling up the partition, so the partition doesn't have any free. But the EXT3 FS size (not the free space) is much smaller than the partition size: 50141/1024 is just 48,9 GBytes. The big question: Where did the (51200 - 50141) 1059 MBytes go? Already thinked about it: There are 242131 inodes, maybe that consumes 1059 MBytes? But we are talking about the FS size, not the available space in the FS. inodes could take free space, but not the filesystem size. And yes, as said, FS is at 100% of the partition (disk itself): And yes, the "/etc/mke2fs.conf" is the default, what a SLES12.3 gives. |
How can I get Windows to let me always boot straight into grub Posted: 01 Apr 2021 07:59 AM PDT I dualboot Ubuntu and Windows and have 2 SSD's. The first one, 1TB is dedicated to Windows and the other, 500GB is for Ubuntu. I had it setup to boot into Grub but every time Windows would upgrade or something, it seemed to trash that and the system would just boot straight into Windows. So I have been just hitting F11 on boot to get the options up and then selecting Ubuntu when I need it, which takes me to grub and then I actually select it. All this works, but it's a bit of pain. Is there an easier way to configure this? I don't want to have to set things up again every time Windows updates. Even just defaulting to the BIOS boot menu every startup would do, but I don't see a way in the BIOS to set that (MSI B450 MB). If it helps: What's weird about that is the second Ubuntu option points at the 1TB disc (according to the name that comes up in the boot menu), which doesn't have an Ubuntu installation. But it seems to work, and launches the installation on the 500GB disc. This option I had deleted a couple of times, but every time Windows messes with it, it adds that option back. So hitting Boot0001 or Boot0002 takes me to grub whose menu is: |
How to retrieve the I/O state of individual DDR4 memory chips Posted: 01 Apr 2021 07:30 AM PDT I've been wanting to put more use to the RGB of my machine for more than just simple aesthetics, but actual machine state monitoring for particular devices... I have some corsair RAM with 10 RGB LEDs and 16 DDR4 packages on each module, and what I'd like to do is control 8 of the LEDs, dedicating particular diodes to particular chip I/O states through software... How can I retrieve the necessary information to know when a particular package is being read from or written to so I can update the associated LEDs appropriately? |
samba 4 and encryption with windows 10 and smb.conf Posted: 01 Apr 2021 07:43 AM PDT In RHEL/CentOS 7.9 x86-64 with samba-4.10.16-9.el7_9 I have all local user accounts in From a windows 10 pc, when someone does I believe it is, per https://wiki.samba.org/index.php/Samba_Security_Documentation#Simplified_overview_of_Samba_encryption
Is my smb.conf shown above correct regarding having a samba share and encryption... is that all that is needed? If you don't explicitly force SMB3 state And did something change with Microsoft Windows 10 (or maybe it was win7) because I specifically remember that min protocol = smb3 did not work and had to say smb2 there; but right now it is working with smb3. So if anyone knows something specifically to set in the microsoft window 7/8/10 operating system that may be relevant (registry setting) please share. |
Posted: 01 Apr 2021 07:30 AM PDT I don't understand what it means in a Linux Bash shell script: Can anyone explain? |
Why can't connect internet after replacing the moterboard? Posted: 01 Apr 2021 07:11 AM PDT My old pc use a H81M motherboard for 8 years,dual os--win10 and debian installed in it,today i buy a new M81H motherboard (same H81M board,different brand) and replace the old one. How to fix it? |
How to determine if the device is battery-less or not using c++ program Posted: 01 Apr 2021 06:30 AM PDT I have a requirement to determine if the device on which my c++ application is running is battery less or not. I didn't find a standard way to do this. I found some terminal commands such as upower -d which gives an attribute 'on-battery': yes/no. But is upower installed by default on all linux systems? If not what else can be used? Thanks! |
Is there a way to get the modern app launchers on xfce? Posted: 01 Apr 2021 07:32 AM PDT I am tired of searching for a way to open apps like it is in windows or other DEs like cinnamon where you click the app launcher and it opens with leaving a indicator on the app launcher. |
find value and write it in 12,2 chars long format Posted: 01 Apr 2021 07:32 AM PDT example input: find lines that start with one of these: :60F: :61: :62M: :60M: :62F: find value that starts after string C, or D, or PLN (value in example is 4138,23 and 13,61) write value in format of 12,2 characters needed output: EDIT: before I've used awk to change date format from YYMMDD to YYMMDDMM like this: now I try to do same with adding zeros but do not now how to search in awk between two different chars/strings (D,C,PLN and comma) |
compare the word after char occurence in each line Posted: 01 Apr 2021 08:21 AM PDT I have a file with many number of lines like below. I have to output the lines with abc excatly after 4th occurence of the ) [close bracket]. So output should be: |
possible to create a symbolic link to a existed directory? [closed] Posted: 01 Apr 2021 09:06 AM PDT I have this directory with some files:
I want to merge the content in: I did: it will always create a new folder named the result is not my expectation. |
Help with while on unix shell script [closed] Posted: 01 Apr 2021 08:52 AM PDT This script is supposed to obtain the user's name and print it 5 times. After that, it asks the user if they want to continue. If the answer is y or Y, the program keeps printing. I am stuck. |
split a multifasta file into different files with new headers Posted: 01 Apr 2021 09:55 AM PDT Input file: Desired output: four separate output files:
The multifasta input file ( Similarly the other output files as Tried the following code: Resulting in fasta output files with following names: |
can't use RDP client with VPN on Posted: 01 Apr 2021 07:51 AM PDT As soon as I turn on my corporate VPN, I d rather have both, how I can achieve that? I am on: remmina version: 1.3.3 I do not have access to VPN server, it's a corporate environnement so I won't be able to modify any settings there. I am not sure I should dump all Some information on VPN (OpenVPN): |
Kali Error while installing any package Posted: 01 Apr 2021 10:06 AM PDT I had recently installed kali from parrot. After Successful installation. I run Now I am unable to install any package. It shows me error: When I try to run This is my /etc/apt/sources.list: And, ''apt-cache policy mutter'': Please Help. Is anything extra I had to Post? |
System freeze on reboot/shutdown Posted: 01 Apr 2021 08:48 AM PDT My laptop is an Acer predator helios 300 with intel i7-7700hq and an NVIDIA GTX 1050ti. It had a 128GB NVME SSD and 1TB hard disk. I had dual boot on it with fedora 29 installed on the SSD and Mint Tessa installed on the Hard Disk. I deleted all the fedora partitions including the EFI partition from within mint using GParted. After that even Mint did not boot up. I tried to install Deepin OS 15.10 on the SSD and freed all the space on the HDD in the process. While the installation completed without an issue, it just freezes completely whenever I hit shutdown or restart. The exact same thing happens with Manjaro Deepin 18.0.2 as well as Elementary OS 5.0 Juno. I tried setting 1) I saw people claiming this to be a display driver issue. I am not sure but this seems unlikely as I had faced issues with the nouveau drivers earlier and those mostly led to blank screens on startup. I may be wrong here though. 2) This may be an issue with the UEFI bootloader as on rare occasions when the system does not freeze on pressing shut down immediately, it stops at 3) I tried some of the UEFI related options like enabling and disabling secure boot. To no avail. Any help is very very welcome. I am not able to do any work as I don't want to hard shut down my laptop again and again. |
date command in busybox not accepting formatted input date Posted: 01 Apr 2021 06:39 AM PDT I want to set the date using busybox's What my
It returns the date in the exact same format as above. But It would not accept this when I use the This fails for example: I know busybox commands are reduced in function, but I imagined that when it can handle the format string to print the current date in the desired form, then it should also be able to use it to interpret an input string. |
How to identify window by clicking in Wayland Posted: 01 Apr 2021 09:34 AM PDT I'd like to identify which process a window belongs to in Wayland. Is there anything like |
Posted: 01 Apr 2021 07:01 AM PDT I used the command below to download cookie using CURL in bash. How do I use this file (cookies.txt) to access the page? |
Kali Linux gray screen when booting Posted: 01 Apr 2021 09:02 AM PDT I've just installed Kali Linux 2016.1. The installation was successful at first, the Grub worked normally. But after that, quite often, when I boot I can't see the Grub screen, after a few seconds, I automatically enter the login screen of Linux, but half of the screen was static and become grayer and grayer, when I enter the root user and password, it's still login, but the screen now was fuzzing up and becomes grayer and grayer and I can't do anything with this. I can't even access the BIOS (the words "Press ESC to enter BIOS", which normally appear when I start computer doesn't show up). Sometimes I can enter Grub normally, but when I use Kali Linux, sometimes, a black screen appears in a second and then it returns to the normal screen. I tried to search, but doesn't find any suitable solution. I'm using HP Elitebook 8460. |
How to tell which WINEPREFIX is in use Posted: 01 Apr 2021 06:50 AM PDT Is there a command to see which wineprefix is currently active when I run |
Failover default route on primary link outage Posted: 01 Apr 2021 10:00 AM PDT I have 2 ISPs, and a server with two IP addresses, something like this: I have set App is working fine this way, and Linux box is set with policy based routing to avoid asymmetric routing of connections. Outgoing packets leave through same interface incoming connections were established through. Now, only problem left is that I have set a single default gateway, One way I could do it is with cronjob that will ping some host and if ping fails, change the default route to Any suggestions on how to failover default route? |
Duplex printing options using lp or lpr Posted: 01 Apr 2021 09:59 AM PDT The default options for a Brother MFC-9340CDW printer, are reportedly (e.g. querried via Though a simple Even manually setting the options of interest in the command line directly does not complete as expected, e.g. prints a Short-Edge binded print-out. Strangely, setting the Where (else) are Duplex printing related options set? Details
|
ssh-agent not getting set up (SSH_AUTH_SOCK, SSH_AGENT_PID env vars not set) Posted: 01 Apr 2021 10:11 AM PDT I set up a new user account for a friend on Kubuntu 12.04. When he uses
We're running After looking around at the wide variety of things that can lead to that error, I came across this solution: Then he can run the Before running those two commands, the env variables are not set in a terminal: After running the commands, the env variables are set as expected. However, they do not stay set (e.g., in a different shell or after rebooting). I want to know how to set up his computer so he doesn't have to run those two commands to set the env variables. I do not need to run them on my computer (ever). So far I am not seeing what is different between our machines. I see this info in the man page, but it does not tell me how Ubuntu is normally setting up the agent automatically or what is happening on my friend's machine so that this is not working for him.
After installing From the man page:
I'm not sure if that is significant. |
lrzsz doesn't working in my Mac OS X Posted: 01 Apr 2021 08:04 AM PDT When I was used secureCRT in Windows, I often used
The terminal client got a hang. What's the problem? |
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