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

-1
votes
0answers
12 views

Read multiple inputs and store in a array, then print the values from that array in shell script [on hold]

Read multiple inputs then store in a array or variables, then print the values from that array/variables in shell script read -p " Enter no. of users : " no_user if [ $no_user -gt 1 ]; ...
0
votes
1answer
17 views

colorize files on MacBook terminal

I have a dedicated remote Linux server, and was able to add this code to my ~/.bashrc file: alias ls='ls --color' LS_COLORS='di=34:fi=0:ln=36:pi=5:so=5:bd=5:cd=5:or=31:mi=0:ex=35:*.rpm=90' export ...
0
votes
1answer
16 views

Copy my ssh key to remote machine via ssh-copy-id in a script without prompt?

My usecase is that i need to copy my ssh key for authorized access onto a remote machine. I need to be able to call a script that copies over my ssh key to the remote machine without needing my input. ...
0
votes
0answers
23 views

How do I make a bootable external hard disk?

I am making a bootable external hard disk (hdd) with tools like Yumi and Reflect but it never works. It won't even boot Ubuntu to install (via post) let alone open the Syslinux menu! Anyway thanks ...
0
votes
0answers
15 views

Setup https and http on wordpress nginx

[root@serv01 nginx]# cat nginx.conf # For more information on configuration, see: # * Official English Documentation: http://nginx.org/en/docs/ # * Official Russian Documentation: ...
0
votes
2answers
14 views

Configure which program to use as terminal

I have created a neovim.desktop file for a (terminal) application that looks like this: [Desktop Entry] Name=Neovim MimeType=text/english;text/plain;... Exec=nvim -f %F Type=Application Terminal=true ...
1
vote
1answer
14 views

Applications not fully realising the resolution has changed

I'm running the i3 wm under Arch, and regularly switch screen resolutions because of different external displays and just using the laptop screen. I have these two shortcuts that I use for this: ...
0
votes
4answers
80 views

How to upgrade from Fedora 1 (Yarrow) to a newer version with anaconda?

I'm trying to upgrade from Fedora core 1 to a newer version. The instructions on this page: https://fedoraproject.org/wiki/Upgrading_from_EOL_Fedora_using_yum tell me to save myself a world of ...
0
votes
1answer
20 views

Issues with Ubuntu Linux installation on a Windows 8.1 laptop

I’m trying to install Ubuntu Linux on my Windows 8.1 laptop. I’m being told I need to “Disable Secure Boot” within my UEFI firmware settings. But the only way my laptop will allow me to do so is to ...
2
votes
2answers
35 views

Container with in-built compression, which automatically adjust its size

I try to find an efficient way of rsyncing contents of an ext4 file system as a part of a regular backup, yet I consider a decent compression and a minimal required space. I can just use plain rsync ...
0
votes
0answers
18 views

OwnCloud - storing data on RAID array

I have a server running Ubuntu Server 14.10 LTS 64bit. It has an O/S drive, and then a data RAID-1 array mounted under /srv/storage I've installed OwnCloud server using the default sqlite DB. I've ...
0
votes
1answer
29 views

Restart process on linux by its pidn number with kill command, how?

Well, I want to be able to restart processes on linux and so I looked into kill manpages for that. Apparently kill -l would list all the signals I could send to a process to do what I need, which ...
0
votes
2answers
29 views

USB disk not recognized by Linux

I have a Raspberry Pi running a Debian based linux distribution (Raspbmc). I have a ext4 formatted 1 TB usb disk connected to it, mounted under this path: /media/Monolite with this line in the ...
0
votes
0answers
27 views

Linux script, mobile responsive [on hold]

last post seems to have gone astray so.. I am hoping someone could tell me/give me a script that will check if a list of web addresses are mobile responsive. This would save a lot of time against ...
0
votes
1answer
24 views

Cannot set MAC address to any hex of my choice

I set my mac address for the wifi chip via: /sbin/ifconfig wlan0 down /sbin/ifconfig wlan0 hw ether ${WIFI_MAC_ADDR} /sbin/ifconfig wlan0 ...
0
votes
2answers
45 views

Avoiding root password

I have done this modififcation: vim /etc/sudoers # User privilege specification root ALL=(ALL) NOPASSWD: ALL When i use: sudo service cassandra start it works without password. But, when i ...
1
vote
0answers
7 views

tcpdump capturing packets only when interface is specified

I have tried 3 different ways of capturing a stream of packets coming into my server. Two of them work and the third does not. I am trying to determine why it is missed by the third approach: ...
0
votes
0answers
7 views

LFS-systemd toolchain error

In 5.7-glibc,when I finished compiling.I run a test as the book mention echo 'main(){}' > dummy.c $LFS_TGT-gcc dummy.c readelf -l a.out | grep ': /tools' But it shows: dummy.c:1:1: warning: return ...
0
votes
2answers
26 views

Why am I getting mv errors with this sed command?

Given the following directory: [~/test]find . . ./something_else.txt ./univision.rbw ./something_else.rb ./testtest ./testtest/weewee.rb ./testtest/weewee.txt ./univision.rb Running the following ...
0
votes
0answers
9 views

Bash history deduplication causing dangerous multi-shell behaviour

I am using the following code in my .bash_profile to filter and de-duplicate my bash history: shopt -s histappend HISTSIZE=100000 HISTFILESIZE=100000 HISTCONTROL=ignoredups:erasedups ...
0
votes
2answers
15 views

Using MV to rename large amount of files using a script

I'm writing a bash-script to rename a large amount of files, using mv. Original filename File001.txt New filename file-new-001.doc I can change the suffix but i do not know, how to insert the ...
0
votes
2answers
36 views

How to make partition in windows 8 hard disk? [duplicate]

I have a 1TB hard disk with windows 8.1 running on it. I want to create a partition(preferably of the size around 20 GB) from my C drive to install a linux Operating System along with windows(Dual ...
0
votes
0answers
3 views

Cannot remove extra gampad mappings in retropie

I'm trying out RetroPie for the first time on a Raspberry Pi 2. I ran the retropie controller configuration tool from EmulationStation and it generated a controller file called PCGamepadUSB.cfg. ...
0
votes
1answer
23 views

Arch Linux extremelly slow and laggy

I was looking for an distribution that has Android Studio built in and came across 'BBQLinux'. The Android Studio works, but it's extremelly slow, to the point where it's unusable. I downloaded the ...
0
votes
0answers
12 views

I need a linux based recovery program for Outlook Express dbx files [on hold]

I need advice on a program to recovery emails from Outlook Express dbx files. My drive was originally in a XP machine which was hit by a virus that I could not remove. I placed the drive on an ...
0
votes
1answer
26 views

How to stop tail -f except using kill

I want to write a shell script to detect if my program starts up successfully. There is a log file created by the program. When the log file contains a new line: Server startup in, then stop the bash ...
0
votes
0answers
8 views

How to record video into circular buffer?

I want to build low cost IP camera with storage out of webcam, OpenWRT router and flash drive (or probably hard drive). It's not difficult to do, but I would like to store like last 24 hours, ...
0
votes
0answers
27 views

Cannot create bootable usb

My problem is that I'm always getting some problem with the cdrom. Firstly I think the ISO is fine because I can install the OS on vmware. However when I moved it in usb flash (I used 4 different ...
3
votes
2answers
31 views

Command Line Sort Files or Directories by part of their name

How do I sort files or directories by part of their name, specifically the element contained in the parenthesis or separated by delimiter? I am after two separate solutions one for directories with ...
0
votes
0answers
24 views

7z: How to exclude symbolic links from extraction?

How to ask 7z to exclude extracting symbolic links ? In following file, bad_file and passwd are symbolic links. Is there a way to ask 7z to not extract them or not create them after extraction ? ...
4
votes
5answers
1k views

Shut down computer using ssh

What ways are there to shut down a computer using ssh? Im running on linux and when I try to shut it down remotely using ssh, it doesn't actually work. I used the command sudo shutdown now. ...
0
votes
0answers
14 views

Linux Mint doesn't boot properly

I created USB flash drive Linux Mint 17.1 using Linux Live Usb (Lili - link) with persistence storage. When I boot my laptop with my USB flash drive, it shows the page that says "Try Mint Linux live" ...
0
votes
1answer
22 views

Python logging class not working when sending stdout to /dev/null

I have a Python 3 script that has logging enabled (for debugging purposes). Whenever I run/execute this script it is working fine and the logfiles are created. I've also created a setup.sh-bash ...
0
votes
0answers
7 views

Prevent window from spawning with greater than a maximum size?

I am running Linux Mint 17.1 with 3 monitors. Whenever I start a WebEx session, the windows somehow like to spawn with a size of all 3 monitors, starting on the rightmost monitor, and just spill off ...
3
votes
3answers
51 views

Unable to access my BIOS although the OS boots fine

I have an MSI GT602OC Laptop upon which I'm using an Ubuntu 15.04 (only OS). I can access my OS, it boots fine, no problems here. But when I try to access the BIOS (through the DEL key that I used ...
0
votes
1answer
44 views

On a host with two IP addresses, I am getting “no route to host”, but SSH works

I have a very strange problem. A server has two IP addresses on a single network interface: eth0 has 172.20.40.1 eth0:0 has 10.1.1.1 The address for eth0 is static, the one for eth0:0 comes from ...
0
votes
0answers
21 views

Trigger lock/unlock XFCE session on udev event

I'm trying to write simple script that will unlock my XFCE session (xubuntu) when I will connect my phone via usb and vice-versa -> lock when phone will be disconnected. So far I managed to write new ...
0
votes
0answers
25 views

Does torrent seeding “access” files?

Can I tell for sure using the time a file was "accessed" the last time (as reported by Nautilus), that I didn't seed it via torrent afterwards? Does seeding "access" files? I'm using Linux (Ubuntu) ...
0
votes
3answers
29 views

Debian - unattended installation

Is there any way to make the installation of Debian unattended, I need to install on multiple machines with similar hardware. Basically I need to install Debian system without human interaction, with ...
1
vote
3answers
36 views

Unzip many files to a given directory

In short, i'm not sure what i'm doing wrong, but basically what i want to do is loop over all zip files, and unzip their content for a directory with the name of the zip. example: Files: a.zip, ...
0
votes
1answer
26 views

Can't change resolution to 1680x1050

I am installing Elementary OS (I had the same issue with plain Ubuntu and Fedora, Mint and some other distros) on a Sony VAIO VGC-JS1E/S and everything works perfectly OK except I cannot change the ...
2
votes
1answer
32 views

Mouse takes too long to be discovered

I have a dual PC setup with a device that allows me to use one mouse, keyboard, and monitor (I don't remember what that's called). One PC is running Vista and the other is running Linux. When I switch ...
0
votes
0answers
11 views

Understanding the gdb backtrace full report [migrated]

Can somebody please help me in understanding the issue that caused this segmentation fault. This points to a place where I access an Iter to a map. The relevant code where it points is: cout ...
1
vote
1answer
19 views

What permissions allow group members to delete files in subdirectories?

Let's say I have two users on a Debian GNU/Linux system: me and otheruser. Both are members of the group shared-media. I can create a directory that is writeable by both: $ sudo mkdir ...
0
votes
0answers
26 views

How to make wget resolve HTTP queries? [duplicate]

Consider the download link http://trac-hacks.org/changeset/latest/accountmanagerplugin/tags/acct_mgr-0.4.4?old_path=/&filename=accountmanagerplugin/tags/acct_mgr-0.4.4&format=zip with the ...
1
vote
0answers
7 views

On a NTFS drive mounted with NTFS-3G with user mapping file present, all new files belong to root

On my system, I have a large NTFS-formatted data partition, which is shared between Linux (Debian 8) and Windows (2012 Server). When I created a user-mapping file, as described in the NTFS-3G ...
0
votes
0answers
11 views

ssh to a machine with bridge ports

I want to connect to a machine by ssh this machine has tow ports that are bridged. I am using bridge IP to connect ssh samie@192.168.1.97 But I get this error ssh: connect to host 192.168.1.97 ...
0
votes
1answer
25 views

Guest VM as firewall for other Guest VM

Maybe you can help me a bit. I am new to VM player.. I have Host - win 7 and two Guests on VM player. Kali Linux and Windows xp. I have troubles with setting network connections. Task is to create ...
0
votes
0answers
3 views

Connecting local device to remote port

I have a remotely located linux system and windows machine which I use to login to my remote linux machine using PuTTY. I have an android device which I have connected to my Windows machine through ...
-1
votes
0answers
11 views

how to add application to initrd.gz

I have initrd.gz (from linux parag*n live cd). I want to edit the file inside and add app like apache,ophcrack,etc. So far I've done extracting by following these step ...