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.

Filter by
Sorted by
Tagged with
0
votes
0answers
8 views

Netgear39 Removal

I'm using Linux Mint 18.3 Cinnamon 32-bit. I had internet service going with a BrosTrend long range modem adapter, connecting to a Verizon Ellipsis Jetpack MHS900L. Things were going well, but now ...
0
votes
0answers
30 views

How to schedule an at job to take place in the past?

I have an interesting situation where it would be useful to schedule an at job in the past, to be triggered after a reboot on a system that doesn't maintain a real-time clock during power-down. If I ...
-1
votes
1answer
27 views

Cannot install xcb package

I tried sudo -f remove and even autoclean but my new packages and updates aren't getting downloaded. admin@pop-os:~$ sudo apt-get -f install Reading package lists... Done Building dependency tree ...
0
votes
1answer
32 views

Delete directories after compressing with tar

I´m trying to compress a whole directory tree, leaving just one .tar.bz2 file instead of each directory that I found with find. The purpose is to create a cronjob for doing this in weekly basis. The ...
0
votes
1answer
18 views

Feren OS wallpaper

I have just installed Feren OS 20 and I am trying to change the desktop wallpaper from the default to an image I've downloaded from the internet. I've looked all around settings and only managed to ...
0
votes
3answers
64 views

Execute users default shell in a shell script

In a shell script I'd like to execute the users shell and continue the script once the shell finishes. It should look something like this: > myScript.sh Script ouput > echo "shell started ...
4
votes
1answer
297 views

What does “?” means in ls -l output? [duplicate]

I saw a few files/dir are inaccessible even to the root user: find: ‘/run/user/1000/gvfs’: Permission denied. So I went a level deeper and ran ls -l; below is the output. /run/user/125# ll ls: cannot ...
0
votes
0answers
13 views

How to view 802.11 WIFI fragmentation threshold without using iwconfig?

The iw command allows me to set the fragmentation threshold of my wifi device like this: iw phy phy1 set frag <N> but when I run iw phy phy1 info the current fragmentation threshold is not ...
0
votes
1answer
32 views

Linux - Why do i need to use sudo to read a file, although permission for others is set to read

Based on the permission given below others can also read the file. I am logged in as ec2-user but I have to use sudo to read the file. Since permission is given for everyone to read why does it still ...
0
votes
1answer
34 views

why the dynamic linker couldn't resolve reference when a share library has a dependency on other share library?

below is my code: //a.c I don't use header files as this is just for demo purpose. extern void function_b(int num); void function_a(int num) { function_b(num) } //b.c void function_b(int num) ...
0
votes
0answers
11 views

Can't connect to localhost on virtual machine

I have installed Linux on my Chromebook as a virtual machine (standard install by Chrome). I have also installed Bitnami XAMPP stack and Wordpress. Also the linux Chrome browser. The problem is that I ...
0
votes
0answers
16 views

Debian 9.9 installed failed on INTEL SSD DC P4510 SERIES 4.0 TB

During Debian 9.9 installation, it shows: An installation step failed. You can try to run the failing item again from the menu, or skip it and choose something else. The failling step is: Select and ...
0
votes
0answers
7 views

Debian: SMB cannot unmount a shared DVD drive used by SMB

Here's the trace of the problem: I noticed that a DVD drive mapped to a shared location in a Debian-based system cannot detect any new discs. I figured the issue was caused by the fact that new discs ...
0
votes
1answer
34 views

Trouble verifying linux, even after downloading key I get “No public key”

Following these instructions, I downloaded and unpacked the kernel. https://priyachalakkal.wordpress.com/2013/01/19/verifying-digital-signature-using-gpg/ Then I tried to verify the signature but I ...
0
votes
0answers
8 views

Reading Linux_Raid NAS on macos

I extracted an HDD from a NAS since it stopped working. Examining on Mac terminal I get this reading: Terminal Reading I'm only able to mount with extFS for Mac disk5s1 which basically contains the ...
0
votes
2answers
53 views

Why is using /tmp/ more popular and recommended than using /dev/shm?

From my own experience, i noticed that most people use /tmp/ for temp files or to save on disk write, but i don't often see anyone recommending or even using /dev/shm instead. Why is that?
0
votes
0answers
8 views

Linux NI PPS Ingestion

I am trying to get my Linux Controller to ingest a pulse per second to have chrony use as a reference clock. This is all in a NI PXIe chassis. I know that I can use a timing card to send the PPS ...
3
votes
2answers
77 views

how does dynamic linker resolve references in run time? [closed]

let's say I have a source file dll.c that use dlopen and dlsym functions to load a shared library called F.so in run time. dll.c has a reference to some_function(), and F.so has the definition of ...
0
votes
0answers
25 views

Dracut will not create images containing modules not in use by the current system

Ok so dracut is not performing as I believe it should and I cannot find a workaround. I have created several images before but now I am trying to create a live boot initramfs to go along with a custom ...
0
votes
0answers
37 views

Value is required after -x (--tabs)

I try to use "man command" but terminal gives me this output "Value is required after -x (--tabs)". What is this?
0
votes
0answers
8 views

Kali Linux live usb not loading after boot menu

I am currently running kali linux live from a usb with persistence and had never had any issues with it, until now. On the boot menu after selecting “live with persistence” or “live” I reach the ...
3
votes
3answers
131 views

Is it possible to boot in a way that doesn't delete /tmp?

Say I'm running some lengthy process, consisting of two steps: a generates a big intermediate file, say /tmp/aoutput, then b reads that file and does something further with it. Now the system crashed ...
0
votes
2answers
31 views

Where can I find info about specific file(s) on the system?

I was building a simple battery level monitor (in bash) for my personal i3blocks implementation. It's quite obvious that the info I need is available in files in the /sys/class/power_supply/BAT0 ...
-2
votes
2answers
61 views

Using SED and/or AWK to replace line with pattern [closed]

This is the input file def test(): print('do something') #>#> this does something return 0 def new_test(arg): # >#>this too does something x = 0 y = 1 return ...
0
votes
1answer
58 views

fsck: dirty bit is set

This issue began when I force-shutdown my system during an update. After that, I could only boot by changing the boot parameter in grub from "ro" to "rw". Then, every time I boot, ...
0
votes
1answer
6 views

How to use HiDPI mode / scaling in Shotcut?

How to increase UI size, density, font size, and UI scaling to HiDPI mode in Shotcut (using QT) open source editing program?
0
votes
1answer
43 views

Help me find my Debian Linux IRQ Kernel Panic Trace problem

I have been having kernel panic traces crashing my media server. Nothing is running or installed outside the normal Debian packages and nothing that would have anything to do with the kernel. It runs ...
1
vote
1answer
34 views

device names in rfkill output do not match those from ip

The devices listed by the rfkill command are completely different from the device names listed by the ip command: > rfkill ID TYPE DEVICE SOFT HARD 0 wwan tpacpi_wwan_sw ...
0
votes
0answers
27 views

Limiting the resources used by a process

This is now the third time I've had this problem and had to look up how to do it with the specific caveats of my particular instance. As such I want to write a script that will go through all the ...
1
vote
0answers
27 views

Limit processor time of individual processes

We have a shared system/cpu for many students at our university. Everyone can launch processes and there limits on how much processing power a user can take. This works rather well except for some ...
1
vote
1answer
39 views

By creating a new user, does it have read and write permission to its own home directory?

I am totally new to the Linux world. If I create a new user, does it have read and write permission to its own home directory by default? Logically, it should, but I'm not sure.
3
votes
4answers
231 views

Reversing file name change made with find command?

Find is a great utility - and it's versatile. I trying to rename files by adding suffix or prefixes to existing file names. Cool. find -name "*" -exec mv {} {}.yo \; Now here's the though ...
1
vote
1answer
32 views

How EDAC get error notification? from BIOS or memory controller?

We use EDAC to monitor errors on DIMM. I would like to know how EDAC gets notifications about these errors? The memory controller has interrupt to notify BIOS, then BIOS notify OS? The memory ...
0
votes
0answers
41 views

I can’t get to my CentOS 8, Failed to switch root, '/sysroot'

I have only pictures. And I can’t write the Question well. I was starting my laptop (I have Windows 10 Pro and CentOS8). systemctl status initrd-switch-root.service https://i.stack.imgur.com/fuGRU....
0
votes
0answers
16 views

Trying to use inbuilt shell command “update” to flash custom firmware to router and it asks for devname

I'm a newbie to linux and embedded systems and I've been trying to flash my router with custom firmware for a while now. I managed to find a matching .bin file but the included update command needs a &...
0
votes
1answer
18 views

Check installed packages + check effective deployement of packages [to detect problems caused by memory corruption]

My computer has a flawed memory stick for two years and I can't correct this (sticks aren't removable and computer cannot be changed : so it won't be the subject). Sometimes a content is corrupted ...
0
votes
0answers
42 views

Access mounted directory in Linux

I have mounted 2 directories in my Linux system. $ df -h Filesystem Size Used Avail Use% Mounted on devtmpfs 7.7G 0 7.7G 0% /dev tmpfs 7.7G 0 7.7G 0% /dev/shm ...
0
votes
0answers
40 views

Configure Xorg to default to a given GPU in a laptop

I am currently trying to configure Xorg on Linux Mint 20 running on an Asus X570ZD laptop, which has an AMD Ryzen 5 2500U processor. This CPU provides an integrated Vega 8 GPU that is not fully ...
0
votes
1answer
35 views

AWK: how to rewrite contents of a column but preserve the header

I have a very large dataset that I need to manipulate before uploading to a server. The contents of the file are in csv format and the headings must be preserved to ensure the data can match the ...
0
votes
1answer
35 views

How to pass multiple arguments to prompt in Linux command?

If Linux command has single prompt then we can handle it like following - echo "password" | sudo -S ls But startWebLogic.sh has two prompts, one for username and other for password to boot ...
1
vote
0answers
16 views

Backing up UNIX(Linux)-account data

I am experimenting with (main)UNIX users and groups configuration on my system (how many, which names they have, passwords, etc.) in Linux. Would it be possible to create a simple backup of the ...
1
vote
1answer
64 views

Sort files in directories based on filename

I have > 35,000 scanned diapositives from a scientific archive in one directory. (Fortunately, the filenames are rather uniformly formatted: {year}-{place}-{film-#}-{photo-#} OR {year}-{year}-{...
3
votes
1answer
70 views

updatedb can not create temporary file for a custom database file

I am trying to create a custom mlocate db for my home directory. When running the updatedb it complains about inability to open a temporary file. 55;~/>uname -a Linux yoga 4.12.14-lp151.28.59-...
0
votes
0answers
13 views

Smokeping/Cacti ping probes when ICMP is disabled

I have installed smokeping and I want to use it to draw an RTT graph to a couple of servers. The problem is that some of those servers have their ICMP disabled. I have found another ping tool which is ...
0
votes
0answers
9 views

failed to rescan namespace

When using nvme-cli to format nvme, I got: Success formatting namespace:1 failed to rescane namespaces What's the problem?
0
votes
0answers
21 views

ssh localhost returning intermittent unpredictable behaviour

i ran the following command many times. ssh -vvv localhost 'echo hello' however, it returns unpredictable results. sometimes it works perfectly well. at times, i receive the following error. 2020-08-...
0
votes
1answer
14 views

how to connect to multiple ISP using ethernet cable simultaneously

I have an ubuntu machine(with single ethernet port) and 2 ISP connections. Is it possible to - have additional ethernet port using external devices available in the market and make both(inbuilt and ...
0
votes
0answers
19 views

Wifi not working after waking up from sleep mode Pop OS!

I installed Pop OS! recently, and every time I use my laptop after putting it in sleep mode, the WiFi does not work and it shows up as "No Wifi Adapter Found". I tried to search and solve ...
1
vote
0answers
14 views

systemd-logind: Failed to preallocate VT 1: Input/output error

I saw this error in my dmesg: systemd-logind: Failed to preallocate VT 1: Input/output error It is unknown what is this error?
1
vote
0answers
74 views

When you have to use previous or older kernel due to compatibility or dependencies, how long is it safe to use them?

I'm sure a bunch of people are having this issue now. I upgraded Fedora kernel with a magic button in "Software" app and Virtual Box vboxdrv isn't available yet for 5.8 . (Before this last ...

1
3 4
5
6 7
605