Questions specifically about Linux, as opposed to Unix-like systems in general, or to questions about a specific distribution or program.

learn more… | top users | synonyms

1
vote
0answers
17 views

What is the point of the second route lookup after OUTPUT?

According to the packet path diagram, and its description: Table 6-2. Source local host (our own machine) [...] Routing decision, since the previous mangle and nat changes may have ...
1
vote
1answer
33 views

Install rpm from custom repo

I created a custom repo on one of my machines that I am able to grab updates from. However I also want to be able to install packages such as emacs,gcc, and the such from the repo. The updates work ...
0
votes
1answer
31 views

UNIX + nginx + php + SQL

I use a FTP site to upload my work, which resides on a server running on a Linux OS based on nginx. And I use an odbc driver to connect to a database that interacts with my php code. In that database ...
0
votes
2answers
55 views

I get an error whenever I try to add myself to sudoers

So I installed Debian yesterday, and I tried to make myself a sudoer so that I don't have to be root every time I try to install something. However, this always happens when I add my user to the sudo ...
2
votes
3answers
78 views

Linux speed up by moving files to ramdisk at start

I have more than enough ram in my computer (8GB), which hardly gets used. In the most cases my desktop and apps use up in 2-3GBs out of it, on the other hand I do not have an SSD. My system is 64bit ...
2
votes
1answer
30 views

linux systemd intercept shutdown if service is active

I've created a little update/upgrade program for my arch-based linux. Instead of using a cronjob I'm using systemd and created following files: in /etc/systemd/system: uupgrades.target & ...
5
votes
1answer
77 views

Tail log file on multiple machines over ssh

I'm trying to tail a log file on multiple remote machines and forward the output to my local workstation. I want connections to close when pressing Ctrl-C. At the moment I have the following function ...
1
vote
1answer
33 views

CheckInstall fails to install on Debian

I tried CheckInstall to track installation of package on Debian, but it fails to install it. Installation follows the typical configure/make process $ autoconf $ ./configure $ make $ make install ...
0
votes
0answers
18 views

Start menu position in Linux Mint Petra

I added a panel at the bottom panel, then added the start menu button. The button is now located at the right corner of the panel, beside the month calendar. I want it to be where it always has been, ...
1
vote
1answer
57 views

Identify if server boots using upstart or sysvinit

I am a not a experienced linux user/admin, but last week I acquired a raspberry, and installed on it a Raspbmc, based on Debian distro. I am having some troubles trying to identify which scripts the ...
-2
votes
1answer
72 views

Installing Linux on an unsupported USB device [closed]

Would somebody please direct me to some resources for creating and installing a home-brewed version of Linux onto an unsupported device with USB capabilities, like an insulin pump? Basically, I need ...
2
votes
0answers
46 views

Why adding swap space is the slowest part of the booting process? [closed]

I'm not having performance problems, but just running dmesg command, I can see that adding Swap space is the slowest part of the booting process. Why? I actually have ~4GB for swap and 2GB RAM ...
1
vote
2answers
125 views

Using only 3.3GB but I have 8GB RAM even on Ubuntu 14.04 64bit

I have 2x 4GB(8GB) RAM installed on my motherboard and BIOS/UEFI can confirm it, but on Ubuntu 14.04 64bit only has 3424776kB or 3.266120911GB. uname -a returns: 3.13.0-36-generic #63-Ubuntu SMP Wed ...
1
vote
1answer
93 views

Does Linux support the ThinkPad Helix 2?

I'm holding out for the ThinkPad Helix 2, which has a detachable tablet as a screen. It comes out later this month. I've heard that installing Linux on bleeding edge technology can be problematic ...
0
votes
1answer
51 views

How to wait until script ends - csh?

I execute a script that splits a big file into little files. Immediately afterwards I ask if (-f *filename) then .... Sometimes the script doesn't finish so the if doesn't work. I tried sleep but ...
1
vote
1answer
31 views

Cacti/rrdtool error -> Poller[0] ERROR: SQL Row Failed!, Error:'1033'

I have cacti working flawlessly on a centos 7.0 machine but I need it working on a centos 6.3 machine. I download the same version of cacti as what is on the 7.0 and I installed rrdtool from yum. ...
3
votes
1answer
81 views

Bind Ctrl+Down in Joe on a Linux console

When I want to select a line in joe editor, I can go to the beginning and simply pres CTRL-Down and this will select the line. I can move somewhere ales and copy the line with CTRL-k-c. The key code ...
0
votes
2answers
30 views

No sound on my system

So I've been trying out linux, and regardless of what I do, I end up getting no sound at all. I've tried researching the matter to no luck. At first I tried Debian, then moved onto Elementary OS, and ...
3
votes
1answer
82 views

cannot create special file /dev/pts/0

When using midnight commander in console, I cannot "toggle" the window (using CTRL-o Not an xterm or Linux console; the panels cannot be toggled however, my $TERM is set to linux. After some ...
4
votes
3answers
155 views

Script to compare 2 input paramters and show shared letter(s)

I am writing a script that I want a user to enter two separate words, and the result to show which letter the two words share. For instance ./share Cat Rat - would return shared letters: "a" and "t". ...
0
votes
1answer
31 views

Get hostname to show fqdn without --fqdn

I would like the hostname command to show the fqdn by default on CentOS Linux. What must be done to get this behavior? I am not looking to alias hostname to 'hostname --fqdn' I am looking to modify ...
0
votes
1answer
36 views

Command to list all usernames on a Linux server

What is the command that allows one to generate a list of all the usernames of authorised users on a Linux server? I have tried getent passwd | cut -d : -f 1 | xargs groups and less ...
3
votes
1answer
74 views

Differences between dd in Mac OS X and Linux

When using Linux (Debian), I often use dd to copy a disk image to an SD card. I have written a script that throws an error if the device file specified in the "of" option is too large. This keeps me ...
1
vote
1answer
42 views

exec -t is invalid

I made an rpm that installs a .run file and whenever I run the rpm and the rpm tries to execute the .run file I keep getting the error that exec -t is an invalid option at the following lines of code ...
0
votes
3answers
130 views

Extracting index.php?dir=foo/bar/&file=bar2.jpg to foo/bar/bar2.jpg

I have a lot of files with names like: index.php?dir=IOP%2FFOO%2FBAR%2F&file=ScanImage001.jpg After replacing index.php? with nothing %2F with '/', dir= with noting and file= with nothing: ...
2
votes
3answers
77 views

How to repair a file system corruption?

Debian on external USB SSD drive. There was some error in dmesg log file: ...[ 3.320718] EXT4-fs (sdb2): INFO: recovery required on readonly filesystem [ 3.320721] EXT4-fs (sdb2): write access ...
1
vote
2answers
43 views

How to get a procesess's actual memory usage (including data in swap)

I'm trying to check how much memory strain a process is actually putting on the system, but ps, top and friends are almost useless for that purpose as they only report 3 statistics: RES - the ...
1
vote
3answers
26 views

Linux SW RAID and physical volumes

In each guide about software RAID in Linux, I could find online I see that people usually create/assemble RAID devices using partitions, like: mdadm --create --verbose /dev/md0 --level=5 ...
0
votes
2answers
36 views

Compilation error when building a custom kernel

I'm trying to build a custom kernel from a git repository on my Ubuntu virtual machine. I run the make command as follows : sudo apt-get install vim libncurses5-dev gcc make git exuberant-ctags mkdir ...
0
votes
1answer
49 views

open gnome terminal with serveral tabs and execute a few commands in every tab

This is what I want to accomplish: I want to open a gnome terminal with five tabs in it I want to run a set of commands (5 – 10 commands) in each tab automatically First tab: shall set clear-case ...
0
votes
2answers
62 views

How to check SSD disk for errors from a Live CD?

Debian on SSD. How to check SSD disk for errors from a Live CD? Additionally, to save results to a txt file. Partitions are sdb1 /boot ext2 sdb2 root ext4 sdb3 swap Should I unmount partitions ...
2
votes
1answer
30 views

Why is Linux load average reported as the exponential moving average? [duplicate]

Why is the Linux load average over the past 1, 5 and 15 minutes reported as the exponential moving average, instead of just simple (unweighted mean) moving average? It seems to me that the simple ...
0
votes
3answers
18 views

How to make a grep which excludes a bunch of pipes?

I want to make a diff of hostnames using grep. I have 2 files. One yaml and one .pp. In the yaml I have domain names with ips and in the .pp file I have fqdn and ip in hash style. Like this: In the ...
0
votes
0answers
47 views

network manager not listing wifi

When I use NetworkManager command tool to scan for wireless networks the output is empty. root@radxa:~# nmcli dev wifi list SSID BSSID MODE FREQ RATE SIGNAL SECURITY ACTIVE ...
3
votes
1answer
63 views

Real chroot on a systemd machine

I'm trying to get used to systemd, because it seems to be the way that Debian is going. I want to run Xorg in a chroot on hardware, rather than using networking (which seems to be the canonical way ...
6
votes
1answer
158 views

What's the purpose of the /proc/pid/mountinfo file?

What's the purpose of the /proc/pid/mountinfo file (with pid being numerical process id)? As far as I can see it reflects contents of the /proc/mounts file but with added information. Also the file ...
0
votes
0answers
23 views

Help with a bash script [duplicate]

I'm trying to get a script working that will examine two directories and list all of the duplicate files found in both. Looking for duplicates based on content. And then have the script report the ...
0
votes
0answers
6 views

How to walk the Kernel's VMA? [migrated]

I'm writing a kernel module that finds and parses the VM_EXEC pages of a process. This is doable through walking the virtual memory of the process, similar to what /proc/$PID/maps does. However, I ...
1
vote
0answers
67 views

Surface Pro Wifi Issues on Mint KDE 17

I'm running Mint 17 KDE on the Surface Pro 1. Wifi worked on installation, however, after about an hour of use the internet stops working and will not reconnect to any wifi. I have to shut the ...
-2
votes
1answer
660 views

convert CSV to XLS file on linux [closed]

The following Perl script can convert CSV file to XLS file the problem is that I need to install on customer Linux machine many Perl modules in order to run this Perl script , and actually I cant ...
0
votes
0answers
23 views

GRUB Loading stage 1.5 error 15 [duplicate]

I am sitting at a client machine (previous IT guy left with no handover) with an error that says GRUB Loading stage 1.5 GRUB Loading, please wait Error 15 I can't get pass this. When I restart a ...
-3
votes
2answers
41 views

What does the '>' do? [duplicate]

What does ls > list and ls >> list do? They don't seem to do anything on my system.
0
votes
5answers
44 views

df -k + how to match the root volume line

please advise how to match the "/" volume from df -k command? I tried the following: [root@machine /]# df -k | grep "/" /dev/vx/dsk/bootdg/rootvol 130926685 71378710 58238709 56% / /devices ...
1
vote
2answers
74 views

ping: unknown host with iptables enabled

I can't ping www.google.com. However I can ping the IP address: ping 74.125.237.142 At first, I thought it is a problem with my DNS settings. But I checked my resolv.conf, hosts, and hostname ...
0
votes
1answer
49 views

how to find out the name of the server on which the files are hosted on? [closed]

I've tried numerous thing such as uname -a, env, findsmb, amongst other things but that will only give the hostname which is not the server where the files are hosted... I get that there is nfs ...
0
votes
0answers
13 views

fsix Gold Server with Goldkey smartcard. Need to decrypt volume

I have a client that stopped paying support to WideBand and I have no clue how to get their files off that server and onto something newer. I can logon over the network but when trying to bulk copy ...
0
votes
1answer
61 views

What's the pros and cons of disabling the swap partition if the RAM is large enough? [duplicate]

My computer has 16GB RAM and 1TB SSD. So I think the swap partition is not needful. What's the pros and cons of disabling the swap partition if the RAM is large enough? Is it recommended to disable ...
1
vote
0answers
22 views

Failing to load a module on udev event

I have a pretty simple udev rule which is executed when a USB is plugged into my Debian machine: SUBSYSTEMS=="usb", KERNEL=="sd?", ACTION=="add", RUN+="/usr/local/bin/USB/t.sh \ %k" My t.sh is also ...
1
vote
0answers
38 views

Iptables and --tcp-flags

If I have the following rule in the nat-table in the prerouting chain: 0 0 REDIRECT tcp -- eth5 any anywhere anywhere tcp flags:FIN,SYN,RST,ACK/SYN redir ports ...
-7
votes
1answer
108 views

Display a sorted list of all files in the home directory that contain the word “ignou” inside them in UNIX [on hold]

Display a sorted list of all files in the home directory that contain the word ignou inside them in UNIX. Hint: Use find and grep and sort.