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

Debian - missing /by-uuid/ in boot image

We proceeded few disk operations on our server (system disk was extended for new hard drives) and unfortunately after reboot boot stuck on error: ALERT! ...
23
votes
5answers
36k views

How do I get the size of a Linux or Mac OS X directory from the command-line?

What command do I use to find the size of all the files (recursively) in a Linux or Mac OS X directory?
67
votes
16answers
72k views

Linux utility for finding the largest files/directories

I'm looking for a program to show me which files/directories occupy the most space, something like: 74% music \- 60% music1 \- 14% music2 12% code 13% other I know that it's possible in KDE3, but ...
13
votes
10answers
28k views

Filesystem full: how to find the biggest directories or biggest file?

Under Linux, I'm looking for a command to list the biggest file and/or the biggest directories under a directory.
3
votes
2answers
7k views

Which keymap should I use for a wired Mac keyboard in Gentoo Linux?

I just purchase the new wired Mac keyboard: Running on Gentoo Linux it works mostly fine. The only problem I am having is the function keys and swapping the Alt and Command keys to resemble a ...
0
votes
1answer
29 views

How do i locate where a program is installed on Linux without knowing its exact executable name?

I am trying to locate where a program's executable file is located from the command line. Is there any way to do that without knowing the executable's exact name? Ive tried whereis "program name" ...
0
votes
1answer
18 views

Bash - Parsing XML output of nmap

I am trying to write a bash script that will take port id I retrieve from an nmap command, and then use those ports to send a file using netcat. So I got some basic knowledge using this link, How can ...
0
votes
0answers
18 views

linux - Burn bootable dvd

I try to burn a bootable dvd for linux mint mate 17.1. I tried 3 tools: Braseo (ubuntu/mint) windows disk image burner (win7) Nero (a tool for windows) Only the image burned by Nero succeed to ...
0
votes
0answers
9 views

Can not type in tilde and open curly brace in linux terminal

I cannot type a tilde ~ or an open curly brace { within Linux. But a closing curly brace } does work. I assume some special key handling is activated despite Ubuntu's Universal Access being ...
1
vote
0answers
19 views

What should I use to access NFS from console without mounting it?

Network file access | Console program | mounting option ------------------------------------------------------------ HTTP | wget / curl | httpfs FTP | ...
0
votes
1answer
9 views

smbclient - keep copying after NT_STATUS_SHARING_VIOLATION

I have a directory of files that need to be copied every night as a backup. I am using 'smbclient' to backup the files to linux machine but I am seeing an issue where if a file is locked the entire ...
1
vote
1answer
35 views

in linux, is it possible to find out the hard disk operation time

in my Linux machine, it has 4 partitions.hda1,hda2,hda3,hda4.i ahve an script to mount each partition dynamically .i want to calculate the operational time (ie, Operational is defined as the disk is ...
0
votes
0answers
21 views

None of USB ports are working on Windows and Linux

None of the USB ports work anymore on my Acer Aspire E1-571G laptop which is running both Windows 7 and Fedora 21. It can’t detect anything. For example flash memories, USB mouse, my Android phone ...
1
vote
1answer
3k views

XBMC launching external applications full screen

Running xbmc-standalone (Eden) on Ubuntu server edition 12.04 (no gnome/kde/etc...). When launching another application via 'advanced launcher' or other launcher add-on XBMC goes into a 'windowed ...
8
votes
6answers
11k views

How do I solve periodic mouse lag on Linux Mint (MATE)?

I have a laptop with the latest Linux Mint installed (the MATE version, not the Cinnamon one). 80-90% of the time everything works great, but periodically the mouse will start "lagging" heavily (it ...
6
votes
2answers
71 views

how to list current path mode?

If the current path is /data/db_1, and /data has three subpath, db_1, db_2, db_3. I want to know db_1’s modification, owner and group. Currently I use ls -li /data |grep db_1 , but I think there ...
2
votes
3answers
4k views

SFTP ChRoot result in broken pipe

I have a website that I want to add some restricted access to a sub-folder. For this, I've decided to use CHROOT with SFTP (I mostly followed this link : ...
0
votes
0answers
21 views

Linux Mint 17.1 not working in dual monitor mode

I’m having problems getting my dual monitor setup working in my Linux Mint 17.1 setup. There is a display app under the system menu and when I run it, it says I have two monitors (it even knows the ...
5
votes
3answers
12k views

Tools to see ext2/ext3/ext4/btrfs/jfs/xfs filesystems under windows?

Are there any drivers/application that can read/write ext2/ext3/ext4/btrfs/jfs/xfs filesystems from Windows? E.g.: a removable drive is formatted with EXT3.. how can I write it under Windows XP/7?
0
votes
0answers
24 views

Executing Minecraft Server Commands via SSH and Screen

I'm extremely new to linux, so please help me out if you can! I have read many of the posts about managing/monitoring servers using SSH and Screen, but have not found anything regarding my particular ...
0
votes
1answer
23 views

Boot from a windows 7 harddrive on a linux first laptop?

I have a windows 7 hardrive from my old laptop that died. I use Ubuntu exclusively on my new computer so I never had a need to dual boot. Now, there's some info on the old drive that I want to ...
2
votes
1answer
20 views

Script stops when user is changed

I am trying to create a script that logs as a different user to create a database backup. So far I have encountered a few problems, such as having to input sudo password, or not being able to bypass ...
0
votes
2answers
3k views

Changing Linux swap partition

I want to change the swap partition to another partition. Is there a gui that can make this process easier so I don't have to do things like manually editing files?
0
votes
1answer
15 views

How get reach of Grub at Debian and going to desktop environment?

Recently I installed Debian Distro of Linux as a 2nd operating system, When I chose the Debian operating system during boot, a command prompt (like to Terminal at Ubuntu) starts with message "Welcome ...
0
votes
0answers
7 views

Note: further occurrences of Parameter errors will be logged at DEBUG level Apache tomcat, How do I keep getting these?

I'm running tomcat 6, and I get a warning ONCE, follow with that note, Note: further occurrences of Parameter errors will be logged at DEBUG level, But they aren't logged anywhere, or at least I ...
37
votes
6answers
12k views

Linux / OS X tar incompatibility – tarballs created on OS X give errors when untarred in Linux

When I tar up files on my Macbook and untar them in Linux, I repeatedly get the following warnings/errors: tar: Ignoring unknown extended header keyword `SCHILY.ino' tar: Ignoring unknown extended ...
0
votes
0answers
10 views

Raspbian - Brother DCP195c Printer with CUPS, insecure permissions

Hello I already read the thread: Debian ARM and Brother DCP195C with CUPS And did the steps exactly as they were described. But the error message I am getting is completly different: Idle - "File ...
0
votes
1answer
7 views

CentOS6 Backup fails; “permission denied”

I am currently trying to do a backup of a server and am getting an error message when running my script. The script runs correctly on certain directories, but for the directory I am attempting to use ...
0
votes
0answers
11 views

Unable to get the Full screen in KVM

I installed CentOS 6.4 in KVM (Kernel-based Virtual Machine), My base machine is Scientific Linux 6.4. I am unable to get the full screen in KVM, In virt-manager if I select full screen also both ...
0
votes
0answers
10 views

Gentoo can't boot on GRUB2

Gentoo is on /dev/sda4 and /dev/sda3 is /boot,/boot/kernel-genkernel-x86-3.18.7-gentoo and /boot/initramfs-genkernel-x86-3.18.7-gentoo both are genkernel-built,but GRUB says:could not find the root ...
0
votes
2answers
79 views

Port based NAT-ing with iptables

On eth0 port we have public IP, and eth1 we have IP 10.31.0.1 which provides DHCP and Squid service. Ports 8080,53,67,80,443 are open. Now for an application we have to open 1521,8443 ports so that ...
0
votes
0answers
10 views

Ssh chronos@localhost without ALWAYS having developer mode on

I have an older samsung chromebook that I use for schoolwork, and I like having access to its root, but the problem is that my roommates also use the chromebook and do not know how to get around the ...
0
votes
0answers
10 views

Error: EMFILE, too many open files - Solution?

I'm getting this error, my server has a lot of visitor now. My Vps is 4 Gb ram with 4 Cpu. Should I move to bigger server for solution? Because ulimit -n 10000 not working.
2
votes
1answer
27 views

oxps to pdf or image - Linux

I've been trying to solve the problem of converting an .oxps file to .pdf or other file format. Any solutions for Linux out there? I've been searching around and cannot come up with much thus far. ...
0
votes
2answers
30 views

Linux command get unused port

I'm looking for a command or script which returns an unused port on my ubuntu linux system. I have look on internet and the only thing I find is about the used/Listen port with the nestat command. ...
0
votes
1answer
21 views

locales broken on Beaglebone Black running Debian

So this all started when I wanted to install my custom daemon on my Beaglebone Black running Debian using update-rc.d mydaemon defaults 97 like I've done many times during it's development on my Mint ...
10
votes
3answers
457 views

Programatically determine if an script is being executed on laptop or desktop?

Is there any reliable way to determine (programmatically) from within a bash script if it is being executed on a laptop or a desktop computer? I could obviously just prompt the user to ask them, but ...
0
votes
0answers
15 views

Is my system rebooting cleanly by itself? Interpreting output of the 'last -x' command

My Ubuntu 12.04 sometimes reboots by itself, and I'm trying to debug what is causing it. I can't seem to find anything relevant in the logs, so this indicates it might be a hardware issue. However, ...
4
votes
2answers
8k views

/etc/security/limits.conf for setting program limits in Linux

I have the following inside /etc/security/limits.conf (I have specified root separately because * will not include it.) user2 - core unlimited * - core 0 root ...
0
votes
0answers
4 views

Change font in terminal on remote connection in Konsole

Is it possible to set Konsole terminal to change font color on remote connection? For example, depending on computer's name?
2
votes
1answer
750 views

Problems getting built-in 3G modem (Ericsson H5321gw – USB ID 0bdb:1926) working on my Lenovo X230 (Debian)

I have Ericsson H5321gw WWAN modem (USB ID 0bdb:1926) on my Lenovo X230 laptop. I've got it working momentarily using NetworkManager GUI on Gnome3. Normally I can make it connect for a few minutes ...
0
votes
1answer
33 views

What is my CPU speed?

I need the CPU speed of my KVM host. When I am using dmidecode, the result is the following : sudo dmidecode | egrep "Max Speed|Current Speed" Max Speed: 3100 MHz Current Speed: 3100 ...
0
votes
1answer
46 views

how does ping -W work

I want to try to use ping to detect if a server goes down. So the idea was to have something ping forever, and then if ping ever timed out( -W flag) it would return and I'd be able to detect it. But ...
2
votes
3answers
112 views
+50

Mouse not usable on specific USB port (Windows and Linux)

This is an operating system-agnostic issue, but I have logs from Ubuntu 14.10. I have this Perixx PERIMICE-710R USB wireless mouse: It is not usable through a specific USB port on a Lenovo Y510p ...
0
votes
0answers
3 views

show “effect” of nmcli r wifi off as airplane mode in KNetworkManager GUI (plane checkbox ticked)

my ultimate aim is to put a shortcut on my keyboard which enables/disables the airplane mode of my wifi. I spent a couple of hours to figure out how to realize this by an nmcli command which does not ...
0
votes
1answer
38 views

Failed to modify entry for user in samba with tdb backend

I have a debian server with samba. I can no longer manage users accounts. I can't add, modify or remove them. This is Debian wheezy with samba 3.6.6. There is no ldap and the database backend is tdb. ...
2
votes
3answers
269 views

What (linux) directories are written to most/constantly?

When I read articles on running Linux from a flash drive, many recommend that directories that see many or constant writes be mounted in ram (e.g. as tmpfs). My question is - Which directories will ...
0
votes
0answers
14 views

Assistance remembering the name of a Linux “strace”-based tool for file paths mocking

Once surfing the Internet I’ve seen a home page for a Linux tool which claims it can employ Linux systrace interface to execute other programs with manipulated paths. Something like that: $ ...
1
vote
1answer
2k views

Why NetBeans ( php - remote project ) change permission of files to 0600?

I'm using NetBeans for editing some php files ( in a php project ) at remote server. all go normal, but when saving the edited file using NetBeans, the file's permissions are set to 0600 by default, ...
9
votes
3answers
11k views

Continuously monitor files opened/accessed by a process

lsof -p 12345 will list all the files opened by process whose pid is 12345 but only for a particular instant of time. How can we continuously monitor a process from the start to end(until process is ...