A family of Unix-like 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

0
votes
1answer
6 views

Delete files with same size but keep always one file?

I have a directory full of zipfiles, that contain many files. They are created by software and this is currently not fixable. I tried to work with fdupes, but this process took too long, because there ...
0
votes
0answers
7 views

How to install Linux/Windows with bad RAM

I have a sub-notebook (Sony VAIO SVP) where Windows boots to a BSOD. By now, I have found out that the RAM has some errors. Since RAM, CPU and FlashDrive are solderd to the board and the warranty has ...
203
votes
18answers
387k views

How can I download an entire website?

How can I download all pages from a website? Any platform is fine.
1
vote
1answer
16 views

su user executes command as root

Short Background: when running a script that uses notify-send "title" "message", it is expected to show a notification, but sudo ./script does not show notification After reading up and visiting ...
0
votes
1answer
16 views

Can not change permissions while root

I use Kali Linux and discovered the following "problem": root@kali:/proc/self# ls -l cmdline -r--r--r-- l root root 0 May 27 13:43 cmdline root@kali:/proc/self# chmod 744 cmdline chmod: changing ...
0
votes
0answers
3 views

notify-send with sudo not showing any notifications

In short: I have a scripting finding, fixing and mounting a partition, thus this needs sudo / su permissions. System: Gnome 16.04 - amd64 notify-send "a message" that shows a notification as ...
1
vote
2answers
34 views

Is it really necessary to restart the PC after an update?

This question came to my mind mostly because I rarely restart my Linux laptop, so I wondered if this has any negative consequences. Updating is basically just patching applications, so I could imagine ...
1
vote
0answers
13 views

Vim got corrupted and print unsual lines, block number, how to fix from printing junk values?

I am getting these lines whenever I am trying to read/write any file or syslog. I am using vim. If I press any keys, it will print these lines, how to get rid-off to these junk lines: ...
1
vote
0answers
11 views

Hard Drive Error

Hello please look at error log below and suggest me solutions. I am using Fedora 23, I am getting this error while installing or updating and package. so my log from "/var/log/messages" is... May 27 ...
1
vote
2answers
17 views

Configure SNMP to send messages to two different monitoring platforms

Is it possible to configure snmpd on Ubuntu (via snmpd.conf) to send messages to two different monitoring applications? For example, lets say I have defined a read only community called 'readonly', ...
0
votes
1answer
15 views

update samba using apt-get and automatically keep local smb.conf

I have a bunch of systems running debian 8.4.0 which can be user updated through a web interface. The system then fetches an update from our server and runs an update script. Logging in remotely is ...
1
vote
1answer
99 views

linux - headphones and speaker works only AFTER resume from sleep

Good day all For quite some time I have had this issue, not distro specific, I assume it is a kernel related issue. aplay -l **** List of PLAYBACK Hardware Devices **** card 0: PCH [HDA Intel PCH], ...
0
votes
1answer
29 views

How to create a copy of whole server into a image?

I have a physical server which has some mission critical data on it and some other hosted application. The server needs to be taken down and data needs to be migrated at some place eles. What i want ...
2
votes
3answers
970 views

How do I automatically empty the trash on logout?

Users on a linux (CentOS4) machine I administer consistently forget to empty the trash. Since the people work on big files, this can fill up the /home partition very quickly. Therefore, I would like ...
1
vote
0answers
17 views

Closed network - “fake” an active internet connection?

I'm trying to set up a closed wifi network (so no WAN/Internet access) for an event - with a private website. While I got everything working fine, I'm wondering if I can solve the long loading time ...
4
votes
4answers
18k views

“bin/sh: can't access tty; job control turned off” error when running shellcode”

I'm writing shellcode to exploit a buffer overflow vulnerability on a server. To do so I have port binding shellcode that I send to the server and then I run (from a linux terminal) the command telnet ...
2
votes
0answers
17 views

Transferring large file to/from USB drive causes system to hang until transfer is done

I have a box running Ubuntu 16.04 server. It has an internal SATA hard drive with the OS on it, and an attached USB 3 hard drive which I use for storage of large/long term files. A lot of times, this ...
0
votes
1answer
15 views

How to move the commandline cursor on bash using the mouse

When using bash (in Terminal) with very long commands, it is often useful to be able to set the cursor to an arbitrary location using the mouse. In Mac-Os, the alt (Option) key is having this effect ...
5
votes
1answer
3k views

google speech recognition offline linux

When I was doing some research on speech recognition, I saw some articles about the google speech recognition service on android being able to be downloaded and used offline on android. I also saw ...
0
votes
1answer
18 views

Blocking Websites

I use Linux, I connect to Internet through Ethernet, I made a Hot-spot, so that I can share my Internet with my Family Members, now I see the that one of my elder was getting addicted to illegal ...
0
votes
0answers
14 views

sed command removes parent closing tag in xml file

Iam using sed command to replace a string with another in an xml file using below given the command. sed "s/one/two/g" /data/common/codeset-mapper.xml > /data/codeset-mapper.xml But the closing ...
0
votes
0answers
12 views

php script runs from the browser but not from cron job

I am using Centos 7 as my webserver. When I run script.php from the browser, it works fine and processes all the data in the MySQL table. When I run it using a cron job, it runs forever but will not ...
0
votes
1answer
18 views

Shared folder of VirtualBox as Apache2 www directory

I using VirtualBox in Windows and I have installed Kali Linux on it. I have configured NAT network so that I can connect to the Apache server in the Linux VM through Windows browser. It works fine and ...
0
votes
0answers
23 views

Linux Command to list all FTP users in shell including the users created using vsftpd

I have created a few ftp accounts/users on my CentOS server using vsftpd. Now I would like know the username of that accounts using SHELL. I have root password to access the SSH. I have tried to find ...
0
votes
0answers
4 views

Pipe audio from VLC to stdout?

I want VLC to play some video (from VLC), but have the audio be outputted to stdout or a file. Here's what I've been trying to do, but it obviously doesn't work. It's a FLV file btw: DISPLAY=:0 vlc ...
0
votes
1answer
3k views

bash- how can I use wget to send POST data with files?

I want to make following POST request to my server using wget: email=abc@abc.com&file1=@FILE_HERE&file2=@FILE_HERE In above request, there are three POST parameteres called email , file1 ...
12
votes
5answers
14k views

What Linux fits on a floppy disk?

Which Linux distributions fit on a 1.44 MB bootable floppy disk? Where can the .img image files be downloaded?
3
votes
2answers
83 views
+50

Which is the user‑space command for resuming from hibernation?

During a long time, I used echo disk > /sys/power/state In order to hibernate to/dev/sda10and I was using the initrd of my Debian distribution to resume. But recently, I switched to a raid ...
3
votes
4answers
4k views

Linux CLI: fail-proof way to check temperature

I usually use one of the following to check temperature of Linux-based computers: $ cat /proc/acpi/thermal_zone/THM/temperature $ acpi -V $ sensors However, on the current system I am using (Debian ...
1
vote
0answers
15 views

Lubuntu on Acer Aspire one not booting after installation

i've installed lubuntu 16.04 on a acer aspire one d250 but after successfull installation I only got this prompt: /dev/sda1: clean, 121560/9707520 files, 1258806/38812672 blocks I can't type ...
1
vote
2answers
8k views

How to fix X11 error: Can't open display

I installed libreoffice.x86_64 using yum from the CentOS repository on my CentOS basic server. When running the following command from the shell, I get the following X11 error. xhost is installed on ...
2
votes
1answer
3k views

really disable power save in linux wifi

I've got a laptop with an Intel Corporation Centrino Advanced-N 6205 [Taylor Peak] (rev 34) (using iwlwifi kernel module). Although power_save (a module parameter) is disabled, I can see 802.11 ...
0
votes
2answers
4k views

What command lists the files created in a specific month and readable for the owner?

I am supposed to find the command that lists all the files that are created in September and readable for the owner. Also explain how the command works. I know I'm supposed to use ls -l and I ...
2
votes
1answer
3k views

Linux driver for Linksys AE1200 USB wifi dongle

Recently purchased a Linksys AE1200 USB wifi dongle to use with my debian box for setting up a wifi AP. Unfortunately it doesnt seem to work out of the box and I cant seem to find any Linux drivers ...
0
votes
1answer
7 views

Show options of EFI entries

As described in the Arch Wiki, one can create an UEFI boot entry using efibootmgr like this: efibootmgr -d /dev/sdX -p Y -c -L "Arch Linux" -l /vmlinuz-linux -u "root=/dev/sda2 rw ...
0
votes
0answers
14 views

Cannot rename disk resource

I have a system running Ubuntu 8.04.2. I am trying to rename a folder using the mv command but continually get a "cannot move 'x' to 'x.old': Device or resource busy" message, even when running via ...
1
vote
3answers
51 views

Run Windows and Linux at the same time

Now before you mark this as a duplicate or jump to answer "Just use VirtualBox", this is a different use case. I am looking to simultaneously run two operating systems on my hardware, so that the ...
0
votes
0answers
22 views
+100

Linux mdadm does not assemble array, but recreation of array does it

Maybe i'm not very clear in the title. When i'm trying to assemble my raid1 array with mdadm: sudo mdadm --assemble /dev/md0 /dev/sdc /dev/sdd It tells me that mdadm: Cannot assemble mbr metadata ...
1
vote
1answer
34 views

Is there any way to get correct system time without NTP?

I'm developing industrial embedded device on the ARMv7, 3.10 kernel. First, before taking up the main subject, let me talk about hardware time. Amlogic meson8b is core unit, so i used "aml-rtc" as ...
0
votes
1answer
31 views

wget script exit abnormally with error 126

Can't seem to get this script to run, I have user access to the data I'm trying to download but it just won't run. If anyone can help with wget scripts it would be appreciated. for i in $(seq 1 9); ...
0
votes
0answers
20 views

How to use scroll wheel for command output history in a minimal install?

I apologize beforehand if this is either too general for most users here, but I have no better place to turn to. If someone ever booted up a GNOME desktop and accessed the terminal you would be quick ...
1
vote
0answers
11 views

MySQL doesn't seem to be executing commands

I am cleaning up a lot of my DB's/Tables, and have been running into an issue. When I execute most commands which change data on a table (i.e, DELETE FROM or UPDATE), the command returns as completed ...
1
vote
2answers
20 views

Non-root user having /root as $HOME

I have the following entry in /etc/passwd file: daemon:x:2:2:daemon:/sbin:/sbin/nologin However, when I sudo -su daemon the $HOME seems to be set to /root: [root@sbecby07 ~]# sudo -su daemon 'echo ...
0
votes
0answers
8 views

Mount command not working, pulling up info page on Ubuntu Server

I'm trying to mount one of my disks (/dev/sdb) to a particular user (/home/username), with "sudo mount ext2 /dev/sdb /home/username", and it doesn't look like it's working. When I run that, it pulls ...
0
votes
2answers
22 views

Can't Boot from Fedora USB

I'm trying to boot from a USB with Fedora ISO on it, but it goes straight to windows 10. I've set the boot order to try the USB first and I'm pretty sure that the files are correct on the USB Files. I ...
0
votes
0answers
18 views

Why swap isn't in use ennough on my system

I have Debian GNU/Linux 8.4 (jessie). I have this output of free: olga@olgacomp:~$ free -h total used free shared buffers cached Mem: 2.0G 1.9G ...
0
votes
0answers
4 views

CentOS 7 hardware error message (abrt-cli)

I'm relatively new to CentOS 7 and everytime i boot i'm getting an hardware error message (ABRT has detected 17 problem(s). For more info run: abrt-cli list --since 1464186366"). I've been looking ...
0
votes
1answer
4k views

Error Putty X11 proxy: Authorisation not recognised

I'm developing a robot with a Raspberry Pi, and I'm having trouble with X11 forwarding. When I'm going to run my script as: sudo python myscript.py I get the error: Putty X11 proxy: ...
1
vote
0answers
11 views

Creating files permission denied in WinSCP with FTP but not with SFTP

I am using Ubuntu server edition 14.04 and installed vsftpd. I have created a new user in0006 with home directory /var/www/localdev/in0006/ and I have set chroot_local_user=YES in vsftpd.conf file so ...
0
votes
0answers
14 views

docker info hangs without output

Introduction I'm attempting to use the following version of docker on a Linux VM, built from the docker_git BitBake recipe: $ docker --version Docker version 1.6.2, build 7c8fca2-dirty If I try to ...