5
votes
4answers
5k views

Trying to connect to gateway in static ip network

I have arch-linux-arm running on a raspberryPi. The network I am in uses static IPs. gateway IP is 192.168.178.5 IP for my device is 192.168.178.201 To connect to the internet I use: ip addr add ...
0
votes
0answers
2 views

Arch: Cannot open kernel arbiter, not multicard support

I'm currently using Arch Linux on a Chrombook Flip C100P. I can successfully launch the X Server via sudo startx, however the logs saved to /var/log/Xorg.0.log indicate that X is unable to take ...
1
vote
2answers
30 views

Regex in find - OS X

I cannot figure out what's wrong with my regex, it seems to be working with grep but now with find. I'm trying to find all the files which follow the common expression in TV shows e.g. S02E21. find ...
0
votes
0answers
5 views

cron job quit working after latest apt-get upgrade

I've been running a cron job every 15 minutes for years, with few problems. Sometime in the last week, it quit running, I'm assuming after a apt-get upgrade && apt-get dist-upgrade. I was ...
0
votes
0answers
5 views

How to save multiple files inplace after awk (Not GNU awk 4.1.0+)

I have GNU awk of version 3.1.8. I was wondering if there was a way to save multiple files in place with this version. For a single file I know we can do something like awk [insert command] file1 > ...
0
votes
0answers
6 views

Wep authentification fails with netctl

When trying to connect to a network protected by wep on my laptop I get the following error: Wpa association / authentification failed for interface <interface> I have the latest version of ...
0
votes
1answer
765 views

Installation of Linux mint from cd makes it stuck on splash screen.

I am installing Linux mint Rebecca cinnamon onto a Windows XP Professional computer. I burned the ISO file using windows burner (Windows XP Professional) The menu loads correctly. Let it boot ...
1
vote
0answers
12 views

Puppet: Could not request certificate

When i start puppet agent i get this error Could not request certificate: Could not intern from text/plain: Certname "puppet ca: localhost/localdomain" must not contain unprintable or non-ASCII ...
2
votes
4answers
40 views

Is there a tool to dynamically redirect output to a new file on request

I'm currently redirecting the output of a monitoring tool to a file, however what I'd like to do, is to redirect this output to a new file on my request (using a keybinding), without stopping the said ...
0
votes
0answers
16 views

Connect To Host With PureFTP

I have pureftp up and running on my home machine. I am attempting to connect to it from outside of my network, using filezilla. Everything seems to go swell, but filezilla is not able to connect. ...
0
votes
1answer
21 views

How do I run multiple commands together in the background?

I know I can run a program in the background using &. command & However, I want to run multiple commands, and cd into a different directory while they are running. The multiple commands ...
1
vote
2answers
17 views

To Have Eclipse 4.5 in Path?

I downloaded the precompiled Eclipse Mars 4.5 in the official site here. Pseudocode Extract the tarball eclipse-jee-mars-2-linux-gtk-x86_64.tar.gz Move extracted Eclipse directory to some location ...
0
votes
2answers
34 views

Finding special characters in name

How do I find files that have ~ * and other special characters in the name? e.g. find . -name "*\*" should match "any characters" and then *, but it matches nothing; how can I get the command to ...
1
vote
1answer
9 views

After installing Ubuntu, partitions do not match mounted directories

I installed an Ubuntu server in a virtual machine. What I really don't understand is the differences between parted and the mounted file system. I allocated a 100GB disk in vmware and it seems to be ...
1
vote
0answers
22 views

Cannot mv to a subdirectory of itself

I am running this simple script and I am trying to create a cron job so that the file gets copied to my thumbdrive (with the new name) sudo cp /home/pi/NewLog.log /media/usb sleep 20 cd ...
43
votes
1answer
5k views

Why does the following script delete itself?

If you create an executable file with the following contents, and run it, it will delete itself. How does this work? #!/bin/rm
2
votes
4answers
53 views

Output a negative values

I am using the following code to read specific line in an ASCII file "text.dat" sed -n '/Columnaxis/p' text.dat The output is Columnaxis: 100 In order to output, only, the second part previous ...
0
votes
0answers
6 views

mysqld_safe touch: cannot touch ‘./mysql/data/*.err’: Permission denied

I am trying to install mysql binaries 5.6.22 (to non /usr/local but to same folder it was unpacked) for linux x64; the thing is according to install instructions ; But after os freezed I had to reboot ...
1
vote
5answers
1k views

How to run my C program from anywhere within the System (Ubuntu 10.10)?

Friends, I want to add my C program's path to the environment variable PATH. My C program called "md5". So that I can execute it from anywhere (i.e any directory). My md5 program is located at ...
1
vote
1answer
2k views

cinnamon doesn't start, bumblebee problem

I have Linux Mint 13 64 bit version with cinnamon, NVdia Geforce 320m, proprietary driver 304.54 if I'm not mistaken. I installed bumblebee following this guide: sudo add-apt-repository ...
1
vote
1answer
11 views

Changing the directory for print spool files in linux

The default location of print spool files is /var/spool/cups in Ubuntu 14.04. I tried to edit the cups-files.conf file which is located in /etc/cups/ directory, but I'm unable to change the directory ...
0
votes
0answers
10 views

centos desktop is not running on my redhat 7 system

I'm trying to install CentOS desktop on Redhat 7; after installation, when I try to run startx, there is 2 seconds of a blue screen (perhaps it's trying to run) and immediately the startx shuts down ...
0
votes
2answers
17 views

How to burn an iso image from the command line ( alternative to dd command)?

Is that possible to get an alternative to the command dd to burn an iso image including some options: Detect the burning device , Burn an iso image and eject the CD from the command line?
0
votes
1answer
19 views

AIX: How to find sftp file limit?

Can any body Please help to find sftp file limit on following version on AIX. AIX 7.1.2.3 I have following values set I am not able sftp 110KB file. ulimit -a time(seconds) unlimited ...
0
votes
1answer
8 views

AIX : /etc/security/limits file Parameters

Can `any body Please explain about following parameters found /etc/security/limits file default: fsize = 2097151 core = 2097151 cpu = -1 data = 262144 rss = 65536 stack = ...
0
votes
0answers
16 views

Remove devstack dependencies Ununtu 14.04 (32 Bit Dell Lattitude 5500)

I installed devstack in my old laptop. After installation when I try to access OpenStack, my laptop became very slow. Then I realized, that laptop had only 2 GB RAM. I ran unstack.sh and delete ...
1
vote
1answer
31 views

Print multiple fields based on partial substring match inside one of the fields

From this data: "STRING1","c45621396a774a7a79b095a1b73b1d3b","2016-04-14T19:39:41.529978","1.0.4.4","7-sp1.0-amd64","","10.224.241.219|0.0.0.0|0.0.0.0|192.168.0.6|0.0.0.0" ...
0
votes
0answers
14 views

Remove route from routing table by position

I know how to delete a route from a routing table providing all of the route's details (ip r d ...). Is there any way to list routing table with some kind of indexes and then delete from its ...
-3
votes
0answers
14 views

Regarding shell script [on hold]

I have 3 server one is App server and another 2 are Database server. App server:- 192.168.1.1 DB-server-1:- 192.168.1.2 DB-server-2: 192.168.1.3 I am running a script (a.sh) from App-server that ...
1
vote
1answer
1k views

How to change hard disk spin-down time on my WD MyBook Live?

I have a 2TB Western Digital MyBook Live. It works quite well and provides a web-based administration interface. There is an option to either enable or disable power saving mode, which spins down the ...
115
votes
4answers
131k views

Why do I need a tty to run sudo if I can sudo without a password?

I have configured sudo to run without a password, but when I try to ssh 'sudo Foo", I still get sudo: sorry, you must have a tty to run sudo. Why does this happen and how can I work around it?
15
votes
12answers
7k views

Console Text Editor with Windows-like keyboard shortcuts (ctrl-z, x, c, v)

Ok, I realise that I risk a religious war asking a question about text editors, but here goes. Requirements Mostly used for config file edits Text based not GUI Available for Raspian flavour of ...
0
votes
0answers
9 views

Arch Linux: blk_update_request: I/O error, dev sr0, sector 1452024: unrelated to user input

I just left my Arch Linux installation running in a virtual machine. When I came back to it, I found the following error: [14554.169929] blk_update_request: I/O error, dev sr0, sector 1452024 ...
0
votes
0answers
7 views

Black screen, boots sometimes but not lately

I'm trying to solve my friend's problem with his linux machine. He's on Linux Mint KDE. He reinstalled the system few months ago and from this time he had this kind of problem that his linux reboots ...
2
votes
0answers
24 views

How to identify & kill runaway processes that runs, exits, then runs again? [on hold]

Question How can I identify a program caught in an endless loop; where it runs, dies, then runs again? How can I kill it and prevent it from starting again - is reinstalling the package the only way? ...
0
votes
0answers
12 views

How do I set up user quota for /var/www?

I want to add quota per user in my Apache2 webroot. My /var/www directory is not a partition. I've found tutorials on how to set up quota for partitions, but how do I set up /etc/fstab without moving ...
0
votes
1answer
35 views

Bash script fail to detect disk

I got a script that is supposed to reformat and mount /dev/disk/by-label/backup_disk into /mnt/backup_disk. Like this: /sbin/mkfs.ext4 -q -L backup_disk /dev/disk/by-label/backup_disk mount -t ext4 ...
1
vote
1answer
458 views

Backup Files on ext4 to external NTFS drive

Would there be any problems in copying files on my Linux system with ext4 filesystem to an external drive that is formatted in NTFS? I'm reinstalling my OS and intend to copy these files back to my ...
2
votes
1answer
12 views

Which service is registered for certain interface on D-Bus?

I know PolKit uses org.freedesktop.PolicyKit1.AuthenticationAgent interface to connect to authentication agent. I want to know which service is registered for this interface. What is the best way to ...
0
votes
0answers
13 views

Sometimes syncing gets stuck with dd

Sometimes when I use dd then sync or use dd with conv=fsync, the syncing process gets stuck, but sometimes not, with exactly the same input and output targets and configuration. dd ...
3
votes
1answer
1k views

How to setup x11 touchscreen in linux desktop?

I am using opensuse desktop with two screens, top and bottom. Only the bottom screen is touchscreen, which is USB touchscreen. Both monitors are used as a single screen. I tried to configure the touch ...
5
votes
2answers
4k views

Why pidof and pgrep are behaving differently?

I have a init script in /etc/init.d/myservice for initialize a service like this: ... start() { ... daemon /usr/sbin/myservice ... } stop() { ... pgrep myservice pidof myservice ps -ef ...
0
votes
0answers
16 views

Fedora 23: installation on virtual box windows 10 host

I am trying to install Fedora 23 on VirtualBox running on Windows 10 host. I am using Fedora-Live-Workstation-x86_64-23-10.iso to install. Configuration Selected: RAM allocated: 4096 MB HDD ...
2
votes
5answers
374 views

How to find what device a file is on (and use that in a script)?

I want to find out what device my file is on so that I can use it in a script. I can get this far: $ df . Filesystem 512-blocks Used Available Capacity Mounted on /dev/disk0s2 498438976 ...
4
votes
1answer
135 views

-m option does not work in ping command

I was learning the Linux ping command and its options, and read about the -m option which is used to mark the outgoing packet. When receiving, we can filter that marked packet result first. I am ...
0
votes
0answers
7 views

How to install redis 3.0.7 on Debian 8

I'm trying to install Redis 3.0.7 (latest stable version at the moment) on Debian 8. I use this commands : add-apt-repository ppa:chris-lea/redis-server apt-get update apt-get install redis-server ...
0
votes
1answer
22 views

Script input filename or standard input

#!/bin/sh read vstup if [ -f "$vstup" ] then cat $vstup else if [ $vstup = "-"] then while [ $stadvstup != "q"] do read $stadvstup >> temp.txt ...
0
votes
1answer
39 views

Wget: Segmentation fault (core dumped)

Whenever I try to download anything with wget I get Segmentation fault (core dumped) with or without -c it doesn't matter. I have tried this in both Ubuntu mate on my Raspberry pi 3 and arch Linux on ...
0
votes
0answers
28 views
+100

Qubes does not boot on Fedora/Qubes dual-boot machine

My goal is to have a dual-boot of Qubes OS 3.1 and Fedora 23 Workstation (respin). This guy got it working on Ubuntu, but he installed Ubuntu first, while I installed Qubes first. The last resort ...
0
votes
0answers
13 views

Linux process scheduling [on hold]

I want to design an algorithm for scheduling a processes on best suited core to enhance the performance, i haven't an idea to begin the work. I have tried available codes. I am using gem5 simulator

15 30 50 per page