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
4answers
3k views

Linux, find all files matching pattern and delete

Looking to find all files (recursively) which have an underscore in their file name and then delete them via command line.
0
votes
1answer
802 views

Windows 7 Laptop can`t reliably connect to my Linux SMB shared directory

I have asked this before, and everytime I think I found a solution it still will not work reliably, so here I go again. :( I have several Windows 7 machines in my network and a linux server which ...
4
votes
1answer
3k views

New Linux Mint 16 installation, wifi connects and then drops almost immediately

I don't really know how to get into much more detail than the title has provided. I'm on a new HP Pavilion 15 and running Linux Mint 16 x64, but the wifi keeps dropping almost immedi ately (<1 min) ...
5
votes
1answer
7k views

Avoid errors from tar failing to restore directory permissions

I observe the following behavior with both tar 1.26 and 1.27.1: $ mkdir a b a/diffowner $ sudo mkdir b/diffowner $ sudo chmod a+w b/diffowner $ echo foo > a/diffowner/foo $ tar -C a -cvf test.tar ...
0
votes
1answer
58 views

How does a boot USB treat a deleted file?

I created a Linux LiveUSB from xubuntu. I boot into it, and understand that it’s running in RAM. My question is, let’s say I created a folder on the Xubuntu desktop (not the C: drive or an external ...
3
votes
2answers
3k views

DELL PowerEdge - System fatal error during previous boot

My dedicated DELL R710 server (CentOS 6.4) is rebooting by itself and popping up with the following error. Does this mean the box cannot boot, or it kernel panicked during Linux boot up and the ...
0
votes
1answer
1k views

Route traffic from one address to another on one interface and to everything else through another interface

I have a small embedded computer running busybox. It has a wired eth0 interface, which is connected to an on-board wlan-module's wired interface by a cable. Also there's an 3G module on ppp0. I need ...
2
votes
1answer
2k views

How can one change a Firefox config setting from the CLI

My objective is to be able to automate changing of a config setting without having to restart the running Firefox instance. In particular I want to change the Network Proxy Type. So for example the ...
1
vote
1answer
140 views

Find the largest file in directory without size in output

I need to find the biggest file Only one file should be listed Search should work in given directory and subdirectories Output should display absolute path to the file with filename find "$PARAM" ...
2
votes
2answers
93 views

Linux terminal single command resource usage

I cant find way to monitor single linux terminal command. I want to monitor this command: php index.php parse The problem is this process works too short to get pid so I hope there is something ...
2
votes
1answer
207 views

How to keep up with a changing block device, without unmounting and remounting?

So, I am running Arch on miniature system (the BeagleBone Black). On this board, I have the SD card (/dev/mmcblk1) to pass-through over USB to the host computer with the g_mass_storage kernel module. ...
0
votes
0answers
58 views

Implement Roll-backing in bash script

I have implemented an Ubuntu package in which bash scripts are using. I followed these for making packages in Ubuntu. ...
0
votes
0answers
194 views

Laptop dies and does not complete boot process if not on AC, yet battery is fine

My laptop, after a hard 6 years of use, is finally showing signs of electrical wear and tear through a myriad of strange issues, this being one of the least severe of them. I've experienced recently ...
0
votes
2answers
185 views

How to hide the destination of a symbolic link

Say for instance I want to link the following two directories with a command like this: ln -s /home/usertwo testdir When I click ls, in the directory where this link is created, i will see ...
19
votes
7answers
7k views

How can I verify that a 1TB file transferred correctly?

I frequently transfer VM images from hypervisors to an archive server for long term storage. I transfer using netcat since it is faster than scp, rsync, ect.. hypervisor$ cat foo.box | nc ...
0
votes
3answers
3k views

Fedora package manager GUI vanished

I upgraded Fedora from 19 to 20. Now I cannot find the package manager GUI. I reinstalled PackageKit and gnome-packagekit -- no effect. How do I fix this?
0
votes
0answers
273 views

Grub Network Boot, where do system files go?

I have made a folder structure for network boot using PXE and Grub with the command grub-mknetdir. I have put those files in a valid served tftp folder on Server Machine. I have put a valid kernel ...
1
vote
1answer
943 views

Default gateway is lost

A weird thing is happening here. I am using TPLINK WDR3600 as server, which is connected through Ethernet with a modem in bridge mode. I use 2 PCs and a cell phone on my LAN. Something is happening ...
0
votes
2answers
1k views

Is there a linux command to find out how many SSDs my laptop can support?

Background: I'd like to benchmark some SSDs. I am thinking about doing this on my laptop. I would like to check if my laptop supports using multiple SSDs at the same time. I don't want to have to ...
1
vote
3answers
2k views

How to export comments from a PDF file?

My supervisor usually requests me to deliver some kind of written reports. I write them in LaTeX, deliver them as PDF, and get them back with lots of comments. She uses Acrobat Professional to create ...
2
votes
1answer
648 views

Why “php x.php &” leads to a STOPPED background process

x.php: <?php sleep(15); ?> console: $ php x.php & [1] 5742 [1]+ Stopped x.php Result: a "STOPPED" process - it's there forever until I send a TERM and then CONT ...
2
votes
0answers
160 views

Stream from Windows Media Player to linux

I'm trying to setup my Pi running Debian Wheezy to play music coming from any computer on the network using the Play to feature of the Windows Media player. The Pi is running headless, so a terminal ...
1
vote
0answers
236 views

No response received from github ssh randomly

My git pull started to stop working randomly with this error $ git pull ssh: connect to host github.com port 22: Connection timed out fatal: The remote end hung up unexpectedly I tried debugging ...
-1
votes
1answer
401 views

copy files from one directory to other in loop

I am not bash expert. I need to write a script to copy latest (by date) file from one folder to another as following from /test/a/date1.bak /test/a/date2.bak /test/a/date3.bak /test/b/date1.bak ...
0
votes
0answers
670 views

dhclient “Can't bind to dhcp address” error

I keep getting the following error message from dhclient upon starting of the Network Manager: Can't bind to dhcp address: Cannot assign requested address. Please make sure there is no other ...
6
votes
1answer
268 views

What are the main impacts of SELinux, from an administration point of view?

Thanks to Wikipedia and others, we can have a vague idea of what SELinux is. I understood it gives ways to handle permissions more precisely, but I'm really not aware about how. The question would ...
2
votes
0answers
112 views

How to prevent Alt+Shift from switching keyboard layout before keyup?

Motivation: In an appplication I'm using, Alt+Shift+R is taken up by -- well, never mind what, something app-specific. However, on my Linux system (Kubuntu 12.04 specifically), when I press Alt+Shift ...
1
vote
2answers
141 views

Accessing preexisting files in the mount point after mounting a filesystem

Consider i have files in /mnt i am mounting an nfs share to /mnt. After that i can find the nfs share contents in /mnt. But the preexisted files are missing. Is there any way to access both the ...
0
votes
3answers
486 views

Linux distro for Java [closed]

I am setting up a server that will run multiple Java programs and requires Java 7. I am more familiar with Debian but have been advised that CentOS/RHEL has better 64bit Java 7 support. Is there any ...
0
votes
2answers
611 views

Can I use different server IP address in NTP time synchronization?

By default, it is something like, server 0.rhel.pool.ntp.org server 1.rhel.pool.ntp.org server 2.rhel.pool.ntp.org Can I choose my server IP address for synchronizing time?
0
votes
1answer
89 views

pgp semaphores management on linux

I've an issue with pgp semaphores management. As far as I see pgp (version 6.5.8) creates 4 semaphores while starting to encrypt the file but only 2 of them are then destroyed at the end. To ...
0
votes
1answer
1k views

xfreerdp ignores resolution parameter

I cannot connect to a server with a custom screen resolution set If I use command xfreerdp servername -g 1280x1024 it connects but the resolution is 1024x768. Xfreerdp just carelessly ignores the -g ...
0
votes
1answer
146 views

Is there a way to loop a console command in Linux?

The Problem: I'm trying this (as root) in Fedora 19's console: yum install httpd All it returns is this: loaded plugins: langpacks, refresh-packagekits Error: Cannot retrieve metalink for ...
1
vote
1answer
240 views

mkfs.vfat: re-label existing filesystem?

I have several USB sticks that were all made with mkfs.vfat -n FOO and I would like to re-label the filesystems without having to grab all the files on them, re-format, and put the files back on. Is ...
-6
votes
3answers
2k views

What explain the expensiveness of laptop from System76? [closed]

What explain the expensiveness of laptop from System76? I don't understand... Compare to a Windows 8 laptop with very similar configuration; the price is also pretty much the same. I was sure that ...
1
vote
1answer
862 views

ssh into a remote linux server from a linux desktop via an android device

I need to ssh into a linux workstation from a linux desktop in my home. The workstation is behind a university firewall. The university has a vpn but this vpn server (juniper) does not have linux vpn ...
0
votes
1answer
234 views

How can I change super-minor number of a software raid array meta 1.2?

I had a double failure while I was away on the holidays of my array. As I was saving the data, I created a new array on a new drive has /dev/md1 and copied the info from my almost failed remaing HD ...
0
votes
1answer
458 views

Why does this line in my fstab give me an “Invalid Argument” error

Here's the entry in my fstab that's giving me a mount error(22): Invalid argument error. //{address}/networkshare /mnt/pslive-netshare cifs ...
3
votes
2answers
481 views

How can I prevent access to my home directory from another root user?

This question was asked during an interview with Google and I can't find any answer. I'm thinking of encrypting your home directory, but if anyone has done it before, i'd appreciate if you can share ...
1
vote
1answer
66 views

sudo is messing path order

I'm having a little issue with my PATH when I use sudo : My PATH from user shell : /usr/local/bin:/usr/bin:/bin:/opt/bin My PATH from root shell, via su or root login on TTY : ...
1
vote
0answers
271 views

Eclipse crashes after few minutes (Debian, Oracle JDK 7, Kepler, 64bit, RAP)

my eclipse keeps crashing on me after a few (3-5) minutes of use (that is: no crash if just open and I don't use it). Mostly when I try to save (that works at first) or when calling the completion ...
0
votes
1answer
654 views

How do I make a shell script that restarts a Java program every x minutes in Linux?

How do I make a script that restarts a java program every X minutes in Linux? I will be using: PHP A linux godaddy hosting account (classic, and I don't know what OS) a .sh script FTP (to access ...
1
vote
1answer
434 views

Mounting ntfs subdirectories of device

I have an external hard drive mounted in arch-linux using /etc/fstab: dev/sda1 /mnt/share ntfs-3g user,users,gid=users,fmask=113,dmask=002,locale=en_US.UTF-8 0 0 charles@arch ~ $ ls -l ...
1
vote
1answer
52 views

Dedicating Bandwidth to a Certain Computer

Fundamental Question What can I do to dedicate bandwidth to a Linux server running Ubuntu 12.04 so that other computers on the network can access the server with minimal lag? Background Information ...
1
vote
1answer
112 views

Using SVN as total backup solution for multiple OS sharing data disk

I just installed two Linux OS's on one laptop, dual-booting. I keep my important data on an EXT3 partition that I share between the OS's. I was using CrashPlan for automated backup, but I suspect it ...
3
votes
2answers
142 views

How to expand unused space on usb key

My NAS runs Ubuntu Server 12.04, it runs this from an 8gb USB disk which is getting quite full so I have transferred that to a 32gb key using dd if=/dev/sdc of=/dev/sdb bs=512 Now, this is great, ...
0
votes
2answers
2k views

What is the procedure to check the apache version in a sun solaris machine?

What is the procedure to check the apache version in a sun solaris machine?httpd -v is not working
1
vote
0answers
2k views

Browser only linux distribution

I had set up moodle server for teaching students at my department. We have 2 computer rooms that are used by students for accessing this server and completing quizzes. Currently all computers have ...
0
votes
2answers
166 views

Asterisk Configuration on wireless network

I have installed Asterisk in my laptop on Ubuntu. Afterwards I created wireless network on the same machine (on which I have installed Asterisk). Next I installed 3CX softphone client on two laptops ...
1
vote
2answers
589 views

Will moving linux root folder's subfolders (/tmp, /lib, /etc) to another location affect the system?

I have installed Ubuntu in dual boot with Windows 7. Windows 7 (C drive) disk size is 420 GB, Linux drive size is 50 GB. Now I'm facing space problem on Ubuntu. I cannot reinstall any on them and also ...