Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [linux]

These questions are about Linux in general -- NOT specific to a particular distribution. If the question just happens to be in a Linux environment, please specify your Linux distribution in the body of your question, but do NOT use the /linux tag.

-1
votes
0answers
8 views

Linux with two network connections as VirutalBox VM host: Can I exclusively route VM traffic over one device?

I am trying to do something admittedly a bit exotic: I have a Linux box with VirtualBox on it. This Linux box has an integrated network card and a USB WiFi device. In order to test a few things, I'd ...
-2
votes
1answer
25 views

my question is based on bash script on files

what is the bash script to divide input files which has name end with string"out_root" and script should take input file name and number of output files and number of output files generated should ...
0
votes
1answer
30 views

How do I find a file whose name has five digits, in a row, somewhere in the file name?

Normally, I would ask a professor or classmate this, but as it's a Saturday and everyone is gone. I have to find a file in a directory that has five digits in a row somewhere in the file name. They ...
0
votes
0answers
20 views

How to fix Picked up _JAVA_OPTIONS: no options listed on Linux?

This issues is on Manjaro Deepin 15.9 linux DE. When I run java -version in terminal it outputs this: Picked up _JAVA_OPTIONS: java version "11.0.2" 2019-01-15 LTS Java(TM) SE Runtime ...
0
votes
1answer
15 views

rsync copy file without user and password less access

Please explain below mention command we are not passing username as well password still we can do rsync. rsync -avz rsync.apache.org::apache-dist /path/to/mirror
1
vote
1answer
25 views

Checking if SCTP clients disconnected from SCTP endpoint

I want to properly check if an SCTP client disconnected and try to I want to enable SCTP_STATUS for an SCTP endpoint(i.e. SOCK_SEQPACKET), but I dont seem to be able to set that like explained here ...
0
votes
2answers
36 views

Enter IP at the end of a specific line

I have the following file.txt that follows the same pattern and I want to modify it where this file is by adding an ip: # gfhfhgfh gfhfghgfhgfhgfh MACs # access USER CONSOLA *,!10.249.247.3,!10.249....
1
vote
0answers
20 views

Can I make my own lock screen?

Now my lock screen makes me enter a password. But what if I want to make a custom lock screen like username and password. Is it possible?
0
votes
0answers
16 views

ls hangs after the machine hosting the source folder is paused

I have two instances of RHEL 7 Linux, machine 1 and machine 2. Machine 2 has a folder that is mounted to a remote folder from machine 1. It is done with command: mount -t cifs -o user=aaa,pass=...
1
vote
0answers
30 views

How to prevent automated message being printed every time I sudo, without changing global settings?

At my office whenever I log into a linux server I get a standard message which basically amounts to "You consent to us monitoring you if you use this machine". This has been required part of every ...
0
votes
1answer
12 views

freeradius Login incorrect (Home Server says so) [on hold]

we have freeradius server and i have configured proxy.conf to talked to oneloin cloud service for OTP implementation with Cisco anyconnect VPN. everything working great but somehow after 04:00AM ...
1
vote
2answers
27 views

Removing files in a folder with specific pattern

I have 20 Files in a folder. 10 files naming pattern is PTT-20190118-WA0010.wav and other 10 files naming pattern is PTT-20190118-WA0010_s.wav. How to delete files with "PTT-20190118-WA0010.wav" ...
0
votes
1answer
29 views

When does the loop starting with while [ -n “$1” ]; executes?

I have a shell script with while loop starting with while [ -n "$1" ]; do I know that $1 refers to the argument right after the name of the script, ie firstargument, when I execute ./myscript.sh ...
0
votes
0answers
15 views

Samba shared folder over openvpn very slow - Linux OS

Recently I've installed Ubuntu 18.04 and I've noticed that sharing a samba folder from a Linux server over a openvpn tunnel is very very slow. Tried to avoid using DNS, but still have no results. ...
1
vote
1answer
72 views

How can I match my passwords against Have I Been Pwned?

OK, so I've downloaded all the SHA-1 hashes from Have I Been Pwned, exported everything from my password manager, and processed that into a file with one password per line. How do I match these files ...
0
votes
0answers
30 views

sssd: AD user cannot login in RHEL 7

I can switch to the mentioned domain user with su command from the server, but ssh login is failing. The user domain group is already added in sssd.conf file under "simple_allow_groups" The errors in ...
0
votes
0answers
23 views

Menus and Return commands in Shell; Stuck in a loop

I have a menu that uses the case command to switch to a sub-menu that then calls to a shell script (.functions) as follows: . .functions loop=z while [ "$loop" = z ] do clear tput cup 3 12; echo "...
0
votes
1answer
24 views

Sort Command in Hidden Shell Scripts [on hold]

I have a file called student_data 1001:Jones:Alice:Accounting:105 1320:Moore:Sarah:Mechanical Engineering:80 2100:Olson:Timothy:Computer Systems:66 1520:Mitchell:Barbara:Electrical Engineering:34 ...
-1
votes
1answer
24 views

script calling another script?

ive written a couple a couple of scripts. are they going to work indefinatly and will them eventually overload the CPU? firstly this is on a local nas that for some reason the manufacturer does not ...
0
votes
0answers
16 views

OpenVPN bridge gateway stops all traffic

I am not sure if this is a linux or windows issue. I have openvpn set up with a bridge interface that includes tap0 and eth0. I have my client machine (win10) getting its IP through my dhcp server. ...
1
vote
2answers
36 views

How does the same Linux version work on different hardware

My understanding is that the kernel understands how to communicate with the different hardware in a system via specific device trees. How is it that I can download one version of Ubuntu and I am ...
-2
votes
0answers
13 views

I have decided to load Cinnamon 19.1 on my laptop to learn more about Linux before I go to Linux on my main machine [on hold]

Should I wipe out the Dell portion of my HDD to load Linux on my laptop? Would that still serve a purpose?
-1
votes
0answers
13 views

How does Linux actually perform protocol data unit (PDU) encapsulation?

I understand that as data goes from the upper layers (Application Layer) to the lower layers (Physical/Link Layer(s)), the data is encapsulated. When it goes back up the layers, it is decapsulated. ...
0
votes
2answers
78 views

how to check OS is linux or other? [on hold]

we need to check if the following remote ip's are linux OS or other as win example 12.43.223.4 23.54.67.3 23.5.6.3 we have Linux machine - redhat , and from this machine we need to identify the ...
-1
votes
0answers
15 views

openVAS: uninitialized constant OpenVASOMP::OMPConnectionError [duplicate]

I was searching in many forums regarding this issue like here and here, but they were mentioning using port 9390. As you can see, I am using the port, but I still get the same error. I am using ...
0
votes
1answer
24 views

find and move files without overwriting and with output

I'm trying to find and move some files from /home/user/fol1 to /home/user/fol2. Generally I would use find . -type f -name "abc*" -exec mv -t "/path/to/foo/bar" {} + but this overwrites files with ...
-4
votes
0answers
17 views

how to identify when specific linux server is down and send alert [on hold]

we are having multiple linux servers and need to identify when specific server is down and send alert.
0
votes
0answers
5 views

How to turn off specific display on command line with wayland

Previously I used a linux system which didn't use Wayland and I was able to control my displays through the xrandr program. So to turn off my third display I used this command: $ xrandr --output DP-1 ...
0
votes
0answers
16 views

How to customize debian to run kali tools without using katoolin? [duplicate]

I was installing tools like Snort, Nikto,kismet and I was asked if to run those tools as a root user. But people are suggesting not to run as a root user and in debian these tools did not run as a ...
0
votes
0answers
16 views

Create a video from pictures and audio for each picture

I have many slides (pictures) and spoken audio for each slide. Can I turn this into a video? How long each slide is shown is determined by the length of its audio. Can I somehow script this and ...
0
votes
0answers
31 views

How to interpret the result of “lspci -vv” with respect to PCIe lanes and PCIe 2 vs 3 speeds?

I just came across this question and its excellent answers ("How to check how many lanes are used by the PCIe card?"). I am just looking at the output of lspci -vv for a GTX 1050ti graphics card and I ...
-1
votes
3answers
51 views

How to put a comma between two columns in a text file

This is my text file: 0019121002313002316003135 0057936000814000814003023 0081638001519001523001176 0090531001841001842002633 0111210001515001518000912 0115400001807001828001593 I want the ...
0
votes
0answers
25 views

how does the copy cp command differentiate between the ESP and root partition?

the boot directory exist on both the ESP(sda1) and root(sda5) partition. when i use this sample command to copy vmlinuz and initrd files: sudo cp -a initrd.img-4.15.0-43-generic /boot i was able to ...
0
votes
0answers
10 views

From Internet access single application via VNC like

I am wondering what are my options to access one single gui application remotely, rather than full desktop, as VNC does. Also lag is an issue. Any other way to make remote VNC, super responsive-- may ...
0
votes
2answers
28 views

writing file names from subdirectories to a csv file in linux

Previously I have asked a very similar question but it was only for one subdirectory writing files in a subdirectory to a csv file and save it to parent directory in linux command line. I have a ...
1
vote
2answers
38 views

writing files in a subdirectory to a csv file and save it to parent directory in linux command line

I have a directory called 'dir', and there is a subdirectory in it called 'subdir'. Subdir has many files in it. I would like write to list of these files on a CSV file and save it to in 'dir' ...
1
vote
1answer
24 views

Is there a Linux Equivalent of Macrium Reflect?

I am using dell precision 3520 running ubuntu 18.04 lts. I am trying to replace my HDD with SSD. I would like to have all my data transferred to the new disk. On Windows there is Macrium Reflect to do ...
0
votes
0answers
15 views

Routing public IP address through GRE tunnel

I'm trying to set up a tunnel to route a public address through it. The tunnel itself is working and the destination server receives the requests as well, but it doesn't send any reply if I try to ...
0
votes
0answers
34 views

Changing permissions in a Unix directory

I am not able to change permission on a directory I created on the Unix server. This is how the structure looks $ ls engany N832342 N854431 zabbix $ Now I want to change the permission in ...
0
votes
1answer
30 views

view excel files in linux command line without installing any packages

I am connected to a server where I don't have sudo privileges to install packages such as Libreoffice. I only want to view an excel file might be .xlsx or .xls on linux terminal with a command line, ...
0
votes
1answer
28 views

Renaming Multiple files in different directories [duplicate]

I have about 5TB of data stored on Synology NAS servers with a DSM of 6.1+, so bash should be available for use on these systems. The issue is that we are currently archiving this data to external ...
2
votes
1answer
40 views

UTF8 Character Makes File Inaccessible

If I run: scp me@example.com:/home/me/cömmön_file.jpg /home/me/ from my remote server I get: scp: /home/me/cömmön_file.jpg: No such file or directory If I swap out the utf8 characters though ...
0
votes
0answers
28 views

are following assertions about linux load and tomcat right? [on hold]

I am looking to understand precisely how to use the load average and cpu usage on a Red hat machine that hosts a Tomcat 8 only. After looking on the net, I concluded the following assertions. Are the ...
0
votes
1answer
23 views

Using NVidia GPU on Clevo N871EJ1 laptop

I have a Clevo N871EJ1 (Schenker Media 17) laptop here which gives me quite a headache. I tried to install Ubuntu 18.10, Debian Stretch and Debian Buster (Testing) and all locked up during ...
-2
votes
2answers
51 views

How can i move all files and dir within a dir to its sub dir

Here is the directory listing, Parent dir is B, i want to move/copy C, D and filetest.txt to dir E. How can i do that with a single command.
0
votes
0answers
20 views

How can I get playonlinux to download?

I am trying to download playonlinux but every time I attempt to I always get the same error Package playonlinux is not available but is referred to as another package. This may mean the package is ...
0
votes
1answer
15 views

How to distinguish attached monitors?

To automatically change the display layout of the Xserver when I dock my laptop I need not only detect that this event actually happened but also which monitors are connected to be able to distinguish ...
0
votes
0answers
17 views

How can I determine which thread raised a signal? [migrated]

I have a multi-threaded application with a signal handler. In my signal handling function, how can I determine which thread the signal came from? I have looked in the siginfo_t that gets passed in, ...
0
votes
3answers
31 views

Using xargs command

Can i use ls - t | xargs > output.txt by being outside the directory for example I want to access /home/123/script/final directory and then perform the above function. Something like this: ls - ...
0
votes
0answers
18 views

How migrate from Openstack KVM VM to KVM

I have one VM in Openstack that VM in qcow format . I want to migrate it to another datacenter KVM VM machine but it supports ISO file.