A family of Unix-like 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

1
vote
0answers
12 views

How to make (and restore) an application snapshot in runtime?

I'm trying to make a snapshot of a running application, in runtime, and restore it afterwards. By 'snapshot' I mean complete state of my application - I suppose that's just memory pages and CPU ...
1
vote
1answer
8 views

Perl IRC Bot running on the machine

I had someone hacked into my linux machine and was running a perl code which seems to be some kind of a bot. The next day I got a call from ISP saying that there are large number of spam mails ...
0
votes
0answers
3 views

Found duplicate pv in disk scan

I have vps, i attached another hard disk, it contains the same partitions i have on my current linux, it has / and /boot and swap. i need all data on / partition. here is the output of lsblk: NAME ...
0
votes
0answers
5 views

How to read raw serial data on linux?

I'm working a project for school that requires us to send data from our embedded system on a FPGA back to our host computer over serial. I have a UART instantiated in my FPGA and I have done all of ...
0
votes
1answer
21 views

sed align all lines to last line in a file Bash script

I have a files with below lines Dev_Campaign_1873.rpm Dev_Campaign_1987.rpm Dev_Campaign_9876.rpm http://52.30.241.107:8081/artifactory/api/storage/adifact Trying to get the output to a file as ...
0
votes
0answers
1 view

rsnapshot exclude_file not working for local backup?

I've setup rsnapshot for 2 Ubuntu 14.04 servers. One is over SSH, the other is local. The configs are almost exactly the same, however the local backup seems to not honor the exclude_file. Global ...
0
votes
0answers
6 views

Cannot figure out what eats disk space, CentOS6

Here is disk free info: root@nqpc002/]# df -ha Filesystem Size Used Avail Use% Mounted on /dev/sda2 103G 85G 13G 87% / proc 0 0 0 - /proc sysfs ...
4
votes
3answers
2k views

`vi` command doesn't open newly installed Vim 7.4 on OS X

I just installed Vim 7.4 on my MacBook using Homebrew. When I enter vim on the command line, it successfully enters Vim 7.4, but when I use vi I still get the old 7.3. To install Vim 7.4 I used this ...
2
votes
3answers
1k views

How to change default “Print to file…” settings

I have a fresh install of Linux Mint 15. In many applications (gedit, firefox, etc.) I can go to "File > Print..." and see a virtual printer called "Print to file". By default, it prints the PDF to ...
0
votes
2answers
40 views

How to get HTML file as a content to mail (shell script)

I am new to shell script, I have an HTML file which contains table data. Now I need to send this file to mail. mail -s "test" abc.com <test.html Currently I am getting the raw HTML code for the ...
0
votes
1answer
5 views

Ubunut 14.04.3 LTS network stopped working on VMWare

After restart, networking suddenly stopped working and I'm unable to connect to internet. ifconfig -a eth0 Link encap:Ethernet HWaddr 00:0c:29:c9:1a:f3 inet6 addr: ...
4
votes
2answers
3k views

Linux on new Surface pro 4

I'm interested in buying the new surface pro 4. But 'm also a linux user therefore I would like to run linux (dual boot) on the sp4. There lots of tutorials about the surface pro 3 but until now I ...
1
vote
0answers
22 views

tty resolution breaks down after suspend & resume on Linux

I am running $ uname -sr Linux 4.0.5-gentoo with an Nvidia GeForce 750 Ti card and $ eix nvidia-drivers [I] x11-drivers/nvidia-drivers ... Installed versions: 355.11-r2^msd(01:51:54 ...
0
votes
4answers
8k views

mounting nfs gives “access denied by server while mounting (null)”

I've recently upgraded one of our machines to debian Squeeze from lenny. Previously, these machines mounted 2 NFS shares /home and /home/scans/data After the upgrade they can only mount one at a ...
0
votes
0answers
12 views

DNS server (bind9 on Debian) problems with Windows 7

I have made a home server in my house (for downloads, get arduino readings and stuff like that) I want to access this server with a domain (Ej, mylocaldomain.com) to do that I have configured a bind9 ...
0
votes
1answer
21 views

How do I catch and log all attempts to write to /dev/null?

Essentially I'm trying to catch output any scripts that are currently running and silencing their output. So the question is fairly simple, how do I log any attempts to write to /dev/null?
1
vote
1answer
29 views

How to construct a proper command string in bash? Quoting issues, I think

I have a very newbie question, I am sure. I am trying to construct a script to edit the internal EXIF timestamps of a number of JPG photo files, using the commandline exiftool utility. My actual ...
2
votes
1answer
11k views

How to make a desktop icon on centos 7?

I am new to Linux and this may sound very dumb but I need to make a desktop icon on centos 7 but I don't know how to do it. I tried googling but I can't even find Launcher. Need help
1
vote
1answer
3k views

Aspire V5-531 Operating System Not Found

I recently purchased an Acer Aspire V5-531. I replaced the 320GB HDD with a 120GB Kingston SSDNow V200 and installed Linux booting with rEFInd. Due to a necessary change, I have to move back to ...
1
vote
2answers
19 views

How to login ssh without a password using the ssh host key?

I want to login to this machine, but I just have an ssh host key, not a password. Example from nmap: | 1024 b6:00:e3:71:8c:a3:4e:e4:8b:9a:b5:c2:68:86:de:82 (DSA) |_ 2048 ...
0
votes
0answers
18 views

How do I access a window on another screen using Awesome?

I have two monitors. How can I focus on a window that is on a different screen than the one I'm working on? Mod+j/h works only for one monitor.
1
vote
7answers
3k views

How to use ssh from shell script without waiting for password?

I can not use public key method. I also don't want to use expect script. I searched this site for solution but everybody is talking about these solutions. Is there any other way like command line ...
0
votes
2answers
103 views

Log in using SSH without password

On my server, I've got openssh-server and a special account without password. I'm creating a shell script, that must be used without user input. For example $(ssh dummyUser@dummy.com) I need script ...
0
votes
0answers
5 views

useradd user with group with same uid and gid

I want to add a user named "nexus" with uid as 1234567 (example number) and gid 1234567. I'm running the following command: sudo useradd -r -U -u 1234567 -g 1234567 -m -c "nexus role account" -d ...
0
votes
0answers
4 views

Wing IDE on Kali Linux

I am trying to install Wingide 101 on a 64 bit Kali Linux vm, I have downloaded the Wingide package (wingide-101-5_5.1.9-1_amd64.deb) from the wingware site and followed the directions outlined on the ...
0
votes
3answers
66 views

What SATA version do I have?

I wonder what SATA version my laptop uses as I intend to install an SSD and want to choose the most suitable TRIM options in (probably Debian) Linux. The information presented by smartctl is: Model ...
3
votes
3answers
3k views

Windows UAC vs. Linux sudo

Is it correct to say that Windows UAC is conceptually the same as Linux sudo? Can you point out the differences between the two?
7
votes
7answers
8k views

Linux: rename file but keep extension?

In Windows/DOS, I can say rename myfile.* yourfile.* to change the name but keep the extension. How is that accomplished on Linux? The man page only suggests how to change the extension, but that's ...
0
votes
1answer
2k views

Using a custom lib path

I'm trying to build Android on a remote trough ssh. However, I was presented with the problem: prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/arm-linux-androideabi-gcc: ...
0
votes
1answer
11 views

iptables routing of wlan0 to usb0 and usb1

Server: wlan0 (WAN) - 192.168.0.17 usb0 (LAN) - 192.168.2.15 Client: usb1 (LAN) - 192.168.2.2 wlan0 <-> usb0 <-> usb1 How do I configure a NAT to share my wlan0 internet access to my ...
0
votes
0answers
16 views

Creating a development VM from Arch Linux

I'm trying to set up a particular development VM. I'm doing web development, so it will host some version of LAMP. What I want to accomplish: I'd like it to be Arch. I want to be able to ...
0
votes
1answer
14 views

What is the noauto mount flag for?

Entries in fstab exist ONLY to specify things to mount at system boot or manually with mount -a, right? But I was reading up on the noauto mount flag, which apparently makes corresponding fstab ...
0
votes
1answer
14 views

How to install dualboot linux in efi with weird ssd

I'm trying to install linux on my efi computer but still not working. I first installed Windows with 120/510 GB disk in EFI mode, and then want to install linux but every single linux just doesn't ...
1
vote
0answers
17 views

List the monitors physically connected to remote computer (make/model details)

If I were sitting in front of the computer I could run xrandr --query in terminal but this doesnt tell me the make/model (at least i know something is connected) but while remote (using ssh) I receive ...
0
votes
0answers
11 views

EVIL AP - Internet connection bridging issue

I've been trying to create an EVIL AP scenario in my test lab for a couple of days, but I always face the same issue. I can connect to the WIFI adapter and I receive an IP address etc, via dhcp. ...
1
vote
2answers
3k views

Creating a USB stick for installing centos 6.x using DVD1 and DVD2 iso files

First, we create 2 partitions on the USB stick that is let's say 16GB. first partition is let's say only 1GB and the second partition is the rest of what is available. after we "w" write the ...
0
votes
0answers
109 views

Unable to boot Gigabyte P35K

I use Arch Linux on my laptop. I use Gummiboot as the boot loader, but I use Legacy OS mode because when I try to boot in UEFI mode I get an unsigned image error (something along those lines, I forgot ...
2
votes
4answers
4k views

Find directories with all files inside older than X?

Is it possible on linux to find directories where all contained files and directories (and sub-directories' files etc.) are older than a given age? In other words, if a directory has one or more files ...
3
votes
2answers
6k views

How to force a USB disk to format?

I can't seem to get my USB drive to format anymore or be recognized by the file system (including gparted). How do I just wipe the whole thing and start over!? dmesg [ 5036.408102] usb 2-3: new ...
0
votes
2answers
25 views

Ping between two Linux systems via an intermediate Linux fails

I have a simple network with three Linux systems running CentOS 2.6. Linux 1 (eth1: 192.138.14.1/24) | | (eth4: 192.138.14.4/24) Linux 2 (eth2: 192.138.4.3/24) ...
0
votes
1answer
5 views

Why can't Ubuntu read external volume files after I recursively { chmod +r and remove ACL }?

The commands I used are: sudo chmod -RN /volume and sudo chmod -R +r /volume The external volume is a backup of OSX home folders. The above made it only possible to read what contents is in the ...
1
vote
0answers
30 views

CentOS can't see RAID array partitions

I have the current setup composed by (4x) HDDS sda, sdb, sdc, sdd partitioned in the same way: /dev/sd[abcd] | |- /dev/sd[abcd]1 [EFI FAT 32] |- /dev/sd[abcd]2 [Linux RAID] |- ...
1
vote
1answer
12 views

Connecting a port in linux from other machine

I'm going fast to asking this question so i'm apologize. I'm on Linux Fedora 23. I'm running an application Telegram-CLI with listening a port using this argument. -P 1337 That is fine and works ...
0
votes
1answer
18 views

Changed “path” variable in Ubuntu Linux and basic commands have stopped working

I'm using Ubunut 14.04 (as a virtual machine). I installed TeX Live system over the internet. Once the installation of TeX live finished, it said Most importantly, add ...
11
votes
4answers
4k views

How can I edit all the files returned by find in vi in Linux?

Something I find myself doing a lot is running a find command and then editing all of them in vi, which looks something like this: > find . "*.txt" ./file1.txt ./file2.txt ./path/to/file3.txt ...
2
votes
0answers
10 views

Track the calls of a command

To quickly explain the goal of my question, I use Ubuntu mate with an apple keyboard. To make the keyboard working properly, I had to remap some keys using xmodmap, such as interchanging the #/@ with ...
4
votes
2answers
1k views

How can I use Emacs in terminal mode and use Alt + ? shortcuts?

I want to use emacs in the terminal, but in Ubuntu 11.10 the bash terminal already has many Alt started shortcuts, how can I handle that?
9
votes
4answers
24k views

How to get an ARM CPU clock speed in Linux?

I have an ARM-based embedded machine based on S3C2416 board. According to the specifications I have available there should be a 533 MHz ARM9 (ARM926EJ-S according to /proc/cpuinfo), however the ...
0
votes
4answers
20 views

On my Pi, chmod +w doesn't behave as usual?

$ ls -al file1 -r--r--r-- 1 pi pi 0 Feb 10 15:18 file1 $ chmod +w file1 $ ls -al file1 -rw-r--r-- 1 pi pi 0 Feb 10 15:18 file1 #only u is updated $ chmod +x file1 $ ls -al file1 -rwxr-xr-x 1 pi pi ...
1
vote
4answers
6k views

How to boot Windows ISO installation using PXE (without Windows AIK or whatever)

I have a Linux PXE server. Can boot into Linux ISO installers using PXE with no problems. But how can I do it with Windows ISO? Just start the installation. Without creating some stuff (winpe) under ...