All Questions

0
votes
0answers
3 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 ...
2
votes
0answers
6 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 ...
0
votes
0answers
6 views

How to get device driver for lubuntu Gnu/Linux on mac?

I am using macOS High Sierra 2017. I flashed lubuntu iso on my usb, and it is showing correctly in the boot menu. However when I boot, lubuntu is not taking any mouse or keyboard input. I thought this ...
1
vote
0answers
14 views

How do I connect to an SSH server with no ciphers in common?

I'm running Kali Linux with ssh -V of OpenSSH_7.7p1 Debian-3, OpenSSL 1.0.2o 27 Mar 2018. I tried to SSH to a server (a hacking challenge) and got the response Unable to negotiate with ********* port ...
0
votes
0answers
4 views

Monit - How to use different configurations for Day and Night time?

What is the most convenient way to configure monit to act different in day and night hours? The only thing I can figure out , is to use a cron job switch the monitrc file - let's say - at midnight, ...
0
votes
0answers
19 views

Should I learn to memorize these keys for Vim for moving - h,l,k,j?

For VIM in command mode, the keys h,l,k, and j are used to move the cursor but I see no point in memorizing these at the moment because when going into insert mode, I use the arrow keys to move the ...
0
votes
0answers
9 views

Setup DNS Forward Server to forward only specific domains

I want to setup DNS Forwarding Server to forward DNS resolution requests for only specific zones. I am using the following config. acl "trusted" { localhost; 10.x.x.x/24; }; options ...
0
votes
0answers
5 views

gdm3 some x-servers

I have user1 1866 0.2 0.3 176888 52872 tty1 Sl+ 12:28 0:02 /usr/libexec/Xorg vt1 -displayfd 3 -auth /run/user/42/gdm/Xauthority -background none -noreset -keeptty -verbose 7 -core I ...
0
votes
1answer
8 views

Determine extra size of hard link tree

It is relatively common to use a "hard link tree" to create a second backup of a folder that is effectively just a copy of the files that have changed since the original backup. For example, rsync ...
0
votes
0answers
9 views

Debian refuses to switch to a different WiFi network

I have multiple WiFi networks in range that are set to automatically connect when available, in case one fails. Whenever I try to manually connect to one of them while being connected to another (for ...
0
votes
1answer
25 views

SCP requires password but if I SSH to the same server it does not

So I setup ssh keys, tested it via cli and all works great. When I go to run a SCP file transfer it asks for my password for both machines, yet if I simply ssh to the same server it does not. Below ...
0
votes
0answers
6 views

Connect HIOKI LR8431 data logger to Linux

I am trying to connect a HIOKI LR8431 data logger to Linux (Ubuntu 18.04 64 bit). There are no native drivers for Linux so I am considering different options. Among other things, I have tried to use ...
0
votes
0answers
17 views

Bash load virtualenv on launch as non-root user in docker

I try to make a custom python docker image that spawns a bash session with virtualenv pre-loaded. In order to achieve that I created a entrypoint.sh script: #!/bin/sh USER_ID=$(id -u developer) ...
0
votes
0answers
19 views

Linker gcc error “ld: cannot find -lc”

I'm using the following command to compile a file in x86_64 architecture and Debian Jessie: gcc -shared -O3 -m64 -fPIC -o obj/optimize/5.0/libahdlcmi_mixer.so ./obj/optimize/5.0/mixer.o -Wl,-rpath,/...
-1
votes
0answers
14 views

Can I connect to my board directly with LAN cable?

I have a nano-pi-m1 board that uses Ubuntu-server OS. I can connect to my board via SSH but I like to know can I connect my board to my laptop directly instead of using a common network(my router)? ...
0
votes
0answers
21 views

Debian 9.5 seems to have automatically updated itself to Debian 9.6

We have several Debian 9.5 servers. However, just a few days after the officially release of Debian 9.6, I noticed that one of our servers had already automatically updated itself to Debian 9.6. We ...
-1
votes
1answer
14 views

Running Qt from launcher

I'm using Linux Mint 19, writing in C++ with the latest Qt Creator, installed with the offline downloader. I've made an application with buttons, each of which launches a different program. It all ...
-1
votes
0answers
3 views

Sound output device not detected in arch linux

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 ...
0
votes
0answers
12 views

Transparent windows Linux Mint 19

How can I get transparent Windows when dragged? There seem to have been a solution in former versions.
-1
votes
2answers
21 views

Recursively find ONLY the latest logs in all sub-folders and save to file

I am working on a RHEL7 box. I need to recursively find all the LATEST (and only the latest) .log files in each sub-folder below a certain hierarchy and list their full paths in a file 'all_logs.txt'...
0
votes
0answers
21 views

What do they mean about “installing in VNC instead of text mode”?

I have tried several times to install Fedora as a guest OS using the VNC mode of Anaconda. Every time the install process just hung. I am not able to connect and just see a black screen on the KVM. ...
0
votes
0answers
9 views

Execute permission automatically set for files edited on VM

I am running a Windows 7 VM on a Ubuntu system using VMWare Workstation 15 pro. I use a VMWare shared folder to work on files on both the host and guest. Whenever I modify a text file (a C file, or a ...
0
votes
3answers
21 views

cutting a directory name with multiple instances of the same delimiter (Shell)

I have directories I want to rename, for example: 10-00017_S9_L001_plasmidspades_careful I want to rename them to just the 10-00017_S9_L001 part I've tried to use the cut command echo "$filename" | ...
0
votes
0answers
10 views

Which packages are installed with the Ubuntu minimal server option?

Which packages are installed with the Ubuntu minimal server option (e.g. on 16.04, Xenial)? Is the minimal server installation congruent with the packages listed in: https://packages.ubuntu.com/...
0
votes
1answer
22 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
30 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-...
-2
votes
0answers
34 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
5 views

Masquerade rule with netfilter-persitent

I use netfilter-persistent to manage a firewall. I would like to share a connection between two interfaces using masquerading (example, or another). When I run those operations by invoking iptables ...
0
votes
0answers
7 views

Ubuntu upgrade from 18.04 to 18.10 got stuck in “Removing xserver-xorg-hwe-16.04 (3:14.1)”

I'm in the process of upgrading from Ubuntu 18.04 LTE to Ubuntu 18.10. I've started do-release-upgrade from inside a GNOME Terminal window. It made some progress but now got stuck in Removing xserver-...
-1
votes
1answer
25 views

sh shell: how to use $1 inside quotes

I am using this code: #!/bin/sh if [ $# -lt 2 ] then echo "wrong syntax" echo "ct_cmp.sh <label1> <label2> [<file_extension>]" else if [ $# -eq 2 ] then ...
0
votes
0answers
15 views

how i can make a custom command for selective copy for certain file type?

I want to write a command that allows me to copy certain file type (ex:*.PDF or *.doc) from unknown destination in the Hdd and paste them to a destination i choose it. Also could i copy the "path" of ...
0
votes
1answer
13 views

journald socket buffering for option ForwardToSyslog

I have a configuration in which journald is set with ForwardToSyslog=yes. Quote from the documentation: If forwarding to syslog is enabled but nothing reads messages from the socket, ...
0
votes
0answers
9 views

VNC Session user

If I enable x11vnc on my system, then is there any way to know who (which IP) have taken the remote session, if any ?
-1
votes
0answers
13 views

ext4magic - recover rm deleted file on ubuntu 18,04 server /dev/md0 RAID

I just accidentally deleted my file called backup.sh which was located on /srv/SCRIPTS/backup.sh My system has 3 Hdd's: HDD1 -> SSD running OS HDD2,HDD3 Software Raid1 on /dev/md0 formatted as ext4 ...
1
vote
1answer
18 views

Can I run wayland application in X?

Is there's wayland server running as X11 client? Like XWayland but reversed.
0
votes
0answers
17 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 ...
-3
votes
1answer
21 views

Web lookup of IP shows one IP address higher than the results of a Traceroute. Why?

When I do a what-is-my-ip it shows me one IP address. When I do a traceroute out to the internet, the first internet address I see is the same as the web browser results but one number lower....
0
votes
1answer
10 views

Exernal addresses not resolving

I recently changed ISPs. I got a new router. After a lot of messing about I have the router running almost the way I want it. However, since then my Raspberry Pi can't resolve external addresses. So, ...
1
vote
0answers
20 views

Does ksh93 support +o type options with its getopts(1) builtin?

ksh93 supports long options the same way as introduced by Sun Microsystems in Spring 2004 for getopt(3), Bourne Shell and ksh88. You may e.g. use: getopt(argc, argv, "V(version)"); to establish a ...
1
vote
1answer
15 views

No clipboard support with X11forwarding?

I've successfully setup X11forwarding from Linux to Mac. Now I'm able to run Thunar and get a window locally. But the clipboard is not shared between the Thunar window and Mac computer. Any ideas?
-4
votes
0answers
14 views

From a txt file doing data manipulationTo write a Shell script [on hold]

I have a file like below (from below 1st image) .(so many records are there , this is a snap shot) I need to write a shell script to find the o/p in two files from the single files . My o/p files ...
-1
votes
0answers
5 views

How to add Firebug Lite on Ubuntu 18.04? 403 Forbidden!

I want to add Firebug Lite to my Chrome browser on Ubuntu 18.04. But it does not work as I hoped How to solve this?
0
votes
0answers
7 views

Changing the dektop manager for one user through VNC

For one of the user, I want to set the default desktop manager to something other than Gnome which is the default one in Centos-7. The user connects through vncviewer. I see a guide here, however, I ...
1
vote
0answers
12 views

Setting the time on Raspberry Pi

Setting the system clock on a Raspberry Pi seems to be a convoluted task. I've never quite understood why keeping computers synced with an internet time server is so complicated. Windows just can't do ...
-1
votes
1answer
15 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
3answers
32 views

sed: replace part of text in previous line if match is found

I want to replace create_test in the file with #create_test if the next line contains psfxxx_16_pi. How can I do it with sed for the whole file containing this? Input file content: create_test -type ...
0
votes
1answer
27 views

Looping through an array with for gives different results

I'm having a somewhat of a problem with an array in bash. Given this array: krn=(linux-image-4.15.0-30-generic linux-image-4.15.0-32-generic linux-image-4.15.0-33-generic) If I use the following ...
0
votes
0answers
10 views

macOS 10.13.6 ssh Keys Get Removed Randomly

Using ssh-keygen, I generated an ssh key. I did not use a passphrase. I added the identity with ssh-add so I didn't have to enter credentials every time I used the key. I have regularly used these ssh ...
0
votes
0answers
9 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
1answer
17 views

Does creating a new shell via bash -c passes environment

Assuming we want to run multiple bash commands via bash -c "command1 && command2 || command3" Will the new shell inherit the environment of the bash -c command?

15 30 50 per page