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
6 views

Echo/Pipe command output to Serial line

I have a serial device running on 115200 baud at /dev/ttyUSB0. I need to Pipe the output of a command to it. I Need somthing like: command-that-gives-stdout | command-that-puts-stdin-to-serial --baud ...
0
votes
1answer
5 views

Ubuntu 14 mouse single click registering/behaving as double click

Since I upgraded my Ubuntu box to 14, I was facing the issue that almost every time a folder, item, etc was single clicked, it fire a double click action. As you can imagine this was very annoying, ...
0
votes
0answers
8 views

How to auto mount vbox shared dir

In guest, i can use following to mount shared folders sudo mount -t vboxsf Download ~/Downloads my question is: how to mount it on guest startup
0
votes
1answer
10 views

Old ALSA application and PulseAudio

I have an very old application, from repository - it's soundmodem (for amateur AX.25 radio packets). I'm using Linux Mint 17 with default sound driver, it's PulseAudio. Options in application ...
0
votes
0answers
13 views

Growing an encrypted RAID5 array without causing alignment issues

Question Is there anyway to tell mdadm to make sure a certain logical sector on the RAID-device stays aligned to the beginning of a stripe when growing a RAID5 array? Problem My RAID5 is encrypted ...
0
votes
1answer
14 views

If else case for established connection

How do I modify this test such that if the number of connections to port 1234 is greater than 10 then to execute a command (like an echo something)? [[ $(netstat -tan | awk '/:1234/ && ...
1
vote
0answers
13 views

Copy text file from a isolated server

I have a linux remote machine which is isolated from the rest of the world. To access to it I have first to connect via ssh to a gateway. When connecting to the gateway I have no prompt, but I must ...
0
votes
0answers
12 views

Enabling administration tools on remote server (requires root)

Me and my collegues have acquired access to a RedHat Linux 6 server that we would like to administer via vnc. This is because most of us are more comfortable using a graphical interface. So I ...
0
votes
0answers
10 views

how to bring network up at boot time in ubuntu 14.0.4

I am write one shell script which execute on every boot, Script is as below. service lsyncd stop /etc/init.d/networking force-reload ifconfig eth0 > /home/sachin/status.txt old="0.0.0.0"; ...
1
vote
1answer
27 views

Last Windows 8 update removed Grub

I have a dual boot with Windows 8 and Fedora 20. Since 2 days ago, it worked well, but actually I rarely use W8. I booted briefly on it and it decided to install some updates, which made Windows ...
2
votes
0answers
23 views

Where to find config file for how many connection are permitted to the server

I'm not very familiar with UNIX systems yet and I need to connect to one server by telnet. When I try to connect I get following massage Connected to some.ip. Escape character is '^]'. too many ...
-2
votes
0answers
14 views

What is a suitable programming language for developing a linux desktop app? [on hold]

At school we did some C/C++ programming basic stuff most problems that we solve were mathematical, as a project I want to do a basic G.U.I some buttons, check boxes. I don’t want to use C/C++ even ...
2
votes
0answers
22 views

Modify incoming packets before forwarding in Linux

I’m using a Linux (Debian based) system on which IP forwarding is enabled (/proc/sys/net/ipv4/ip_forward is set to 1). I can read the incoming packets using a raw sockets program, but I want to modify ...
0
votes
0answers
15 views

How come a standard (non-sudo) user can reboot my server?

I have RHEL 6.5 installed in VMware Workstation. When any normal user logs into the the virtual RHEL 6.5 server and runs reboot command, the server is rebooted. Normally, only users having sudo access ...
0
votes
0answers
12 views

weird behaviour with forever, bash, apache and php

I'm running some node.js scripts with forever. I started them as www-data user (i.e. via ssh logging as www-data@server and typing forever start myapp.js, etc.). Ok, everything goes like a charm; my ...
2
votes
4answers
51 views

Can I use an Android Phone as a Linux Box? [on hold]

Is it possible for me to use my Android phone as a linux development box? E.g. install some sort of package manager such as Apt/Yum followed by GCC, Vim etc. Then I simply connect my phone via USB ...
0
votes
0answers
5 views

Pentadactyl launch external program without console output

i use some custom commands with pentadactyl which launch external programs. For example, i have mapped a comamnd which downloads a youtube video, converts it to mp3 and moves it to the correct folder ...
0
votes
1answer
9 views

Is is possible to supply an absolute path to hg clone?

All of the examples of hg clone that I have seen have used a relative path: hg clone user@example.com/repo This will look up repo in uers's home directory. Is possible to supply an absolute path to ...
2
votes
1answer
46 views

What is the difference between making a dd of a DVD and ripping software [on hold]

I don't understand something. If I want to copy a DVD why not just dd the drive and be done with it? Why would anyone ever want to use ripping software if they can just do a simple dd?
5
votes
1answer
92 views

If I add -l to the ls command why is it wrong to add -t to the tar command?

I am new to Ubuntu and I am trying hard to understand the command line. When I want to see the contents of a tar file I use: tar tf tarfile.tar But when I want to see a listing of all file if I ...
0
votes
1answer
28 views

How to recover deleted files with original filenames on FAT32 usb?

I have tried several products to recover the data. I have all of the original files thanks to photorec and foremost however, the images are useless without the correct filenames. I have all of the ...
0
votes
3answers
42 views

What does this use of the echo shell command do?

I found echo -n $'\e]0;Hello World\a' in a shell script that's part of a code base I'm working on. What exactly does that do? It certainly doesn't echo anything visible. Note, I'm using Ubuntu ...
0
votes
0answers
23 views

I am am connected to my wireless router at home but it won’t give me an Internet connection

I have a Thinkpad running Linux Mint 17 and my connection is on wlan0 which is the Intel Wi-Fi interface. Several days ago I was connected to the Wi-Fi router at home and everything worked like a ...
1
vote
0answers
9 views

focus to newly opened terminal

I am using gnome-shell 3.14 on archlinux 3.17.3-1. I have a keyboard shortcut (ctrl+alt+T) to open an xfce4-terminal. My issue is that when I triger this shortcut the focus is not set the the newly ...
0
votes
0answers
17 views

troubles with PCI-E passthrough with qemu on ubuntu: pci-stub/bind says no such device

so im trying to bind my second radeon card to pci-stub, as per instructions for setting up GPU passthrough in here, but once i get to binding the card to pci-stub, it tells me it isnt there. this is ...
0
votes
0answers
19 views

Why won't my centOS 7 bootable USB stick boot?

In the screenshot the general information of the stick: In the bios I set the multi flash reader before the HD and tried to boot directly from the stick on the boot override options, no cigar. I ...
1
vote
1answer
21 views

No such file or directory when file exists

I have a file called bitcoind in /usr/bin/bitcoind: bitcoin@Titan:~$ ll /usr/bin | grep bitcoind -rwxr-xr-x 1 bitcoin bitcoin 7789600 Nov 25 10:39 bitcoind* However, I cannot execute it: ...
0
votes
0answers
4 views

Installed Zend Guard Loader, sites don't work anymore

Well I was getting "Zend Optimizer not installed" page for a wordpress site that I just transfered to a new server (is it possible the theme needs it?) installed it using this tutorial: ...
0
votes
0answers
10 views

Debian 7.7 keyboard and touchpad.didn't work

Yesterday I was installed Debian 7.7 with kernel 3.2.0 and GNOME 3.4.2. Today I found my right button on touchpad didn't work. I made it to work when I press the left button for a few seconds, but it ...
1
vote
0answers
10 views

Joining a domain with kali

I'm in school and I was asked if I could join a domain with Kali. Everywhere I search says use "likewise open" but I've went into "add/remove programs" and searched for "likewise open" but it has no ...
0
votes
0answers
21 views

Mass Rename Files including sub directories

I have many file having "example.com" in them and I want to replace it with "example.co" as i change my site tld, i have rename program installed in my server and have root access too. Can anybody ...
0
votes
0answers
13 views

How can I find the gparted package in debian?

I recently upgraded my chromebook c710-2856's hard drive to a 250GB drive and flashed coreboot on it. I then proceeded to install debian wheezy with LXDE. I want to install gparted, and when I do: # ...
0
votes
2answers
19 views

How to git pull without asking password?

I have a problem for make a auto pull for a git repository. I explain my situation : i have 2 sever on linux (Debian), one for the repos (dev01) and another one for make documentation with doxygen ...
0
votes
0answers
12 views

keeping file management smooth with NFS between two linux systems

I have my linux based NAS set up with NFS shares that are read only so my Ubuntu server can access certain files and folders. Now I need my Ubuntu server to be able to write to those NFS shares. The ...
0
votes
2answers
23 views

Which tools can log system resources usages in Windows/Linux? [on hold]

I need a tool can log at least a few things like this: CPU load: (min/max/average) RAM load: (min/max/average) Storage size: (max/is used) Storage/folder growth size. AFAIK, Linux shell can help ...
0
votes
2answers
22 views

Will load average from uptime effectively explain the system load in Linux?

I have a cron which is scheduled to record the system load using uptime for every five minutes. At times the load average for 5 and 15 min cross 8 (max seen is 10). So is the system under heavy load? ...
-1
votes
0answers
12 views

file transfer between two remote host using C program [on hold]

I need to transfer file between linux running in Putty (in a development board) with the ubuntu in Virtual box using client server communication. I have used ethernet cable to connect between these ...
0
votes
0answers
14 views

If I have network file sharing turned on, and I connect to a VPN, are my files then visible to other users on the VPN?

I have one computer on my home network that I always leave on, with a few shared folders set up so that other computers in my home network can access the files inside. When I connect to a VPN, I'm ...
0
votes
2answers
24 views

Unrecognized archive format when trying to extract content from a TAR archive

I have an uncompressed TAR file created on Linux. If I use less to view the file I can see all the data; mostly code files. However if I try to decompress it I get the following error: tar: ...
0
votes
0answers
13 views

adding a number variable with a string [migrated]

I'm asking the user to enter a number and if the number is greater than 2 then I like to add the string -n to that number. Here's my code: read -p "Enter a number " result_sort if [ $result_sort ...
-3
votes
1answer
21 views

How to set up mass executable file permission to all my scripts?

PROBLEM I have new servers and copied lot of files with these conditions: lot of files different suffix lost permissions among them there are other files now I need to set up all and only ...
0
votes
1answer
16 views

find and replace directories in linux

I’m new to Linux and I’ve been searching on how to find and replace directories. Basically I have a path in an .xml file that looks like: /some/directory/path And I want to change that to some ...
0
votes
1answer
8 views

.muttrc and gnome-keyring

I'm trying to use gnome-keyring-query to avoid hard-coding my Gmail password in my .muttrc. According to http://www.df7cb.de/blog/2010/Using_multiple_IMAP_accounts_with_Mutt.html the following lines ...
0
votes
0answers
13 views

Trying to compile ralink (RT5370 chipset) driver; header files failing

I'm trying to compile the driver provided with a Ralink 5370 usb wifi adapter I bought, for Lubuntu 14.4.1 (32bit version). I'm running 3.16.0-24-generic kernel. The header file is giving a type ...
1
vote
1answer
27 views

How to count the number of times a file/directory has been opened?

I'm trying to find the number of times a file has been opened (since the OS inception). I'm thinking of doing this via stat, but most flags only return the difference between the LAST time it was ...
0
votes
0answers
17 views

Bonding/Teaming in centOS 7

I am new to linux. I have been trying to configure either NIC bonding or NIC teaming. I have done it on windows server 2012. I am using centos7 and I haven't been lucky enough to configure it ...
0
votes
0answers
21 views

Complete computer freeze during debian install

I am currently trying to install debian 7.7 on a second hand computer, and I get a complete freeze during the install process, always at the same step - updating mirrors, 38%. Here is what I tried to ...
1
vote
1answer
15 views

How to experience UDP hole punching using Ncat under Linux?

I'd like to see UDP hole punching in action. I tested it under Linux, using Ncat. Here's what I tried: Open port 1234/UDP on host A and port 12345/UDP on host B's firewall (I'm still behind NAT, but ...
0
votes
0answers
3 views

How to backup Oracle database and tomcat directory from Disk with Fedora or other linux live cd?

Some partitions of my disk corrupted (superblock error) and cannot boot, stacked on "Maintenance Mode". How to backup oracle database and tomcat directory on that disk with linux cd ?
0
votes
0answers
6 views

CentOS two sets of kernel packages

On my CentOS 6.2 system the rpm -qa command shows two sets of kernel packages and sources: kernel-2.6.32-220.el6.x86_64 kernel-2.6.32-220.7.1.el6.x86_64 kernel-devel-2.6.32-220.el6.x86_64 ...