These questions are about Linux in general -- NOT specific to a particular distribution. If the question just happens to be in a Linux environment, please specify your Linux distribution in the body of your question, but do NOT use the /linux tag.

learn more… | top users | synonyms

0
votes
0answers
34 views

What Linux should I use for my old XP laptop? [closed]

I recently got an old Windows Vista laptop, and I didn't have the password, so I figured it'd be better to just get a fresh Linux installation on it. I've never used Linux before, but I made bootable ...
0
votes
0answers
7 views

(Linux-)Distribution-specific hacks and workarounds documentation [closed]

Is there a good resource on the internet that mainly deals with differences of how the individual distributions are configured and lists some hints required to administer and program in an ...
52
votes
3answers
119k views

Finding the PID of the process using a specific port?

I am installing hadoop on my Ubuntu system. When I start it, it reports that port 9000 is busy. I used: netstat -nlp|grep 9000 to see if such a port exists and I got this: tcp 0 0 ...
25
votes
2answers
71k views

ifconfig command not found

I've just installed CentOS7 as a virtual machine on my mac (osx10.9.3 + virtualbox) .Running ifconfig returns command not found. Also running sudo /sbin/ifconfig returns commmand not found. I am root. ...
0
votes
1answer
46 views

Getting “sed: -e expression #1” when trying to run search and replace

I'm using Amazon Linux. I'm trying to run a search and replace using sed. I'm running into the below error ... [jboss@mydevbox nodejs]$ sed -i -e "s/test.smokeTest('(.*?)', '(.*?)', ...
0
votes
1answer
40 views

How to find the parent of a file by inode

I want to use ntfsundelete to maintain the directory structure of the recovered files. The output of ntfsundelete is like this: Inode Flags %age Date Size Filename 191321 FN.. ...
4
votes
3answers
99 views

UTC vs. localtime has an offset of about 25 seconds

I have compared this in different systems, but only get this behavior in an embedded system running Arago linux. I use the date command from BusyBox v.1.13.2 I executed this two commands ...
0
votes
5answers
63 views

Adding time stamp to a log file?

I am running a script file. I have written a while loop inside the script in which I have pipelined multiple commands like awk, sed and finally I am writing the output to a file using > operator. I ...
-3
votes
0answers
39 views

XFS or EXT4 which is better [closed]

We are migrating our servers from RHEL 5 to RHEL 7, we are planning to go with XFS file system which is the default one in RHEL 7. Need to decide which one is a better option. Below link says that ...
0
votes
2answers
782 views

Install fuse debian 8 jessie

I'm on debian 8 jessie with a 4.2.3 kernel. I can't seem to get fuse installed and working. When I install fuse with sudo apt-get install fuse I get MAKEDEV not installed, skipping device node ...
0
votes
1answer
18 views

Cancel scroll event when another key is pressed

When I scroll with middle mouse the event of scrolling is continued until it gradually turns to 0. Think this is a general issue as I experienced it on more than 1 linux distro (NixOS and ArchLinux) ...
0
votes
2answers
28 views

zdump doesn't display expected information

I am trying to configure the time zone of a server (Ubuntu 14.04.4), however the zdump command does not show the expected information like : America/Santiago Sun Apr 26 02:59:59 2015 UTC = Sat Apr ...
66
votes
6answers
91k views

Limit memory usage for a single Linux process

I'm running pdftoppm to convert a user-provided PDF into a 300DPI image. This works great, except if the user provides an PDF with a very large page size. pdftoppm will allocate enough memory to ...
1
vote
1answer
30 views

DNS problem > If I disable recursion, I can't ping my result

I have configured dns server, and if i enable recursion, I can ping and got the result. [root@seobd ec2-user]# nslookup google.com Server: 52.10.197.195 Address: 52.10.197.195#53 ...
-2
votes
2answers
51 views

standard deviation using awk [closed]

I am using below command to get standard deviation of file A names 1 2 3 avg 23.3107 20.0372 21.7236 21.6905 awk '{x[NR]=$0 ;} END{a=$4; for (i in x){ss += ...
3
votes
0answers
31 views

IPv6 ephemeral port range

In Linux, I can get and set the range of ephemeral ports through /proc/sys/net/ipv4/ip_local_port_range: $ cat /proc/sys/net/ipv4/ip_local_port_range 32768 61000 I want to control the ephemeral ...
-1
votes
0answers
32 views

Read and filter mail by subject line through a shell script [closed]

I need to configure a shell script which would periodically check the incoming emails, and looks for an email with a particular subject line. It then needs to download and move the attachment from ...
0
votes
2answers
49 views

Not Able to run telnet service on CentOS machine

When I try to run the telnet service on CentOS Linux release 7.2.1511 it throws the following error: service telnet restart Redirecting to /bin/systemctl restart telnet.service Failed to restart ...
0
votes
0answers
15 views

kerberos: Why sudo command creates a ticket?

I have successfully set up a kerberos (MIT) / OpenLDAP debian server which can authenticate users with kerberos and get SSH access according to OpenLDAP groups. I must mention that as this is a ...
1
vote
1answer
225 views

How do i block USB devices based on device class in Linux

Problem Statement In windows server to provide access to USB devices are managed by GFI EndpointSecurity. Is there any open source tool in Linux which can do the same job. I want to block USB ...
4
votes
2answers
559 views

Are there any Workload Management subsystems for Linux?

Asked this on superuser, got no response: Can anyone tell me of the status/state of WLM (Workload Management) kernel scheduler systems in Linux? Alternatively, any user-space process goal-based load ...
1
vote
1answer
35 views

Ext4 corrupted and unrecoverable after LVM resizing + power failure

I have a completely standard, single hard drive Fedora 23 desktop. The dual-boot installer set up the Linux partition as LVM, with root, swap and home logical volumes; root and home were both ext4. ...
1
vote
0answers
352 views

What themes are those under Controls in Cinnamon themes?

I have installed many Cinnamon themes but those listed under Desktop affect mostly the Panel, not the windows texture: The window frame is set under Windows Borders, but what I am interested in is ...
1
vote
0answers
42 views

Creative CA0132 no sound

I'm trying to get my sound card of my gigabyte g1 gaming ga-z170x-gaming 7 working. I've installed fedora 23, kernel 4.4.7-300.fc23.x86_64, there is no sound, however hdajacksensetest -a shows my ...
0
votes
1answer
20 views

umount from all the systems in the lan [duplicate]

We have some 20 machines in the LAN and 3 NAS boxes mounted on all the devices. I want to permanently umount one NAS box from all the machines. I can do the manual way... SSH to each machine umount ...
-1
votes
0answers
21 views

Editing windows system files from linux boot disk [closed]

Could you explain to me why I can't edit Windows system files by just booting from a live OS? What protects the files, and why is it that I can format the drive but can't edit particular segments of ...
-1
votes
0answers
39 views

Data recovery tools in linux [closed]

I had accidently deleted many important files from my work folder.I tried recovering my important data using photorec,scalpel and testdisk.But no use these didn't work for me.Is there any other tool ...
3
votes
1answer
5k views

multiple default gateways for alias interfaces (SOLVED)

Alias interfaces defined in /etc/network/interfaces cannot have multiple default gateways. Unfortunately I would like to use the same interface to access 2 different nets, and I need to define 2 ...
0
votes
1answer
18 views

restore open programs across reboot/restart in mint?

When I used to turn off my Windows 8.1 machine all my programs would automatically save before shutdown and open again when the OS restarted. Is there a way to do this in mint?
7
votes
1answer
93 views

Why does 8250 UART driver not wake up TTY if more than 256 characters are pending?

What is the motivation of this if-condition in void serial8250_tx_chars(struct uart_8250_port *up)? if (uart_circ_chars_pending(xmit) < WAKEUP_CHARS) uart_write_wakeup(port); It has been ...
0
votes
1answer
29 views

Development setup on linux

On a linux system should we install and use our development tools and setup like java ee and hadoop as a root user or as user.
3
votes
1answer
47 views

How to get number of opened file descriptors for user

I know about lsof and ls /proc/*/fd but none of them are atomic AFAIK. Because in the latter case I would need to get all pids for user and then filter by them and by that time some of the file ...
1
vote
2answers
42 views

Linux file hierarchy - what's the best location to store lockfiles?

I want to synchronize processes based on lock files (/ socket files). These files should only be removable by their creator user. There are plenty of choices: /dev/shm /var/lock /run/lock ...
0
votes
0answers
20 views

Unable to access http server when ufw is running, on Raspbian?

I have a Raspberry Pi running Raspbian, with Apache2 for the web server. Some recent change seems to have broken my ability to access my web server, when ufw is running. The server simply doesn't ...
0
votes
2answers
538 views

setcap for rhel5

A quick question: I am not able to find much info to run setcap on rhel5 . I searched few packages in my system # yum install libcap Loaded plugins: product-id, security, ...
2
votes
1answer
681 views

How to make this conky (Conky Vision) use other language than English?

I want to use this conky script: Conky Vision But I don't want the days of the week to be displayed in English. When I change my locale to another language, the day of today is displayed in that ...
4
votes
2answers
1k views

Increasing Accuracy of Synaptics Touchpad - Arch Linux

Here's my current problem with my Arch Linux installation. The touchpad is horribly inaccurate. And by that, I mean, I cannot click links without having to sway back and forth. I've been resorting to ...
-1
votes
1answer
49 views

Getting “Permission denied” when trying to create a file despite correct permissions

I’m using Amazon Linux and running a script through a Jenkins job, including this line touch /usr/java/jboss/standalone/deployments/myproject.war.dodeploy which results in the error … touch: ...
2
votes
2answers
66 views

What is the best way to setup 3 HDDs with 3 OS on one computer?

I am building a new PC, I am a developer of whatever people want me to make, but I personally like to code games. To do this, I have a simple set of requirements: Machine must run Windows 7, to run ...
0
votes
2answers
30 views

Centralized system information

Does anyone know of a software capable of keeping track of Linux/UNIX systems configurations centralized on a server? Possibly with a web GUI and history capabilities? I am looking for something that ...
0
votes
1answer
51 views

Touchpad and Sound card undetected Debian 8 - asus R547U

I just installed Debian 8 on my new machine (an ASUS laptop i5/SSD 256Go/...), but I find myself stuck with two main problems. First, my touchpad is not recognized by Debian. To be more precise, I ...
0
votes
0answers
37 views

interceptty error message

I want to listen to a certain device on my linux system. therefore I am using interceptty. When I call: mv ttyO0 ttyO0-orig and then: ./interceptty -o ttyO0.out /dev/ttyO0-orig /dev/ttyO0 & ...
-2
votes
2answers
56 views

Keep CPU busy at certain percent (to prevent CPU buzzing frequency noises) [closed]

On Dell Inspiron 7559 there is electric buzzing from beneath the keyboard that changes frequency when I touch the touchpad. However, if the CPU is busy I hear no buzzing as the frequency gets out of ...
5
votes
1answer
12k views

How to execute Windows commands remotely from Linux machine using rdesktop command?

Is it possible to run Windows commands using rdesktop tool in Linux? I tried with rdesktop -s option: rdesktop -u user -p 10.0.0.2 -s "cmd.exe" but I'm not able to open the cmd.exe using the above ...
2
votes
1answer
36 views

How to track ssh connection time, disconnection time and idle time?

How can I track ssh sessions on my server including ssh connection time, disconnection time and idle time? Here's what I have for connections: cat /var/log/{auth.log,auth.log.1} | grep -i Accepted | ...
0
votes
1answer
28 views

UNIX multi-variable definition on single line

UNIX/LINUX: Wondering if it's possible to have a single line command that echoes value at the end: let N=444,M=555,O=N*M,echo "$0" Thanks for the help!
-4
votes
0answers
29 views

Need Help in Shell Scripting [closed]

Want to create shell script At 00:00 AM I have GlobalFile.csv From GlobalFile.csv I want to find out repeated entries from column one and those are repeated I will add them to Escalate.csv and non ...
0
votes
0answers
15 views

How can I run GUI emacs (using a shortcut) in a very light xmonad installation? [migrated]

I am trying to launch Emacs through a keyboard shortcut on my Debian/xmonad system. Relevant lines from my xmonad.hs: ~$ cat .xmonad/xmonad.hs import XMonad ... main = xmonad =<< xmobar ...
-7
votes
0answers
18 views

how to create domain user [closed]

question Lists in a list item: - Indented four spaces. * indented eight spaces. - Four spaces again. 2. Multiple paragraphs in a list items: It's best to indent the paragraphs ...
3
votes
0answers
60 views

Read but not write access to a socket on Linux, what can one do with that?

On a server installation, I found sockets writable by group, but only readable by others. I assume that the latter has no effect, as my understanding was that write access is needed to be able to work ...