TransWikia.com
  1. All Categories
  2. Unix & Linux

Unix & Linux : Recent Questions and Answers (Page 52)

Find answers to your questions about Unix & Linux or help others by answering their Unix & Linux questions.

2 values in a variable caused "syntax error in expression"

Normal casewolf@linux:~$ x='10'wolf@linux:~$ if [[ "$x" -eq 10 ]]; then echo True; else echo False; fiTruewolf@linux:~$ My question, let say there are 2 values in y like thiswolf@linux:~$...

Asked on 02/21/2021

1 answer

Unable to send keypress to Xvfb display using XTestFakeKeyEvent in C

Using this short snipped of code I am able to capture events from the keyboard (/dev/input/event1) and print them properly. However, sending them to the Xvfb display using XTestFakeKeyEvent does...

Asked on 02/21/2021 by Az ayd

0 answer

ssh Unable to negotiate: "no matching cipher found", is rejecting cbc

I am trying to ssh to remote machine, the attempt fails:$ ssh -vvv [email protected]_7.7p1, OpenSSL 1.0.2o 27 Mar 2018.....debug2: ciphers ctos: aes128-cbc,3des-cbc,aes192-cbc,aes256-cbcdebug2: ciphers stoc: aes128-cbc,3des-cbc,aes192-cbc,aes256-cbcdebug2: MACs ctos: [email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],hmac-sha2-256,hmac-sha2-512,hmac-sha1debug2:...

Asked on 02/20/2021 by lesnik

5 answer

Show the combined resources used by a single user

I use htop to see the resources consumed by all users in a computational cluster. I'd like to list the combined resources (all CPU & all Mem) used by a...

Asked on 02/20/2021

0 answer

SIGBUS immediately after successful mremap for shared memory

I am using POSIX shared memory. Initially I map four shared memory buffers. One of them exceeds its allocated size so I call mremap:void * remap_shm(void *old_address,...

Asked on 02/20/2021 by RTC222

0 answer

grep returns "Binary file (standard input) matches" when trying to find a string pattern in file

I'm on Ubuntu and I typed cat .bash_history | grep git and it returnedBinary file (standard input) matchesMy bash_history does exist and there are many lines in it that starts...

Asked on 02/19/2021 by answerSeeker

5 answer

What is the equivalent /proc/process_pid/environ file in AIX?

Usually I look this file in Linux using string -a command to see this file. Has AIX something like that? I didn't find anything in /proc/pid_process I use this file...

Asked on 02/18/2021

2 answer

setxkbmap switches between 2 out of 3 layouts

Issuing that command:setxkbmap -layout "us,ua,ru" -variant ",winkeys" -option "grp:shift_caps_toggle,grp_led:scroll" -model pc105 -rules xorgWhen hitting Caps Lock+Shift I'm switching between English (us) and Ukrainian (ua) layouts, but not Russian (ru)....

Asked on 02/17/2021 by archer

1 answer

Grub's console ls command detects one more drive than I really have

I have two drives. The first has only one ext4 partition, which is used to store data. The second has seven partitions, including the EFI boot partition and four operating...

Asked on 02/17/2021

0 answer

packet_write_wait Broken pipe even leaving top running?

This bloody error makes my headache going bigger and bigger everyday. I never met a same situation like this time. Well, after I authenticated into SSH successfully, doing few stuffs...

Asked on 02/17/2021 by Toan Nguyen

6 answer

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP