0
votes
0answers
3 views

Desktop manager crashes when launching PyCharm

Ubuntu 14.04, this happens with every kernel older than 4.0.0 Corresponding syslog entries: Apr 30 16:08:37 insanity gnome-session[2268]: Gdk-WARNING: gnome-session: Fatal IO error 11 (Resource ...
0
votes
1answer
7 views

File Path problem

I am relatively new to Unix, so perhaps this is an extremely simple problem. Anyways, the problem is such: I am taking an online course and the professor typed: echo $ path and got this ...
0
votes
1answer
13 views

Wrap and indent text using coreutils

Short version I would like to create a tabular display of multiline text, similar to the following: all Build all targets document Create documentation of source files in the subfolders ...
-1
votes
0answers
8 views

How to show git a list of repositories or dependencies?

Is that possible to do that? If so, thanks. Note: I have Lubuntu 15.10 (which is derivative of distribution Ubuntu)
0
votes
0answers
7 views

How to use ClamAV to scan the memory

How can I only scan the computer RAM for viruses using the ClamAV command clamscan? I already tried, because I found it on ClamWin forum: clamscan --memory But it seems, that the Linux version ...
0
votes
0answers
7 views

do not follow mouse focus

On my Ubuntu 14.04 I have a lightweight window manager wmii where a mouse motion changes a window's focus. This is annoying and I want to change this behaviour, i.e. if only I left-click on a window, ...
-1
votes
0answers
12 views

How to install Octave without GUI in Ubuntu 16.04?

I am really angry. Just installed the new ubuntu and run apt-get install octave. I got tons of crap installed (like Java, some QT libraries, and other pollution). How can I install Octave in Ubuntu ...
0
votes
0answers
3 views

How to use openssl to verify and decrypt a SAML2 response

I wish to see all parameters that are actually passed by my identity provider during a SAML2 single sign on process. The response sent by the IdP is signed and encrypted, I think I have all what is ...
0
votes
0answers
11 views

How to refresh/reload file/directory table of a FAT partition?

I mount my FAT memory card present in my Android device on my computer as a virtual file system (using FUSE) (basically, in USB Mass Storage Mode as a removable disk).. After making changes in it ...
-1
votes
1answer
11 views

Why %H%M%S is not working in .screenrc?

According to this answer, I can rename logfile of screen with date to avoid logfile appending problem But %c used in that answer contains a colon, like 19:00. Since I have to sync files with windows, ...
0
votes
0answers
7 views

Installing Kubuntu from USB

I have a brand new machine and am trying to install Kubuntu 16.04, the latest stable release. On an old machine I have downloaded the iso file from the kubuntu website and created a bootable USB using ...
0
votes
1answer
11 views

Does gnome-terminal modify PATH when invoking shell

I guess gnome-terminal might have modified PATH environ variable when invoking shell. Specifically, $HOME/.local/bin:$HOME/bin will always be appended to PATH. I did the following experiment to ...
0
votes
0answers
14 views

Installed Xfce4 on Debian - Now it doesn't work after reboot

I installed XFCE 4 all went well. I could logout and login and change between different desktop environment. However when I shut down my computer and booted it up. I get an error from GNOME 3 that ...
0
votes
0answers
8 views

Fedora Linux: bash mail notification breaks after installing sendmail

I installed sendmail on Fedora 23. So now I have /bin/sendmail that kind of works. Except I don't get mail notifications in the bash shell. Why not? Fedora ships with a non-working /bin/sendmail ...
2
votes
1answer
17 views

how to adjust the boot sequence using systemd

I need to send email using postfix as server once wifi has received IP address (based on dhcpcd). It seems that systemd by default boot postfix before wifi (wlan0) is ready. The consequence associated ...
-3
votes
1answer
17 views

How to run my own Hello World C application on top of stand-alone Linux kernel in x86_64 machine..

I have compiled Linux kernel 4.5.2 & got below files. "vmlinuz-4.5.2" "System.map-4.5.2" "initrd.img-4.5.2" My requirement is very clear, I need to run my own Hello World C application on top of ...
-1
votes
1answer
23 views

How to replace all dots in vi

How to replace in vi? There are numerous explanations in Internet, but most of them doesn't contain information about which buttons to press. If I enter :s/[.]/[.] <ENTER> then only one ...
-2
votes
0answers
6 views

Prompt file format with the magic word 2RDH [on hold]

I have file "bla-bla".bin it is system image for router QBR-2041WW. Prompt specification for unpack this file P.S. Sorry for my English
1
vote
0answers
12 views

Use a bash array as a place-in argument list (with Midnight Commander)

I'm having a little bit of trouble figuring out how I can use a bash array for an argument list. so far, the below code does not work. The %s below is Midnight Commander specific. F=(%s); for i in ...
1
vote
2answers
22 views

how to set alias of command in bash that contains both single and double qoutes [duplicate]

I am not able to set alias of hexdump -e '/1 "%_ax) "' -e '/1 "%02X" "\n"' I have tried following methods but failed: alias analyze=\'hexdump -e '/1 "%_ax) "' -e '/1 "%02X" "\n"'\' (note the ...
1
vote
2answers
26 views

Does “PermitEmptyPasswords yes” work? - How to make ssh user with empty password?

// note: I keep polishing chroot part and will keep updating this post and attached doc: https://goo.gl/TjhrWd // The question is: how to make "passwordless" i.e. "empty password" part running? How ...
0
votes
1answer
19 views

sed use to replace string 2 lines after matching pattern in AIX 6.1

I try to replace a character, 2 lines after matching pattern. For this, I'm using this code: sed '/some_pattern/{N;N;s/word1/word2/}' /etc/filesystems > /etc/filesystems.tmp && mv -f ...
0
votes
0answers
9 views

Is editline tab completion supposed to work? [migrated]

Is there a way for libedit (editline) to do tab completion if I use editline for a small shell? It seems that rl_parse_and_bind is not available if I include histedit.h - why doesn't it work? int ...
0
votes
0answers
11 views

Can't login after changing username in Webmin

After installing Webmin on my CentOS machine, I changed the root user to root2 using the Webmin interface (Users and Groups module). Now I can't login to Webmin either as root or as root2. How can I ...
0
votes
0answers
7 views

Cinnamon DE - View all global key bindings?

I'm using Cinnamon 2.8.6 on Ubuntu 16.04. How do I identify which process is grabbing a hotkey or combination shortcut? I tried How do I find out what program 'owns' a hotkey?. However, ...
1
vote
1answer
17 views

Is there a difference between nohup and nohup in a screen?

I am currently running mathematica on a Linux cluster, I want the job running stably even if I log out. So I use nohup. However, I found sometimes nohup terminates without any sign (I can't see any ...
0
votes
1answer
9 views

Networking in Kali VM

I currently have Kali installed on a virtual machine in a Macbook using VirtualBox. Is there a way to configure Kali or VirtualBox to recognise the Macbook's wireless card as it's own wireless card? ...
0
votes
0answers
10 views

Boot into Windows from Grub [on hold]

I am trying to boot into my Windows 7 after a download, currently in the grub screen. However, when I typed boot or "bootsect /nt60 SYS /mbr" I can't. It says "Error 8: Kernel must be loaded before ...
0
votes
1answer
10 views

copyFromLocal Hadoop No such file or directory error

I have the following code from the Fedora command terminal : [root@localhost python_code]# pwd /root/python_code [root@localhost python_code]# cd .. [root@localhost ~]# ls anaconda-ks.cfg ...
2
votes
1answer
25 views

Which process is sending my data out of my computer?

Using vnstat, I observed a lot of uploading from my computer and I don't know which process is sending data out of my computer. Is there a tool to get stats on how much data a process consumed during ...
1
vote
1answer
18 views

how to force `screen -L` to overwrite log?

I want to run some long calculation jobs in the background. I choose screen. However I found screen didn't accpet redirection. for example screen -dmS name ls>ls.dat won't generate ls.dat. ...
0
votes
0answers
16 views

RedHat:how to make system read /etc/sysconfig/clock settings without restarting system

In legacy red hat enterprise linux system which do not provide hwclock, I am changing UTC value in /etc/sysconfig/clock and when I check in /etc/adjtime this value is not reflected with expected ...
0
votes
1answer
18 views

rsync wants to resend files after a recent run

I am using rsync to keep two directories in sync. Specifically I ran: rsync -avz /path/to/src /path/to/dest After this command finished, I ran: rsync --dry-run -avz /path/to/src /path/to/dest ...
0
votes
0answers
4 views

KDE Network Manager Can't Add WPA2-EAP Connection

My college has a WPA2-EAP wifi that broadcasts it's SSID but I'm unable to connect via the GUI KDE (package name plasma-widget-networkmanagement). I can connect to other kinds of WPA2 wifi networks ...
0
votes
2answers
35 views

What can cause my shell to look like this? [duplicate]

I'm currently developing a home automation framework for my apartment. This involves getting JSON over Serial from an Arduino. When the JSON can't be parsed (usually only on startup) I log it as an ...
5
votes
2answers
25 views

What exactly happens if input and output file is the same?

Let's say that I execute following command: tr a-z A-Z < file > file There are two redirections: < file and > file. Both are processed before tr command and as far as I know, if there ...
2
votes
1answer
25 views

Turning off console output?

I have a Debian on beaglebone without an X server and I need to get rid of any console output to the framebuffer device. I was trying few things I found, like console=null or kernel argument vga=0, ...
3
votes
3answers
61 views

Why does SNAT happen in POSTROUTING chain and DNAT in PREROUTING chain?

Why does SNAT(modifies source IP and/or ports) happen in nat table POSTROUTING chain, i.e after routing? And why does DNAT(modifies destination IP ant/or ports) happen in PREROUTING chain? I guess ...
-3
votes
0answers
19 views

Bash Script problem with Variables from files [duplicate]

Trying to get this script to work how ever I get an error no matter how I try to set the varibles. After checking the varibles are not being set from the files that the information is in.
1
vote
1answer
11 views

Monitor temperature/IO of NVMe drive

Is there a way to monitor temperature or reads/writes of and NVMe drive (in this case Intel 750). hdparm, udisksctl, smartctl, and hddtemp all seem to lack this capability, google searches have been ...
2
votes
1answer
9 views

White-list certain binaries and scripts inside a noexec/nosuid mount?

Just like the question. Is it possible to white-list certain executables from a noexec mounted FS? for instance, mine looks like this: /dev/vg/lv on /tmp type ext4 (rw,noexec,nosuid)
-4
votes
2answers
28 views

Linux Bash script fails with a syntax error

Trying to get this bash script to work: #!/bin/bash for result in $(cat ./fn7); for dip1 in $(cat ./fn4); for dip2 in $(cat ./fn5); for dip3 in $(cat ./fn6); for ip in $(seq 0 255); ifconfig > ...
1
vote
1answer
8 views

Music Player Daemon MPD - Lagging HTTP stream

HTTP stream from my MPD lags, i.e. audio from Pulse and HTTP output are not in sync, with HTTP output lagging Pulse. This also means that starting/pausing/stopping music from MPD is not reflected ...
0
votes
1answer
9 views

Setting up command promt in tcsh to show only last 3 working directory instead of complete path?

I have command prompt in tcsh that shows the current working directory. The problem is that the command prompt becomes very big once I am in a deep hierarchy of folders. How do I set the command ...
2
votes
1answer
18 views

Can I make it so that new users created in the future will have an expired password by default? [duplicate]

I want to make it so that if anyone creates a new user on my system that user will be forced to set a password during their first login. I can't find anything in /etc/login.defs that will do it. I ...
1
vote
0answers
10 views

Encrypt casper-rw file for use with Easy2Boot

I have created an Easy2Boot multiboot USB drive. Currently it contains two ISOs - Kali Linux 2016 and Linux Mint. I have created persistent ext2 filestore for both ISOs and configured them using the ...
1
vote
1answer
39 views

egrep doesn't work as expected on SunOS system

Here is what I want to achieve on SunOS: Only pattern like [text_text=text], [text=text], [text] or text are valid patterns, where by text I mean anything in 0-9,a-z,A-Z, space, newline, tab, enter. ...
2
votes
1answer
21 views

Best way to delete select email messages from mbox file using script

I have an arbitrary email messages file in mbox format. I would like to periodically (end of the week), and automatically (via cron) purge messages from my "alerts" mbox file (new folder) just from ...
3
votes
1answer
20 views

wpa_supplicant problems

I am working on a device without NetworkManager or other niceties and am trying to connect to a WPA2 network. For some reason, wpa_supplicant fails to associate properly to all the networks I have ...
0
votes
0answers
11 views

Raspberry PI, X.org and Chrome - remote launch over SSH [on hold]

I want to use my RaspberryPI as a console to render some charts on the external monitor. I want to be able to login to my RPi over SSH, start a remote X session with the browser (chrome) only to open ...

15 30 50 per page