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

1
vote
1answer
30 views

Editor for altering the soundtrack to a movie

I have a movie that i'd like to "cuff", ie reverse a few swear words which crop up in it, to make it a bit more family friendly. Can anyone recommend a good free video editor tool for this? I don't ...
1
vote
3answers
786 views

Determine whether kernel built-in driver supports a device

I'm trying to find a way to accurately determine whether all the hardware on some system has a valid driver installed either via a kernel module or built-in to the kernel. I'm working with RHEL 5.5 ...
0
votes
2answers
1k views

Install Arch Linux alongside Ubuntu 12.04

I have a windows 8.1 on which I installed Ubuntu 12.04 (dual OS). Now I also want to install Arch Linux alongside windows and ubuntu. Please tell me the how to do this on Ubuntu. I have a gparted ...
1
vote
0answers
10 views

tmux Bash Script

How can I write the following in a bash script? tmux # Start tmux session. compass watch /path/to/project1/compass/ # Run the first process. Ctrl + B, " # Split the pane. compass watch /path/to/...
0
votes
1answer
28 views

Any way to gain back permissions to run commands?

I accidentally ran "sudo chmod o-x /" on a remote Ubuntu system (with DigitalOcean). Now, no commands can be run on the server at all (so login doesn't work). How do you fix this?
1
vote
3answers
51 views

Substitute a column i text file with incrementing numbers

I need to do something very similar to this Replace string with sequential index, but I don't need to add a number to a column, but substitute a whole column with incrementing numbers. Like this: 0 ...
2
votes
3answers
108 views

logfiles and daylight savings time

How do Linux logfiles handle daylight savings time? When you fall back not only would you get out of order values but also possibly duplicate values. I'm thinking that I should set the system time ...
2
votes
2answers
29 views

recognize which interface I using

On my laptop I've two interfaces (wlan0 and eth0), after conneted the wired, ifconfig show me "RUNNING" also in eth0. (both interfaces are in same network). /sbin/ifconfig wlan0 wlan0: flags=4163<...
1
vote
1answer
36 views

Remember window layout on multiple monitors on Mint Cinnamon

I have been using linux Mint 17.3 with Mate desktop for quite a bit now. One of the thing I absolutely love is that it remembers layout of windows for multiple monitor configurations. For example, ...
11
votes
1answer
5k views

How to shrink root filesystem without booting a livecd

I find myself needing to rearrange a system's partitions to move data previously under the root filesystem into dedicated mount points. The volumes are all in LVM, so this is relatively easy: create ...
2
votes
1answer
923 views

redirect web server with no-ip and port forwarding in livebox

I want my Apache web server running on a Livebox (home router appliance running Linux) to be accessible from the Internet (WAN). I installed and configured the application noip2 on my Ubuntu PC. ...
1
vote
0answers
11 views

Dbus: Terminate not working on other user

I'm new with dbus(Using Ubuntu 14.04, Unity). So I'm logged with user A, create process as user B and that process creates session for user B, now I want to use dbus messages to shut down session from ...
1
vote
1answer
48 views

How to kill all sessions for a Linux user except first one, and limit users to one login session

I need to know how to kill all processes for a logged in user except the first one in linux redhat 6. for example, AZain user is logged in multiple times from different machines so I need to allow ...
0
votes
1answer
17 views

How to sandbox code in chroot for multiple users?

What am I trying to do? I'm writing a code evaluator using chroot and python and went to hackerrank for some inspiration. What I think is happening at Hackerrank? Hackerrank creates run-...
1
vote
2answers
28 views

How to fix shell prompt ( ps1 ) after remote login

I am observing the below strange prompt after login to my remote machine from ubuntu 14.04. This only happens while I'm using the ubuntu gui terminal and not via putty. Any suggestion to fix it?
2
votes
1answer
53 views

Universal way to logout from terminal via dbus

I'm new with dbus, and saw different ways to log out from terminal depending on desktop env. But I'm curious is there any way to log out from any desktop env using dbus messages? On GNOME: dbus-send ...
0
votes
1answer
2k views

Update yum fails

I'm using centOS 6.4. I'm getting this error when I use "yum update" in the terminal window. Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os ...
12
votes
2answers
7k 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 ...
0
votes
0answers
9 views

how to add a loop device on fedora 23 with losetup?

in an attempt to access a truecrypt container, I stumbled about the prerequisite of setting up a loop device... ncoghlan suggested in an earlier answer When you run it as root, losetup -f will ...
1
vote
0answers
11 views

Wacom Linux xsetwacom Attach Shell Script to Buttons

Using Inutos Pro with Manjaro. Would like to attach a shell/bash script to one of eight buttons. Script would be something along the lines of 'dolphin Documents'. Can xsetwacom do this?
4
votes
2answers
3k views

dbus: [system] Failed to activate service 'org.freedesktop.login1': timed out

I keep getting the following error messages in the syslog of one of my servers: # tail /var/log/syslog Oct 29 13:48:40 myserver dbus[19617]: [system] Failed to activate service 'org.freedesktop....
0
votes
0answers
15 views

/dev/sda3: unexpected inconsistency; run fsck manually [on hold]

My laptop is a goverment laptop. While I switch on laptop to go to Linux an error occurs: /dev/sda3: UNEXPECTED INCONSISTENCY :RUN fsck MANUALLY .(i.e. without -a or -p options) fsck died ...
0
votes
1answer
42 views

how to write own shell that works with ssh

I tried several tutorials I modified usermod -s shell path_to_binary username it does not work thru winscp, but works if use from Ubuntu terminal I want to own shell, where I can control over ...
8
votes
5answers
21k views

Swap usage too high?

I have a Debian Sid box, freshly installed about a month ago, with no desktop apps running at the moment. Any command I try to run (via ssh) makes the hard disk work very hard. The system worked ...
-2
votes
2answers
37 views

How to compare “abc” with abc in bash?

I did not find the answer other location, so seek help here. My code need compare "stop" with stop this is stand bash string. pi@raspberrypi:~/Voice $ ./test.sh | more "stop" stop My code: #!/bin/...
3
votes
4answers
826 views

Active Directory Domain with SAMBA or Other Tool

Can I create a domain using SAMBA and set up Active Directory with SAMBA on it? And by this I mean no windows servers involved. I would also like to be able to log in from a Windows machine. ...
-1
votes
0answers
17 views

kali rolling 2016 theme errors after installing new upgrade and dist-upgrade

The new updates and upgrades have bugged all my themes from working any ideas and advice is appreciated, Kali x theme works just about the title text is grey, so hard to see but when applying themes ...
8
votes
3answers
3k views

Is there a convenient small Unix virtual machine I can install as an Android app?

Ubuntu for Android seems to be missing in action. I'm travelling tomorrow and I need to take a basic Linux machine with me. I'd rather just take my tablet than a laptop. So is there a reasonable ...
0
votes
0answers
20 views

need creat, open, read write tutorial on the web [on hold]

creat, open, read, read, and lseek are functions used to process binary files in Unix C (cc or gcc), but I'm having trouble finding a tutorial on them on the web. Does anyone know of such a tutorial?
1
vote
2answers
48 views

parallel processing using xargs

How to execute a bash script in parallel for each line ? Actually, I will be tailing to log file and for each line found, I want to execute script in background something like below: tailf logfile....
0
votes
1answer
27 views

Custom Linux log in prompt and system health check

I am looking for an existing tool or direction on creating a custom login terminal and system health-check scripts when booting/logging into my linux machine. Upon opening or closing the laptop much ...
0
votes
1answer
13 views

Want to know space consuming by logs

I want to configure my application logs to splunk interface for easy referring. Here i need to provide with how much of amount does my log files are consuming to splunk admins. As i can see my log ...
7
votes
3answers
16k views

NFS no longer mounts: rpc-statd fails to start

Whenever I try to start an NFS mount I get: Feb 12 00:02:19 martin-xps.lico.nl rpc.statd[23582]: Version 1.3.2 starting Feb 12 00:02:19 martin-xps.lico.nl rpc.statd[23582]: Flags: TI-RPC Feb 12 00:02:...
64
votes
7answers
62k views

How to know if a disk is an SSD or an HDD

I want to know whether a disk is a solid-state drive or hard disk. lshw is not installed. I do yum install lshw and it says there is no package named lshw. I do not know which version of http://pkgs....
0
votes
1answer
987 views

Problems with USB microphone

My USB mic in webcam in Skype not working (cam works fine). I use Arch Linux with alsa. I set up pulseaudio but then I removed it because it is not stable. cat /proc/asound/cards 0 [SB ]:...
2
votes
1answer
837 views

azap from LinuxTV dvb-apps strange signal behavior with Hauppauge WinTV-HVR 950Q

What I want to do I have a Hauppauge WinTV-HVR 950Q USB-TV-Stick. I want to use this stick to successively tune to and read in a certain live TV stream. What I do I trigger a scan and save the scan ...
0
votes
1answer
28 views

Rsync with destination owner and permission possible?

Source server have one owner is root. ----/home/sub1/test1 ----/home/sub2/test1 My local machine is destination. ----/home/sub1/test1 owner by user1 ----/home/sub2/test1 owner by user2 How I ...
-1
votes
2answers
26 views

Linux passwd User permission change

When I look at usr/bin/ directory, I saw the command line with passwd -rwsr-xr-x. 1 root root 30768 2012-02-22 20:48 /usr/bin/passwd and It allows to change to get root's authority. with s. I ...
1
vote
1answer
19 views

Add parameters to NFS mount

I try to start Android on device via NFS and TFTP. Everything goes good until Android system starts booting. Something happens with network parameters and connection falls and boot freezes [ 60....
-4
votes
0answers
38 views

Can I decentely code C# on Linux? [on hold]

I'm about to learn C# for my studies, and I was wondering if it was viable to code on Linux ? Today, I can't bear Windows anymore, and I would rather code on Linux. So, is it practical, is the ...
0
votes
1answer
10 views

Puppy precise - sudo command not found on bootable CD

I downloaded the .iso file and burned it to a rewritable CD. But when trying to install a PHP server (xampp) from the command line, as instructed in http://wikihow.com/Install-XAMPP-on-Linux my puppy ...
0
votes
3answers
37 views

How to pick oldest file in a folder from directory [duplicate]

I had n number of files are there in my ../in/ directory. From those files I want the oldest file to process and send it to the ../complete/ directory. The remaining files are sent to the ../error/ ...
0
votes
1answer
53 views

rsync complication on sync

We have 2 Web Server node Primary and secondary, if the primary is down by any reason secondary will act as Prim. Now if we talk about the codes we which is on both the host. we should be ...
52
votes
3answers
188k views

How can get a list of all scheduled cron jobs on my machine?

My sysadmin has set up a bunch of cron jobs on my machine. I'd like to know exactly what is scheduled for what time. How can I get that list?
2
votes
3answers
1k views

Which Linux distributions have good screen magnifier software, either freely available, or preinstalled?

Which linux distributions have good screen magnifier software, either freely available, or preinstalled with the OS? Being a visually impaired nerd, I'd like to gain experience on as many platforms ...
0
votes
1answer
34 views

CentOS, how to watch YouTube videos with Mozilla Firefox?

I'm currently using a CentOS Linux release 7.2.1511 (Core) operating system on a Dell machine. I've been trying to watch YouTube videos with Mozilla Firefox ESR 45.1.1, but it never worked. ("It's ...
0
votes
0answers
40 views

Top panel locked - can't add/remove from the panel

I'm using gnome 3.18 and I'm unable to add/remove items to the top panel. In previous versions I was able to ALT+Right click on the panel to bring up a menu of options. I've tried Super (winkey) + ...
0
votes
1answer
47 views

Remote docker over ssh tunnel

I have been testing docker. Due to strict firewall policy that blocks all ports except the ones necessary, I bind my docker clients to local ports and use ssh tunnels to access them remotely for the ...
2
votes
1answer
25 views

nmap socket trouble

I've been trying to use nmap but it fails with the following output: Starting Nmap 6.47 ( http://nmap.org ) at 2016-06-21 22:24 PDT NSOCK ERROR [0.3460s] nsock_make_socket(): Socket trouble: Address ...