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
3answers
215 views

How to select a section from a string in using bash

I have an array containing strings which consist of paths to files in the following format: /path/to/file/14561234545_50303.TXT I'm trying to select the section that is after the "1" but before the "...
1
vote
1answer
146 views

Redirection of web content from linux router to separate web proxy

Here's a good one: while I like the reporting features and https filtering of the up-and-coming Sphirewall firewall/router distribution, it is not quite up to speed on the things that I require in ...
2
votes
1answer
366 views

Running ZFS as MediaStorage with non ECC-Ram

First to the Setup: I'm planning to use 8-11 USB3 Disks to form a MediaStorage The idea is to use 2 USB3 Hubs to balance the load between two seperate USB3 Ports (on different hubs) Now from what I'...
1
vote
1answer
391 views

Linux Mint 16 - Lock Screen Firmware Bug

After playing around with a lot of dual-boot configurations, I've recently decided to ditch Windows (8.1) altogether and have installed Linux Mint. I am running Mint 16 Petra with MATE Desktop This ...
1
vote
2answers
778 views

Can I plug a 2nd hard-drive in the slot for the CDROM drive?

I've received a second 3.5" hard-drive and I'd like to plug it in my desktop computer. The desktop case has only one slot for a hard-drive (3.5") and another slot for a CDROM drive (5.25", I assume). ...
1
vote
0answers
105 views

Write to Samba fails for only one application

A samba server was setup on a Centos 6.4 box with SELinux unenforced. It's configured and running, and from Windows with it mapped to a network drive most users and applications can read and execute ...
1
vote
1answer
857 views

How to enable lftp protocol logging?

We are trying to get lftp to log all its protocol commands (during the login). I see several verbose options in the man page but the all have to do with a specific command issued after logging in (...
1
vote
1answer
122 views

Questions about behaviour of running LiveCD Linux after unmounting a CD-ROM

Could anyone explain what happens in system after unplugging CD-ROM during working with LiveCD session? Suppose that I'm using Ubuntu LiveCD and suddenly by accident the CD-ROM disconnect for a ...
1
vote
1answer
72 views

OpenSuse 11.4 hard free space decreases to zero without any running program

I have a one-user linux OpenSuse 11.4 on my HP proliant server and I always connect to it with TightVCN. The server settings are: core file size (blocks, -c) 0 data seg size (...
4
votes
2answers
7k views

Installing phpmyadmin package ERROR 1045 (28000)

I need to create a new mySQL db for a local site, I thought I'd do that with phpMyAdmin so I installed that package like so: sudo apt-get install phpmyadmin During this process I get a couple of ...
2
votes
0answers
167 views

Change group or permissions when a file is moved to a shared directory on Linux

I've set up a Linux server accessible with ssh and Samba share. Every user has his own folder USER/ and a public folder USER_public/. Permissions on the USER_public/ are set up using setfacl in such ...
9
votes
1answer
847 views

Files copied to NTFS partitions in Ubuntu get deleted by Windows 8

I have Ubuntu 13.10 and Windows 8.1 installed, both 64-bit (dual boot). Whenever I create or copy files to any of the NTFS partitions from Ubuntu, these files get deleted once I login to Windows. When ...
1
vote
0answers
52 views

Use kvkbd without window manager

I am currently developing a kiosk application in QML and I want to use kvkbd virtual keyboard for user input. When used with a window manager (such as icewm), kvkbd works well, but since my ...
6
votes
1answer
2k views

Editing a .jar with `vim`

On an Amazon Linux instance I'm trying to edit a jar file remotely through putty. vim provides a convenient navigator, which displays a prompt with a list of the contained files in the jar: > vim ...
2
votes
1answer
404 views

Hex of filesize

I am following a tutorial on few kernel dev. I encountered an operation where I have to use dd like dd ... if=PBL.bin of=... count=block_number The block_number variable is defined to be as The ...
7
votes
2answers
143 views

How can “Primary Partition” be located in “Extended Partition”?

AFAIK, there can not be more than 4 primary partitions in one HDD because of the size limit of the MBR. I've installed Ubuntu 12.04 and Windows 7 together. Here is the screenshot captured from ...
4
votes
1answer
247 views

Autostart PtokaX at boot only after mysqld has started

I've the following script in /etc/init.d/server.sh #!/bin/bash ### BEGIN INIT INFO # Provides: PtokaX server # Short-Description: PtokaX P2P server ### END INIT INFO /home/serve/...
1
vote
0answers
42 views

Difference between Virtual Console and Workspace?

Please explain all differences between Virtual console and Workspace in Linux. If possible also kindly requested to specify definition and/or example. Many thanks.
1
vote
1answer
270 views

Cannot access the server via ssh after apt-get update

I have did apt-get update in my server - Linux Debian and after that I rebooted the server but now can't access it via ssh. When I open /etc/ssh/sshd_config it showed everything prefix with #. I ...
-2
votes
1answer
66 views

Mysterious .zip File

I've booted into Linux (KNOPPIX 7.2(?) on a flash drive) on my father's old laptop and have been looking around the hard drive a bit. In his Downloads folder, I have found a zipped folder called "...
1
vote
1answer
561 views

bind/named not working on UDP from external

This one is weird. I've set this up a long while ago, on a centos5. From what I remember, it used to work. For some time now, it's not. I've just been informed so no clue what changed when that made ...
1
vote
1answer
355 views

How Do I Manage Multiple Kernel Modules by the Same Name?

I have a situation where I have two modules both named cxgb3 and both in /lib/modules/. How do I inform the OS which one to prefer? Consider this example: $ find /lib/modules/ -name cxgb3.ko /lib/...
1
vote
2answers
258 views

Why do my devices appear to have symlinks , which are empty?

I am finding that I can't mount a device, sdb. However, I don't see it in mounts: [root@idh1 rhs-hadoop-install-0_61]# mount | grep --color dev /dev/mapper/VolGroup-lv_root on / type ext4 (rw) ...
0
votes
1answer
2k views

Ubuntu virtualbox stuck at initializing screen

So my ubuntu virtualbox was working fine.. until I decided to try to up it's performance by changing a couple of settings. Things I changed: Base memory: 1468Mb ---> 2048Mb Processors used: 1 ---> ...
1
vote
1answer
763 views

Download and Run script in Linux Terminal?

I am running Linux. I'm writing an installer in Bash for an application I wrote. The installer needs to be able to download different Bash scripts and run them automatically? How would I go about ...
1
vote
2answers
72 views

Remote login in, creating alias, need advice

I usually remote login to the server at my school. I have a user name and password. The command is 'ssh -l username -p port machineName'. (username is mine, port is a number and machineName is the ...
0
votes
2answers
184 views

Getting a desktop environment Debian

I installed the latest stable release of Debian and I don't like the interface I want it to be similar to the Debian desktop installed by default like the Raspberry Pi has. Is there a way to change ...
1
vote
0answers
739 views

Wireless networking issue: the adapter working fine in linux, but not in windows

My laptop is ACER aspire V5-573G and is currently has a strange wi-fi issue. The laptop has dual-boot Windows 8.1 (64-bit)/Linux mint 16 (xfce,64-bit). On the windows side, the wireless card is ...
2
votes
0answers
42 views

Can I change the size of the kde menu?

I would like to make the menu bigger (=covering more of the screen and showing more), is that possible? Using opensuse 13 kde
0
votes
1answer
2k views

Why John the Ripper is so slow with simple password? [closed]

I'm using John the Ripper version 1.7.8 on Linux Ubuntu to crack Linux user passwords as an exercise. I run the Linux on a virtual machine. I created a user called "User1" to the system and set a ...
1
vote
1answer
273 views

Change scutil HostName to ComputerName on osx

I have about 100 users with Mac Books on which I have admin access. I have set up a dnsmasq DNS-Server on a Linux box that has the Domain "schoolnet". Now I have the problem, that all Mac Books have a ...
0
votes
0answers
119 views

Creating a router “spreader”

So at my room at home, I have 2 extra computers, with like 1gb ram on each. I have the router on the other side of the wall, where a ethernat cable cannot reach it. It has to go through a wall first. (...
1
vote
0answers
2k views

What Linux distros are most suitable for use on a persistent live USB?

I have noticed that not all Linuxes work well in persistent live USB. I am aware that large distros are not recommendable, and the most suitable are the lighter ones (for example, Lubuntu or Xubuntu ...
0
votes
1answer
586 views

cant ssh to remote machine after run “chmod 777 . ” in the root directory

I have a remote machine with a single and root user - stg I connect to this machine using ssh stg@staging and run: sudo chmod 777 . i logout and cant connect any more: Permission denied (...
2
votes
0answers
219 views

Consolidation of Free Space on Ext4

I'm building an linux installation which then will be pushed to various devices with different means of mass storage. Therefore, I'd like to shorten the partitions lengths before creating an image to ...
2
votes
1answer
619 views

perf cannot get cache-misses for Linux VM on VMware ESX

I interested on measuring CPU cache-misses parameter and came across this tool called perf. I followed the wiki and able to get the cache-misses when this command is run on physical machine [root@...
1
vote
2answers
805 views

List contents of large tar archive quickly

I need to list the contents of a fairly large (gzipped) tar archive (about 37GiB). tar -ztvf archive takes forever. Is there some way to get this listing quickly? Possibly by only listing contents ...
7
votes
4answers
16k views

Why Centos still not using Latest kernel

As i have seen many changes and improvement in kernel 3.xx The improvement i like is dmcache which introduced in kernel 3.9 I have 3 server with centos installed on all machine Centos is still ...
1
vote
3answers
378 views

How to batch-rename long file names into short ones under Linux?

I have a lot of data with file name (just for example): dt_upd_global_merged_madt_uv_20100801_20100801_20110721.bil dt_upd_global_merged_madt_uv_20100802_20100802_20110721.bil ...
1
vote
1answer
2k views

How do I know if my Linux system can run both ELF 32-bit and ELF 64-bit binaries?

It appears that I can run both ELF 32-bit and ELF 64-bit binaries on my Linux host. I am running on pretty vanilla Linux boxes (Intel hardware, RedHat 64-bit kernel, etc.) How is that possible? Is ...
4
votes
2answers
3k views

How do I pipe output to date -d “value”?

I have a date like "2014-01-30 05:04:27 GMT", and if I run date -d "2014-01-30 05:04:27 GMT", the output is in my server's timezone ("Thu Jan 30 16:04:27 EST 2014"). With the use of grep and cut, I ...
1
vote
1answer
550 views

how to reload nginx - systemctl or nginx -s?

Is there a difference between calling systemctl reload nginx and calling nginx -s reload ? I know that, besides systemd, there are other init systems like SysV and Upstart. So maybe this ...
4
votes
1answer
4k views

Linux command-line: Quick way to disable internet (keeping LAN)?

Split question: this other one here is for Windows. Linux: Fastest way to disable internet (keeping LAN) from command line? I think the easiest way to deactivate internet (not LAN) in Linux is to ...
1
vote
2answers
2k views

Core dump generation on Linux

Something very perplexing is going on, with respect to my box. Below are my settings in /etc/sysctl.conf: kernel.core_pattern = core kernel.core_uses_pid = 1 In /etc/profile, I have this: ulimit ...
2
votes
0answers
157 views

Why does the “date -u” command show time 25 seconds ahead of “export TZ=UTC; date”?

I am running clockspeed-0.62 (DJB software) on Ubuntu 13.10 (Saucy Salamander). I have setup time zones so that /usr/share/zoneinfo is a link to /usr/share/right, and I have setup an up-to-date /etc/...
2
votes
2answers
420 views

fontconfig: cannot change font family

this is my ~/.config/fontconfig/fonts.conf <?xml version="1.0"?> <!DOCTYPE fontconfig SYSTEM "fonts.dtd"> <fontconfig> <match target="font"> <edit name="...
2
votes
0answers
87 views

How can I create a CD or USB key that fully restores a Linux install? (a la the CDs that come with Windows boxen)

Whenever I assemble and configure a Linux PC for someone, I always run into the problem of what happens if they want to restore their system back to the way it was when they got it. Either they ...
1
vote
0answers
17 views

OS X 10.6: Cant unbundle VMWare software with git: does not look like a v2 bundle file [duplicate]

So I am using Mac OS X 10.6.8, I'm trying to download VMWare Player, there was no OS X specific bundle, only linux. I tried to unbundle the 32 bit linux with: jdd:VMWare Me$ git clone VMware-Player-6....
8
votes
0answers
346 views

How do I evaluate an SSD caching solution for home desktop use? [closed]

I've got a 30GB SSD that I would love to start using as a cache for my larger HDDs. I primarily want to improve apparent performance for general desktop use. I do the occasional massive DB migration ...
2
votes
1answer
3k views

Is there ultra HD support in Linux?

I wonder what the current state of this is? Any distro that supports very high ppi as of today? I have read that mageia offers support, but I wonder if that is truly the case? i find it strange ...