Linux refers to the family of Unix-like computer operating systems using the Linux kernel. If your question is about a certain distribution only, use a more specific tag.

learn more… | top users | synonyms

0
votes
0answers
9 views

module unload vs module load

I am working with modules and would like to print thingA if the module is loaded, but print thingB if the module is unloaded. Right now, if I have puts "thingA", it gets printed whether the module is ...
1
vote
1answer
44 views

Why can't I use “cp” this way in linux?

Who can give me a logical explanation to this issue: I can not run this command: sudo cp /data/*20150522* /backup/ cp: cannot stat `/data/*20150522*': No such file or directory And when i switch ...
0
votes
0answers
17 views

Simpliest way to setup my own remote private git server

First of all, I've read all the git-server-setup documents on the internet, but still, there is one thing missing -- I want to setup a simple GIT server in (Ubuntu) Virtual Machine for myself, not for ...
0
votes
0answers
4 views

Persistent USB Kali Linux Standart User

Is there a way to add standart users in Kali USB? I'm getting this in the console: useradd: existing lock file /etc/passwd.lock without a PID useradd: cannot lock /etc/passwd; try again ...
0
votes
0answers
7 views

how to download and install outdated linux-headers

I just watched the issue concerning how to add additional driver (module) into pre-compiled kernel; I tried to install the linux-headers but in the current repository I could find that all the ...
0
votes
0answers
4 views

How to install wxpython on centos 6.5 (with python 2.7)?

I've updated python on my centos to 2.7 and installed wxpython via: yum install python-wx Unfortunately python can't find the library and I get an error: ImportError: No module named wx Did I ...
0
votes
2answers
30 views

Is there a way to edit files on a Linux ext partition in Windows?

Many times one wants to edit files on a Linux ext partition from Windows. Is there a way to view and edit files in Linux partitions in Windows 7 or 8?
1
vote
0answers
7 views

why my nat iptables rules dont work with marked packets?

System: debian squeeze, Linux server 2.6.32-5-amd64 #1 SMP Tue May 13 16:34:35 UTC 2014 x86_64 GNU/Linux, iptables v1.4.8 lsmod | grep iptable iptable_security 2176 0 iptable_mangle ...
0
votes
0answers
5 views

Signature not found in user keyring

I have encrypted /home/username and after some time I changed user password which leads to error on login ""signature not found in user keyring perhaps try the interactive 'ecryptfs-mount-private'". I ...
0
votes
1answer
9 views

How to use use PuTTY with RIDE Robot Framework

I use Run keyword of Selenium lib to run ssh command from RIDE as follows Run ssh root@ip Now my command starts with putty. When I use following from RIDE Run putty root@ip It says putty is ...
0
votes
0answers
20 views

what is the process to run an exe program on windows machine from a different linux machine on the network?

Example there exist servers A and B. A is windows based and B is linux/solaris. A has custom.exe file. B has java based application.B application needs to execute (call) custom.exe without losing ...
1
vote
1answer
16 views

How to make Kate remember to always show line numbers?

When I open Kate editor, it doesn't show the line numbers by default. Then I need to go to the View menu and enable the Show Line Numbers option (or press F11) every time I need to have line numbers ...
0
votes
0answers
16 views

How to connect to VPN from Linux and send only part of traffic via it

I have target host, username and password. I can connect in Windows via Cisco AnyConnect. But all traffic goes via that tunnel. Under Linux I used to use Vpnc, but it requires also additional secure ...
1
vote
1answer
35 views

Merge pdfs in the correct order

I'm looking for a way (preferably using the command line on Linux) to merge separate pdfs of book chapters into a single pdf of the book in the correct order (maybe based on the page numbers within ...
2
votes
1answer
23 views

Replacing a running Linux root filesystem

I'm trying to come up with a bash-scriptable method of replacing the root filesystem on a running PC. The system uses a MBR partitioned disk with an ext4 rootfs and a swap partition, unfortunately it ...
0
votes
2answers
12 views

Visual Studio in Ubuntu Errors

How can I install the latest Visual Studio beta in Ubuntu through wine? It's so frustrating. I just want C# bash scripting. I get many errors. Has anyone had success?
0
votes
1answer
16 views

Ubuntu firewall rules ( ufw )

I'm new using Ubuntu and ufw command to set firewall rules. I have an apache service running and I'm able to deny the access to the root path using apache2.conf. I have another backend app running on ...
0
votes
1answer
10 views

rsync multiple files with colons in their names

rsync interprets colons in file names as indicators that preceding is a remote machine name. When you try to rsync a file that has a colon in it's name, rsync typically gets confused, producing errors ...
3
votes
0answers
9 views

Can't access rails server on VM form host

I have a rails server on virtual machine and I need to access localhost from host. I've tried both NAT (by port forwarding - port 80 and 3000 on the guest side) and bridged adapter but nothing seems ...
0
votes
0answers
5 views

Pipe remote jpg webcam image to ffmpeg as video

I have a cheap ip webcam. All it provides is a single http url to a static jpg file. Such as http:///image.jpg. Repeatedly requesting the same url will provide subsequent frames from the ip camera. ...
2
votes
1answer
17 views

Gparted cannot resize extended or LVM partiton

I created a VM using VirtualBox and realized it was small. So, i managed (after some time) to create a new, bigger HD. Live GParted CD image (v.022): Now I need to integrate the unallocated ...
4
votes
1answer
21 views

How to share via TCP serial port CAT

I want to connect my amateur radio transceiver to a linux (Ubuntu) computer with USB cable (serial port (in windows should be COM3 or COM4) like /dev/??? ) and share it locally with TCP, Is it ...
0
votes
0answers
17 views

What do the timestamps produced by the 'stat' command in Linux actually mean?

I have looked around for an answer but I haven't found anything that's really a concrete definition. The stat command for one of my files produces this: Access: 2015-05-21 22:30:27.731032591 +0100 ...
2
votes
3answers
36 views

SSH Private Key Authentication Failing

I'm kind of stuck here.. I am trying to disable all SSH login capabilities of root. No password login. No key-based login. Nothing. I have a user "andrew" that should only be able to SSH into my ...
0
votes
1answer
32 views

How to package linux os on a hard disk for another computer?

I want to give my friend a hard disk with a Linux operating system for his/her unused computer. Using unetbootin, I tried to install a bootable iso on my hard disk in one small partition and then I ...
-1
votes
0answers
10 views

How to change Windows permissions for Linux NAS?

I have just finished setting up my new NAS (Western Digital My Cloud EX2) and I'm having trouble with permissions, I can read and write from the internal drives fine, but I have an external usb HDD ...
-1
votes
0answers
29 views

Is there any Linux-only software that a budding programmer should be aware of? [on hold]

Soon, I will finish highschool, and move to a bigger city to attend college, so I will be buying a laptop PC to suit my needs. At first, I was looking for a laptop that would run Linux well ...
0
votes
0answers
10 views

Virtualbox Linux guest to inherit host user db and/or LDAP

Is there a way for a Linux guest to inherit the user db/definition of the host and/or the LDAP user of the host? By user db, I meant the users' names and group membership as visible on the host. ...
2
votes
3answers
28 views

Use dd to backup device over the network

I have a Raspberry Pi connected to the network along with a USB stick. Is it possible to use the dd command on my Raspberry Pi and automatically upload the iso to my Mac? What I mean is on my pi ...
0
votes
1answer
26 views

How can I remove all the customizations imposed by Linux Mint 17.1 on firefox?

I have found two solutions for the same: Downloading and installing .tar.bz2 package (firefox) from mozilla.org (Problem:Package provided is portable and is not installable). Installing firefox from ...
0
votes
0answers
16 views

Which configuration files affect the routing table of a Debian system

As far as I know basic network configuration goes into /etc/network/interfaces and the system generates the routing table from these information. I was also taught that in general ...
-1
votes
1answer
8 views

Where is the 'comix' linux program library database stored?

I know it's not on ~/.confix/comix/preferences.pickle since i checked that file and it has no paths or the definitions of the comic books names and paths i input to my current library. I want to know ...
0
votes
0answers
20 views

Switch from linux user to administrator; how to setup and maintain identical installations

I recently installed Linux on my computer at university. I do have Linux on my laptop and in the near future on my workstation. Additionally some of my colleagues who are doing similar computations ...
1
vote
0answers
10 views

Python Path variable can't echo by non-root

I edited my sudoers file by getting root priviledge as sudo -i Then i edited my sudoers file by nano /etc/sudoers I added Defaults env_keep += "PYTHONPATH" to sudoers Then from root i echoed ...
0
votes
0answers
11 views

How to use Windows Libre office Macro In Linux environment

I have some macro which I have made in libre office by window 7 Now I want to run those macro in Linux system through some kind of command Now issue is that How can I save Macro in a single file..? ...
0
votes
4answers
30 views

Copy paste a multiline command into command line

I'm writing a doc about installation of my soft and I have to write things like Please do the following: sudo apt-get update sudo apt-get install python-dev cython portaudio19-dev The ...
0
votes
0answers
6 views

Built in GRE keep-alive in Linux?

Is there a built-in gre keep-alive mechanism in Linux (iproute2 or such)? How do I enable that feature in such a case?
0
votes
1answer
16 views

Install Linux based Operating System on Old Computer With Slow DVD Drive

I currently have an old IBM ThinkPad, this laptop has 512mb ram and a Pentium III processor. I have decided to install Linux onto it, and the specific version of Linux I am going with is lxle, ...
0
votes
2answers
46 views

How would you allow non-privileged users to excute files that have 774 permissions?

How would you allow non-privileged users to execute files that have 774 permissions?
0
votes
0answers
12 views

DDRescue locks system up on disk clone

I have ddrescue running on the latest version of Fedora trying to clone a dying IDE disk. When I run ddrescue --no-split /dev/sdb imagefile logfile the copy will happen then the entire system will ...
0
votes
1answer
18 views

Using nonstandard formats with a USB floppy drive?

I was given a USB floppy drive, and it works beautifully. Linux Mint detects it as a Mitsumi FDD 061M, although the case and packaging are no-brand. (Counterfeit?) It realiably reads and writes 1.44MB ...
0
votes
2answers
9 views

Checking for changes on Linux live OS's

I am a novice to the terminal of linux live OS's (eg Kali Linux). Please advise what 1) in built programs (e.g. Syslog...), 2) Commands in the Terminal (eg ls, ps, md5sum, ...) one can use for ...
0
votes
0answers
18 views

Virtual Boxes, Linux hosts, Windows guests, Shared folders and Recycle bins

Basically what I am looking for is a way for sharing folders between my Debian Jessie host and Windows 7 guest without the fear that I accidentally delete files under Windows and have no (convenient) ...
0
votes
0answers
6 views

Apache Spark Building Memory Issue for JVM Initialization

I am currently building Spark on my linux Red Hat 5 VM just for experiment. However, when running the mvn script or sbt script inside the spark 1.3 version source code (downloaded from the github), it ...
0
votes
3answers
24 views

How can I use the output of ls/grep as input for pdfunite

I want to use pdfunite to merge several pdf-files into one output file. Since the directory contains lots of different stuff, I thought i could use ls/grep to get the apropriate file-names and then ...
2
votes
0answers
26 views

USB 3.0 Trouble

I am using a WD Elements Portable 1TB USB 3.0 2.5" disk bought in May 2014 to backup data of my desktop machine. rsync runs smoothly without any error messages. However upon restoring data from the ...
0
votes
1answer
27 views

Install grub raid1 & lvm

I have installed an Ubuntu Linux on a machine where there was a RHEL (from Dell) At the end of the installation I got a message that GRUB2 could not be installed. So I booted into a Live Linux (from ...
2
votes
2answers
29 views

`sudo adduser username admin` leads to `adduser: The group `admin' does not exist.`

I'm trying to add a user to the sudoers file with the simple command sudo adduser username admin but I get adduser: The group 'admin' does not exist. So I checked out the sudoers file (sudo visudo ...
0
votes
1answer
16 views

How to switch between command-line and GUI in VM on a Mac?

I have installed CentOS 7.1 in VMware Fusion of my Mac. I logged into the terminal (default runlevel 3) and started the GUI using the command "startx". I want to switch back to the terminal. ...
14
votes
3answers
2k views

Command vs program?

I was looking up the difference between adduser and useradd, and an explanation is that useradd is a command while adduser is a perl script. I understand what a perl script is, but what I do not ...