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

3
votes
2answers
1k views

White list for USB flash using udev

I want to create something like "white list" for USB flash drives. I mean "deny everything that is not allowed". I know that I should use udev rules: Add to /etc/udev/rules.d/ a rule to deny every ...
1
vote
2answers
166 views

Why a pendrive isn't visible in BIOS after setting a boot flag to one of its partitions?

I have a pendrive with 3 partitions, and it works well but there's one thing that causes troubles. I'm using this pendrive for booting live debian system, but to do this I have to set a boot flag to ...
1
vote
1answer
260 views

My Backups are all flocked up

I have cron job that runs an rsync command that does a remote backup every two hours. In the event that the previous remote backup is still running, I've encapsulated this rysnc command inside of a ...
1
vote
0answers
41 views

How to control a Wi-fi voice transmission? (gstreamer) [duplicate]

I am trying to build a telephony transmission through Wi-Fi What i am trying to do is, connect a programmable Wi-Fi Headset( it does not really exist,it is actually a Linux computer) with a cellphone ...
1
vote
0answers
98 views

Can I tell rsnapshot to tar every file?

Is it possible to backup a set of files with rsync, but not as regular files but archived with tar (each file)? My problem is: I need/want to make backups of my home-folder at work and IT gave me ...
2
votes
1answer
1k views

unable to send automatic mail via bash script on Ubuntu 12.04: connect to mx3.hotmail.com[65.55.37.72]:25: Connection timed out

First, I apologize for my English (i'm french). I'm using Ubuntu desktop 12.04. I'm still learning Shell Scripts so I may have made a really simple mistake somewhere. I'm trying to write a shell ...
3
votes
3answers
2k views

How can I share files over internet between Windows 7 and Linux? [closed]

I want to continuously write small media files (150-200 kb) from a windows 7 desktop machine behind a home LAN to a Debian Linux server in a data center over the internet. The system will remain in ...
2
votes
1answer
661 views

Remove sub directories / sub folder from zip + rar files

I have a bunch of .zip and .rar files. Many of these files contain subfolders in the archive. I want to remove all the folders from the zip files but keep the other content. e.g. original.zip - /foo/...
1
vote
1answer
532 views

Headless hypervisor installation

I currently have an HP ProLiant Microserver set up at home, for standard tasks - a simple Linux distro, running a few services (Transmission, Sickbeard, etc.), hosting a few websites, e-mail, and such....
0
votes
0answers
110 views

prohibitive keymapping with putty, gnu screen and vim

I'm logged in to my Debian machine using putty. I have a GNU screen session open and I am running vim in it. the problem I have is that when I go to save the file using :w<enter> this appears to ...
-1
votes
1answer
416 views

How can I smb share a Windows folder so it is accessible to Linux machines?

I want to create an SMB share on my Windows machine, so that my Linux machine can see and access it over the network. I tried setting up 'sharing' on the folder, but this hasn't worked. How can I set ...
0
votes
0answers
125 views

Allow outgoing connection to remote server through SSH

I'm a newbie in using Linux. Currently I am in the process of moving my Wordpress site to a new dedicated server running Linux. When I logged on to the Wordpress site as admin, I noticed the following ...
3
votes
1answer
4k views

ssh-keygen and ssh-add passphrase problems

When I run ssh-keygen and press return instead of inputting a password then I can add the key with ssh-add ~/.ssh/id_rsa.pub. I am prompted to enter the passphre for ~/.ssh/id_rsa.pub. I simply press ...
0
votes
1answer
372 views

Using excludes with rsync

I am trying to use rsync to automatically backup my personal files in /home/usr to an external drive. Of course, my /home/usr directory contains a number of hidden files (for config, etc.), such as ....
0
votes
1answer
36 views

apache virtualhost configuration

im trying to create a virtualhost on my dev environment. basically, i want 192.168.1.1 = load /var/www/web1 192.168.1.1/web2 = should load /var/www/web2 i thought it'd be simple enough to just ...
1
vote
1answer
812 views

Half-installed python packages and circular dependency

Something went wrong while updating to ubuntu 12.04 to 12.10: root@ely:/sys/bus/usb/devices# dpkg -l | grep ^i[HUFW] iU libpython2.7 2.7.3-0ubuntu3.4 ...
0
votes
0answers
50 views

SSH still requiring password after blank keygen is given [duplicate]

I've spent hours and hours trying to figure this out and still can't so maybe you can help. I have a small beowulf cluster I just started building out of some old computers running ubuntu 12.04 LTS. ...
3
votes
1answer
83 views

Is it possible to install software on Windows from a Linux live USB?

I do an awful lot of software installs in work (Microsoft Office, Norton, McAfee, etc.) on Windows 8 machines and having no real way to automate the process for a variety of machines. Primarily I'm a ...
1
vote
3answers
364 views

Speeding up find command?

I need to find out huge files in the Linux server and where many people would be processing huge files and data loading will be happening. "find" command takes more time to give the output. Is there ...
3
votes
2answers
242 views

Linux Ubuntu, How to clean cookies from web browsers

How do I empty the trash though the terminal, and how do I get rid of cookies that have accumulated in the web browsers under linux?
0
votes
1answer
546 views

Get public ip address using ADSL ethernet Modem

i would like to use my D-Link DSL-320B modem as pure modem. Let me explain. This device is an ADSL Modem with an RJ45 port to which i can connect to, but I think it acts more like a router.. even ...
0
votes
0answers
294 views

How to install arch with EFI and change system to ubuntu

This question is weird. The only Linux distribution working on my MSI GE60 with windows 8 and Uefi is Arch. I cannot install other distributions because I get a black screen on install. My problem is ...
1
vote
1answer
768 views

Share files between Ubuntu and OS X (in the same PC)

I think the question title explains itself, but I will give you some details... I have a MacBook Pro Late 2011 with Ubuntu 13.10 and OS X Mavericks sharing the same hard drive with OS X using most of ...
0
votes
1answer
593 views

“gksu” doesn't prompt for the root password

I use this terminal emulator x-terminal-emulator and when I run this on a normal non-privileged user ~$ gksu /usr/bin/x-terminal-emulator an app starts and tells me to choose a password for a new ...
0
votes
1answer
149 views

How to identify my Windows 8.1 partition(s)

I have a home assembled desktop computer with Windows 8.1 installed. I have previously had Windows Vista Business 64 installed and I remember experimenting with Ubuntu some time ago (dual boot). I ...
0
votes
2answers
208 views

linux rename home folders and lost configuration

I've changed my Home folders name, like, "Documents" I changed to "docs", "Downloads" to "downloads" and "Pictures" to "img".. but now my Desktop is not well configured, for example, my background-...
-3
votes
2answers
396 views

raspberry pi remote desktop

I have a model B raspberry pi connected over an ethernet cable to my laptop. My tv has a hdmi input but my laptop has no hdmi output. I can display the raspberry pi desktop on the tv using a hdmi ...
0
votes
0answers
3k views

MySQL Daemon Failed to Start - centos 6

So not sure why I am getting such error. When I type: mysql I get: ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) I know that there should ...
0
votes
1answer
76 views

No longer able to access Centos 6 VPS the “normal” way?

So I still yes do have access to the serial console stuff but I am really limited on my options now. I did numerous things before I had rebooted my VPS so I really can't pinpoint what I did to cause ...
2
votes
3answers
442 views

How to use macvim to ssh into a headless server

I am using Mac OS X 10.7.5 I installed macvim for the first time in my life. I enjoyed using MacVim I was wondering how to SSH from it into a headless server within the MacVim itself. Currently, I ...
1
vote
2answers
409 views

Restrict user access to only read from /proc

As a method for setting up some bare-bones systems monitoring, I have a script set up to SSH in, and run some basic shell commands, reading some files in /proc. I would like to create a specific user ...
2
votes
2answers
3k views

How to grep a group of files within a time range?

I'm trying to write a script used on a buffer box that does full packet capture of network traffic. As it's for a fairly big network we split the captures into 100MB segments. At times of high network ...
0
votes
1answer
546 views

Input/output error reading file

I have a file that is 6.6GB, it just so happens to be a video file, and I'm trying to copy it to an external drive since its quite important for me to keep, however when I try copying it whether with ...
2
votes
1answer
152 views

How to run a program when specific hard drive is connected (in Debian)?

I want to automatically run a specific command whenever a drive (a specific drive, or any drive) is hot-plugged. I am running a headless Debian system. To be more specific, I want to auto-mount the ...
1
vote
1answer
632 views

Can I detect the presence of a second display in a shell script or Conky config?

I want to modify my conky placement depending on whether I'm working with my laptop in my lap (one screen) or have it at my desk attached to a larger monitor (dual display). The problem is that I ...
0
votes
4answers
8k views

ssh still asking for password when trying to log into another pc

I recently constructed a small Beowulf cluster out of some old computers all running Linux Ubuntu 12.04 LTS and have been following the instructions on this page: http://byobu.info/article/...
0
votes
1answer
65 views

Log user detail who restarted a service

This is related to a question asked by me some time back. I want to log the details regarding who restarted a particular service on Linux. For example: If a user X restarts apache, then it would ...
0
votes
1answer
2k views

Dive into Python 3 - convert to ePUB

The ebook Dive into Python 3 is available on GitHub. This script creates the HTML and PDF versions. Is it possible to generate an ePUB version from this on Linux?
0
votes
0answers
1k views

grub error: file not found

I reboot my debian server and now grub is telling me this: error: file not found. Entering rescue mode... grub rescuse> ls will show this: (hd0) (hd0,msdos2) (hd0,msdos1) Now i'm executing ...
1
vote
1answer
64 views

Make a bridge on my mac

I have a Mac with WiFi connected to a router, internet works just fine there. I also have a PC with Linux Mint, and no wireless network card, so I connected them with a cable one to the other. Have ...
1
vote
1answer
670 views

I deleted /etc/init.d/redis-server.. how do I get it back?

I was following some instructions for how to fully remove gitlab so I could re-install from scratch, I deleted /etc/init.d/redis-server and now the new git installation is broken because it's not ...
2
votes
1answer
3k views

How do I test if my motherboard is failing using Linux?

I've been having strange segfaults happen randomly to firefox, qsynth, and totem. Mainly firefox. I've tested my hard drives with smartctl and dd, and tested my ram with memtest, but how do I test my ...
0
votes
0answers
304 views

USB Drive went into Read-only mode and doesn't allow me to write or delete anything

I am using Linux kernel 3.4.56 and I was working with a USB stick but while doing a system upgrade procedure, it went into read-only mode. And now it doesn't allow me to write or delete anything. I ...
0
votes
1answer
366 views

pidstat -u -I shows cpu usage 385%

I have a guest running in qemu doing linux kernel compilation. From host, I am watching its usage with below command pidstat 4 -p pid_of_process -u -I -I flag should average out for all number of ...
1
vote
2answers
736 views

Why is my recursive grep not working?

I am in a parent directory and want to search for any ODT files (LibreOffice Writer) that contain the phrase "GWT" in them. I'm on Ubuntu 12.04 desktop. From the terminal: myUser@myMachine:~/sandbox$...
7
votes
2answers
1k views

If I have “badblocks” write its output to a file, and that file is empty, does that mean that no bad blocks were found?

I recently ran badblocks on a large server hard drive to check for possible issues (SMART reported that everything was fine, but I needed to be sure). The command I used was: badblocks -c 1024 -b ...
0
votes
2answers
630 views

Compile Jnetpcap library for ARM platform?

I am trying to execute a java project on arm platform. my code use jnetpcap library. but when i execute the program it shows me an error "/usr/lib/jnetpcap.so: cannot open shared object: no such file ...
0
votes
1answer
336 views

Will Ubuntu work on MSI GE40? [closed]

I am going to buy a new laptop and I am thinking about MSI GE40 because of it's power and relatively low weight. But at the same time I am going to use it with Ubuntu. There are not too many posts ...
0
votes
1answer
9k views

List files of folder page by page with LS command

I'm wonder if there is some way to list all files of a folder by ls, I know how to use ls for a folders which are small but if list of files doesn't match with the screen size what should I do? there ...
1
vote
1answer
7k views

Setting Up a Python Cron Job

I hope you guys can help. I've never set up a cron job before but would like to run a daily Python script at 5am on my server. I'm using hosting from CrazyDomains.com.au (Linux server) and can't find ...