All Questions

0
votes
0answers
10 views

Issues with Installing Powershell to Kali Machine

I am having some issues installing powershell to my kali linux machine. I am following this guide: https://www.kali.org/tutorials/installing-powershell-on-kali-linux/ apt update && apt -y ...
0
votes
0answers
7 views

Is there a GUI video clipper that works with Debian testing software

I want something like this, that takes mp4 or webm videos from youtube, and let's you cut segments from them. the video clippers are usually easier to use than kdenlive or openshot, which I find ...
0
votes
0answers
8 views

Convert JSON with raw characters in string

Had a problem with a tool that was generating illegal JSON. Some of the JSON strings contained characters in the range 00-1f. So I wanted to convert these characters to correctly escaped valued \...
0
votes
1answer
8 views

ps + what is the meaning of R / D flag

what is the meaning of R / D from ps ax is it indicate on some problem ? 3 ? R 522:45 [ksoftirqd/0] 4380 ? Rl 1240:31 gdm-session-worker [pam/gdm-launch-environment] ...
0
votes
0answers
5 views

Parallelize with SGE_TASK_ID

I have a block of code that works as I want it to but is really inefficient. for f in *.GeneSet; do #Figure out the cell type by removing "Genes.GeneSet" from the end of the filename cell_type=${f%...
0
votes
1answer
32 views

Why does the process ID change in the output of “ps -l”?

Whenever I run a command in the terminal on Linux, at runtime, its PID changes. The command I used after running one program two times at runtime, was ps -l. Why does the program change process ID?
1
vote
2answers
22 views

Remove all matches containing a string until its next space

I want to delete all matches in a text following this pattern: Each match starts with linux- Each match ends with a space (Remove linux-* until immediate next space) EXAMPLE: From this text: ...
0
votes
0answers
12 views

AntiX Full, how to properly install Xfce with everything 100% working

sudo apt-get install xserver-xorg x11-xserver-utils xfonts-base x11-utils lightdm lightdm-gtk-greeter xfce4 xfce4-goodies -y --allow-unauthenticated Reboot. The above command works.. but XFCE isn't ...
0
votes
0answers
6 views

All processes seem to be ignoring certain signals

A couple of cloud servers we recently provisioned seem to ignore signals by default. I can figure out what has been configured to cause this behaviour and it is affecting both ctrl+c and bash scripts ...
-1
votes
1answer
30 views

Using sudo: file system with the 'nosuid' option

In this Linux playground I create a new user, add it to the sudo group and try to use sudo without success. I get the error message: sudo: effective uid is not 0, is /user/bin/sudo on a file system ...
0
votes
1answer
13 views

uninitialized pointers dangerous?

I read, that pointers (in C), that are not initialized, could point to an address that contain data or program code from other programs. In the book it says, that this can cause damage. Is this issue ...
0
votes
0answers
17 views

lsusb does not show all devices

The lsusb command is not showing one of the attached USB devices with the 4.14 linux kernel. The same hardware works correctly with the 4.9, 4.4, and 3.2 kernels. The 'missing' USB device is detected,...
-2
votes
0answers
11 views

Do SPICE, XPRA and VNC work as alternatives to each other?

Do SPICE (https://spice-space.org/ and https://en.wikipedia.org/wiki/Simple_Protocol_for_Independent_Computing_Environments), xpra and vnc work as alternative to each other? Thanks.
0
votes
1answer
34 views

How can I find out which processes are using or listening on which network interfaces?

ifconfig lists several network interfaces, some of which are virtual ones. How can I find out which processes are using or listening on which network interfaces? Thanks. $ ifconfig docker0: flags=...
1
vote
1answer
16 views

Is there a way to list the kernel threads that are created by the kernel only?

The command ps aux | grep ] will list all the running kernel threads (the kernel threads that are crated by the kernel, and the kernel threads that are crated by someone else). Is there a way to list ...
2
votes
1answer
55 views

Which network interface or IP address in the guest OS corresponds to which in the host OS?

I heard that a guest OS and a host OS in KVM can communicate via having network interfaces or IP addresses in the same private network. I also heard that You can see its IP addresses and network ...
1
vote
4answers
36 views

Is there any command line to see the missing files on Linux? [duplicate]

Is there any command line to see the missing files on Linux. I have a list of files start from 000 to 073 in the terminal folder on MobaXterm. But as you see in the picture below 070 is missing. ...
2
votes
1answer
20 views

Unable to locate package spice-vdagent in debian

I am running a live debian as a guest OS in VMM. $ sudo apt install spice-vdagent ... E: unable to locate package spice-vdagent Do I need to add some repository first? The repository configuration ...
1
vote
1answer
35 views

What are equivalences to QEMU/KVM in VirtualBox?

Are QEMU and KVM both kernel modules? In VirtualBox, what are the equivalences to these kernel modules? Thanks.
0
votes
0answers
27 views

Linux directories read/write behaviour?

I need to know how the directories of a Linux system are used, in relation to their approximate read/write behaviour in time. So far I have not been able to find any references. Can anybody provide ...
0
votes
0answers
13 views

Error compiling mosquitto_auth_plug

My config.mk file has the following settings: # Select your backends from this list BACKEND_CDB ?= no BACKEND_MYSQL ?= no BACKEND_SQLITE ?= no BACKEND_REDIS ?= no BACKEND_POSTGRES ?= yes BACKEND_LDAP ...
0
votes
0answers
25 views

How to fix “Account starting with zero”

Because this company uses Centrify, I made a local Oracle account starting with zero on another server so as not to conflict with the original. No problem except when my scripts email me I get: ...
0
votes
1answer
27 views

awk + how to capture the third field on both characters

from ps ax we get the following output ps ax PID TTY STAT TIME COMMAND 1 ? Rs 611:56 /usr/lib/systemd/systemd --switched-root --system --deserialize 21 2 ? S ...
0
votes
2answers
19 views

How to find top memory & CPU consuming process for particular time?

I have checked the sar report and found that CPU & Memory is getting utilized much more at particular time (for ex. day ago). Is it possible to find which process was taking much CPU & Mem? ...
0
votes
1answer
19 views

Find Consecutive error in file and list file names

I got this project to analysis my logs where i need to find any consecutive errors occured more then thrice and list logs name . As i logs were huge , i wrote below script to help myself. for i in `...
0
votes
0answers
20 views

ORA-09925 when login to Oracle in Manjaro

I have installed Oracle 12c in my Manjaro PC, and i can't login because i got this error: ORA-09925: Message 9925 not found; No message file for product=RDBMS, facility=ORA Linux-x86_64 Error: 2: No ...
0
votes
1answer
21 views

How to pass parameter (= path with * ) to bash script

can anyone here tell me why the * is not passed to the bash shell script? My script named as top40 is #!/bin/bash sudo du -shx $1 | sort -rh | head -n 40 when I try to run it as top40 /var/* the *...
-2
votes
1answer
23 views

Two process with identical PID after a fork call

According to the fork documentation (man 2 fork): The child process is an exact duplicate of the parent process except for the following points: The child has its own unique process ID, and ...
7
votes
1answer
1k views

What does the “3am” section means in manpages?

I found this accidentally. I just typed man fork, and instead of showing the system call documentation, it showed to me an awk extension, however, the section page number was 3am, instead of just 3. ...
0
votes
1answer
13 views

Boot and install broken because of half-lib-c installation

I was trying to install wavemon and I ended up breaking up my apt-get by half installing some libc related packages. My system doesn't boot to login screen anymore. root@pc:~# apt-get check Reading ...
1
vote
0answers
27 views

disks are SSD, but /sys/block/vdb/queue/rotational says it's rotational - should i worry?

Is it a problem when the system believes a device to be rotational, but it is SSD really? The system is: Ubuntu 18.04 KVM virtualized I have /dev/vda as "local", /dev/vdb as "isilon"; I'm interested ...
0
votes
0answers
17 views

systemd - mount mount process exited, code=exited status=32

First Boot always fails. Is it possible to make it work ? Working on modified OS image. Where it uses kernel of version 3.10 (Centos 7.6) but grub is still old version 0.97. When deployment of OS ...
1
vote
0answers
18 views

Disk utilization on mdadm raid 5 is 100% even though none of the member disks is at 100%

I am currently confused about the disk utilisation of one of my machines. The setup: I have a machine containing 4 2TB HDDs. For those HDDs I used mdadm to configure a RAID 5 (called md2) On MD2, I ...
0
votes
1answer
15 views

CentOS Loosing internet connection

I have configured CentOS VM. Question: When I start VM I have access to the internet, but after a while I lose it. How can I fix that issue? PS NetworkManager is disabled
0
votes
1answer
23 views

Can one file be owned by two RPM packages?

Below commands show that one file is owned by two packages. Is there something wrong or is this an expected/acceptable behaviour with RPM packages? $rpm -qf /bin/ls coreutils-8.4-46.el6.x86_64 ...
-3
votes
0answers
29 views

Compare columns and find the difference from a table dynamically

I have a table with 3 columns,first column is some parameter and remaining 3 are last 1 week count of those parameter and has content similar like below. first row is table columns from oracle. I have ...
-2
votes
1answer
21 views

Close Session/Close Terminal using command in AIX [on hold]

I want to close my session or close the terminal using a script. I am using AIX.
3
votes
1answer
38 views

Have systemd not kill your service if it is in a state it should not be killed

I have a question regarding the configuration of a systemd service. The service application is an application the controls a machine. Within the application the SIGINT, SIGTERM, SIGQUIT and SIGHUP ...
-1
votes
1answer
19 views

How do we get the readable string from big endian hex string

How do we get the readable string from hex string 0049006e00740072006f of BE which means as normal word, ie. we dont have to swap the byte pair per word tried with xxd in vain, cause I dont know ...
0
votes
1answer
21 views

Logrotate is not compressing

I need to compress the files in var/log/remots/*/* with the following logrotate rule /var/log/remots/*/* { rotate 178 daily maxage 178 compress } located in /etc/logrotate.d/remots. ...
1
vote
1answer
18 views

Check ntp server authentication with chronyd client

Is there an alternative for ntpq -c as, while using chronyd as client? While using ntpd as client, ntpq -c as provides details about authentication of client to server using keys.
0
votes
0answers
16 views

LINUX-how retrieve error from running applications

I'm working with a Python script on Linux Debian (Raspberry Weezy), I've succesfully debugged script by looking to the /proc//fd/1 files to know what happen when the script is not responding (script ...
1
vote
0answers
12 views

journald flooded by kernel messages

My journald log was at some point filled up with kernel messages like this. Mar 12 05:03:53 workstation.mydomain kernel: FAT-fs (sdd1): FAT read failed (blocknr 1785) Each followed by a message ...
0
votes
0answers
12 views

Setup IP and port forwarding in AWS

I have a web server in AWS EC2 for example with http://11.22.33.44 listening to port 80. I would like to do something like port forwarding such as if I'm browsing the website IP from my home network ...
0
votes
0answers
3 views

udev + pmount usb automount fail

Why doesn't udev automount usb device with pmount? udev rule is generally working (detects and executes commands), but RUN+="/usr/bin/pmount [options] %k" only creates /media/sdXX with a file ....
3
votes
2answers
156 views

How to obtain only positive value in second column [on hold]

I use this command awk 'NR%2{t=$1;next}{print $1-t,$2}' to get the distance between two consecutive Y points in a file. But I would like to have all positive numbers. How to get that ? like ...
2
votes
1answer
313 views

Find fails if filename contains brackets

I'm trying to use find inside a loop to create a variable that contains a file matching the filename + desired string Example: file1.en.srt file1.mkv file1.pt.srt This is the relevant part of the ...
0
votes
0answers
27 views

Characters like @ at shutdown

On the linux distros I use, debian and fedora, and on the laptops I have, when I shutdown, I see @ or sometimes other characters, on the console (next to normal sector clean /dev/xxx message) and I ...
0
votes
0answers
17 views

How to compare du command output using shell variable [duplicate]

#!/bin/bash var=$(du -s /data/dir1/ | awk '{print $1}') if [$var -ge 5000]; then echo "The size is more $var" else echo "The size is less $var" fi The du command works fine at shell. When I ...
0
votes
0answers
23 views

How to calculate the wavelength of a oscillating data [on hold]

I have a data that generates a oscillating diagram. [ Now I would like to calculate the wavelength of this data? i.e. the distance between each crests of the oscillating figure. What is the best ...

15 30 50 per page