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.

0
votes
0answers
19 views

Different ways to execute a binary?

Are there more ways of executing Unix binaries using a terminal (command line)? Using echo as an example: $ /bin/echo "test" test $ cd /bin/ $ ./echo "test" test $ eval echo "test" test
-6
votes
0answers
20 views

Non technical linux based question [on hold]

Linux world. I love Linux so much and also I would like to work as Linux administrator but I need a help which major topic and section want to cover.
0
votes
0answers
5 views

Linux kernel not cross-compiling - how to disable cc1 -quiet flag?

I'm trying to compile the Linux kernel, version 4.12.0, for ARM. I've used a toolchain from toolchains.bootlin.com, and they test all their toolchains by doing exactly what i'm trying to do, but when ...
0
votes
2answers
17 views

How would I interpret this grep command which includes $path?

I am having a hard time understanding what the following grep command is actually doing and would like to get some guidance. I have tried to search everywhere online and even tried looking with the ...
2
votes
1answer
38 views

Bash: Use raw binary in variable as executable?

I'd like to create a variable containing binary data, then execute in a command. Example: #!/bin/bash var="$(cat /bin/sleep)" "$var" 9999
1
vote
1answer
18 views

Bash: Execute command independent of parent PID?

Executing this test.sh script: #!/bin/bash sleep 15 & sleep 2000 Then, viewing the running processes with $ ps auxfwww | grep -i [2]000 -B 10, I get the following 11886 and 11887 PIDs: user ...
1
vote
0answers
9 views

per client filesystem links on nfs

i'd like to create symlinks on an nfs mounted filesystem on a per client basis. i vaguely remember being able to do this a decade ago but cannot find any documentation to this today. essentially, iirc,...
-1
votes
0answers
19 views

How to get three options commands [on hold]

i want to get three options commands. i want to use this three commands together. for example used grep with three options -E -o -P grep -E -P -P '-\d|\d+' filename
0
votes
0answers
12 views

/usr/lib/tracker/tracker-store causes very heavy CPU load on Debian “Buster”

After the last upgrade on: Operating System: Debian GNU/Linux buster/sid Kernel: Linux 4.18.0-2-686-pae Architecture: x86 /usr/lib/tracker/tracker-store eats a huge load of CPU. ...
1
vote
1answer
17 views

Detect key status in zsh from the Linux console

Can zsh detect a key status without a tool that depends on a graphical session? I've overwritten the getty@tty1 service to autologin, and zlogin executes sway. I would like to prevent running a ...
0
votes
1answer
15 views

Some Question About Polling

I'm trying to understand the section 13.2.1 polling[https://www.cs.uic.edu/~jbell/CourseNotes/OperatingSystems/13_IOSystems.html] I don't understand two parts in the link: Is that the ["]4. The ...
0
votes
1answer
26 views

Linux tool for http downloading using multiple connections via multiple interfaces

Is there a tool that allows http file download using multiple network interfaces and multiple connections? I'd like to test my overall internet connection speed by downloading a large file via ...
-1
votes
1answer
14 views

Using Ubuntu 18.04 LTS on Chromebook with crouton

I am planning on buying a Chromebook and using crouton (https://github.com/dnschneid/crouton) to install Linux on it. I want to use a normal install of Ubuntu 18.04 'Bionic Beaver' (preferably the "...
0
votes
1answer
28 views

Why would there be a binary incompatibility between packages for different Linux distributions? [duplicate]

The Linux Standard Base project is an effort to create a binary compatibility between different Linux distributions. But why would this be necessary? The implication is that the source code for the ...
1
vote
1answer
30 views

What are the area(s) of difference between Linux distributions that involve an actual incompatibility? [on hold]

What are the area(s) of difference between Linux distributions that involve an actual incompatibility, or are there none? It seems like most of the "differences" are essentially choices of ...
-1
votes
0answers
26 views

Is there a generally trusted list of tools I should be using to detect and prevent hacking? [on hold]

When I used to use Windows some years ago the general idea that I came to know was. That on a new system first thing to do, setup some ad block, install something to scan for viruses, don't be stupid ...
1
vote
1answer
15 views

Finding duplicate files and moving ONE copy to another drive, deleting all other copies

Actually I am trying to do two different things.... First off is to make a copy (onto my travel HDD) of all the video files, photos and documents, excluding any duplicates. So there is only one copy ...
0
votes
0answers
10 views

What options for the implementation of the insmod on the Linux kernel configuration?

I'm learning to try to make minimal Linux following the tutorial, I tried load a module but I get an error like this: / $ insmod kdb.ko insmod: can't insert 'kdb.ko': Function not implemented / $ I ...
0
votes
0answers
18 views

Why both “/sys/devices/cpu” and “/sys/devices/system/cpu”?

Under /sys/devices, whys is there both /sys/devices/cpu and /sys/devices/system/cpu rather than just one or the other?
1
vote
1answer
27 views

When I see a bunch of `write: broken pipe ` errors for a process what does it mean ?

When I see a bunch of write: broken pipe errors for a process what does it mean ? level=error msg="attach: stdout: write unix /var/run/docker.sock->@: write: broken pipe" Does this mean this ...
0
votes
2answers
34 views

How to keep the user “www-data” when modify file logged in as root?

I gave permission to the user "www-data" in the entire contents of the "/var/www" folder. However, I work with the root user with a private key via SFTP, and whenever I modify a file, the owner of ...
-1
votes
0answers
8 views

Changing the scrollbar for GTK2 themes

I have an issue each time I try to edit my gtkrc. I've modified a gtk2 theme that was included with Xfce and I've adjusted it to my liking. However, I can't seem to get the scrollbar functioning ...
0
votes
1answer
12 views

VNC Server - securely forwards to the localhost connection for VNC

I followed this link https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-vnc-on-ubuntu-18-04 and I created the VNC server in my remote VM, started the VNC server in it and ...
0
votes
1answer
14 views

How to control second script based on fisr script in main script on linux

I have new to scripts .. I want to monitor service on the server - we have two scripts 1 - for checking service is running or not (checking.sh) 2 - start the service (start.sh) I would like to merge ...
0
votes
2answers
28 views

size of file bash [on hold]

i have to show size of all files .conf which are in /etc and redirect size output to a file.txt but i want to add to my command a flag which set a limit of redirected output my command is: find /etc ...
2
votes
2answers
71 views

Show only number and characters not Specific symbols [on hold]

I want to show only the numbers and characters, not other specific symbols. I tried this: grep [0-9,A-Z] ika but working it is not working now, it shows specific symbols also.
2
votes
0answers
24 views

Cannot connect to WiFi with nmcli, although secrets are provided

I am using nmcli on ArchLinux (version 1.14.5dev+17+gba83251bb-1 from the official package repository) to connect to wifi. This works perfectly for all wireless networks apart from this one Vodafone ...
-4
votes
0answers
15 views

File system issue NAS [on hold]

There is NAS share which is mounted correctly, we have to change the permission of that mount point but its not happening if change also again its revert back to same how it was before
-2
votes
0answers
16 views

AWK print different lines in one file

I have this txt file I need the Value for example 6 that belongs to paps9 and successively. I want generate this in another file
2
votes
1answer
37 views

The `PRI` column of `ps` is inconsistent with man pages

I've been trying to understand how scheduling priorities work in linux. Here's what I've got: The kernel uses a priority value for each process which ranges from 0 to 139. The lower the number, the ...
3
votes
0answers
32 views

linux command fails with alloc magic is broken at 0xXXXXX

I have problems booting into my MacBookPro9,2 I have Ubuntu 18.04 LTS. When I try to boot manually I can set the root to (hd1,3) which is the partition I have for Ubuntu. I can’t proceed to boot ...
-2
votes
1answer
7 views

Sound output device not detected in arch linux [on hold]

I have a freshly installed archlinux with gnome in my laptop. There are two users i.e heman, root. The audio output device in detected in user heman. But not in user root (I checked in settings/sound ...
-1
votes
1answer
26 views

Get many options commands

how to get two options commands ? for example i want to get words after and before an numbered get lines. how to get both them ? `grep -B -A -n
0
votes
1answer
39 views

sshfs through two hops?

I want to mount a folder in a remote location to /mnt/volume on my mac but this folder is usually accessed through a login server myname@server-login.com using SSH like ssh -A -Y -o myname@server-...
-3
votes
0answers
35 views

Show all word with up-case and down-case [duplicate]

I want to show all lines which contain hello in upper-case and lower-case words, using grep. for example Hello hello.
0
votes
0answers
24 views

sftp get not working as expected

I'm trying to download a folder from a remote server to my local server but I'm getting unexpected results. I used this to sftp: $ sftp -P [the_port] user@remote_ip this got me into the server. I ...
-1
votes
1answer
17 views

Accessing a linux file content through an url

I want to access a Linux file content through an url. When we access the url we can see the content of that file being displayed in the screen. Is there any procedure to do this.
0
votes
0answers
10 views

How to schedule to run testng.xml file on terminal on linux environment?

I have scripted a Selenium automation testcase. I have generated the testng.xml file which should be executed on the linux terminal at a particular time of my need. Say I want to schdule to execute ...
0
votes
0answers
40 views

How to compare to a character in if else statement

I am comparing 2 datas using sdiff and would like to send the output of to a if else loop to generate lines. Mainly printing "Data Not Scheduled" if < or > is present and "Data Scheduled" otherwise....
0
votes
0answers
20 views

Tightvnc server

I have a VM in which I installed the VNC server (TightVNC) using the link : https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-vnc-on-ubuntu-18-04 It is installed ...
18
votes
2answers
2k views

Date Command Gives Wrong Week Number for Dec 31

When I try to get the week number for Dec 31, it returns 1. When I get the week number for Dec 30, I get 52 --- which is what I would expect. The day Monday is correct. This is on a RPI running Ubuntu....
1
vote
0answers
21 views

How to know the profile of a Linux memory dump with Volatility? [on hold]

I have a Linux memory dump which I need to analyze in order to discover a suspicious PID, however I don't have a profile or anything outside the dump file and using volatility imageinfo doesn't work. ...
0
votes
0answers
35 views

Permission denied (Public Key) [on hold]

I need to access a server with different user, and I always receive the same error message permision denied public key. I also modified the /etc/ssh/sshd_config file to admit root and no password ...
-4
votes
0answers
29 views

I am curious to hear the most recent opinions from Linux System Admins as to which repeated tasks take up a lot of their time? [duplicate]

I am curious to hear the most recent opinions from Linux System Admins out there as to what repeated tasks take up a lot of their time? I am familiar with Sys Admin pain points when working with ...
-3
votes
0answers
41 views

Most time consuming tasks for System Admins when working with Linux? [on hold]

I am curious to hear the most recent opinions from Linux System Admins out there as to what repeated tasks take up a lot of their time? I am familiar with Sys Admin pain points when working with ...
0
votes
0answers
10 views

iptables forwarding incoming IP to another destination IP

server 1.1.1.1 client 2.2.2.2 client: 3.3.3.3 I have a server and two clients, in order to visualize all the trafic in my network from my client 2.2.2.2 i have to forward the trafic between my ...
-2
votes
1answer
14 views

tar directory and exclude multiple subdirectories

I'm trying to tar a whole directory except some subdirs.. The dir my-base-dir is zipped but the excluded dirs/files are also included? tar -cf my-base-dir/bak/site/site.tar my-base-dir --exclude=my-...
0
votes
0answers
15 views

How to set same theme among different desktops

I have several desktops on my box (Mate, Xfce4, Fluxbox, i3) and a display manager (Lightdm). I would like to know if there is a way to set the background, themes, conky,... in all of them without ...
0
votes
1answer
16 views

Ubuntu 14.04 install “old lamp” stack for penetration testing

I am preparing WAF video for my team and I want to test a sample ubuntu server which will be my victim. I'd like to install "old version" of packages and deploy Wordpress on top of it and use some ...
0
votes
1answer
15 views

Manjaro OS shows wrong time

I am using Manjaro OS (Arch Linux based distro) on my HP Notebook 15 with Pentium IV processor. I have tried changing timezones using "Orange Globaltime" built into the distro but despite being ...