Questions tagged [linux]

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.

Filter by
Sorted by
Tagged with
2 votes
3 answers
1k views

Multitail: how to view whole file?

I have a big log file (10000 lines). When I open it with multital only last ~100 lines are loaded, so I can't scroll back and view another preexisting lines. Doesn't work because affect only on new ...
Nelson Tatius's user avatar
0 votes
1 answer
926 views

PPTPD on CentOS: no connection

I have installed PPTPD on my CentOS server and try to connect to it from my Mac and my Android smartphone. Both failed. This is the log on my Mac (from ppp client): Mon Jun 22 22:11:58 2015 : ...
Richard's user avatar
  • 53
4 votes
1 answer
679 views

Function using watch on command with command line arguments

I want to run watch on a command which uses an optional command line argument, like this: function queue() { watch -n 10 'squeue -p ${1:-default} -o "%.8i" ' } but the command-line argument isn'...
DilithiumMatrix's user avatar
3 votes
3 answers
21k views

Linux - Avoid cat: no such file or directory when file does not exist

I am checking via a bash script whether a process is running based on the PID stored in a file. I get the error shown above when the file does not exist as the command is trying to access the file and ...
croussou's user avatar
0 votes
0 answers
1k views

Logrotating all logs in a directory causes date duplication

I have a logrotate config that looks like this: /var/log/update-job/*.log { daily rotate 7 compress delaycompress size 0k missingok copytruncate notifempty dateext ...
FrontierPsycho's user avatar
1 vote
1 answer
3k views

How to Glusterfs reload the gluster volume/bricks info

I have setup GlusterFS (3.5.3) replicated volumes on top of LVM on two identical Ubuntu 14.04 servers(vmware workstation). they are working fine.i want to know how to reload the gluster brick/volume ...
sherpaurgen's user avatar
0 votes
0 answers
2k views

Files in Samba share not visible on some Windows computers (but on others they are)

I have a Debian 8 Linux machine with Samba 2.4. On this machine I have configured a Samba share: [myshare] path = /path/to/my/share writeable = yes browseable = yes public = yes force user = myuser ...
Foo Bar's user avatar
  • 1,480
6 votes
2 answers
4k views

Tmux: binding Ctrl-`

I'd like to bind Ctrl-` in tmux to select-pane. I've tried: bind -n C-` select-pane -t :.+ Which gives me: unknown key C-` I've also tried: bind -n 'C-`' select-pane -t :.+ Which gives me the same ...
Jon Q's user avatar
  • 63
1 vote
2 answers
17k views

Putty Window inactive after certain time

I am currently processing on a server. I am using Putty to do this. As I am running multiple processes (8), I am using multiple cores as well. After a certain time (2-3 days) I get an error saying: ...
user28724's user avatar
3 votes
2 answers
18k views

Downloading a file from website - what port will be used?

If I go to a website and click on a link to download a file, what will be the protocol that is being use? Is it still HTTP? Will the source port and destination port remain the same? E.g. client (src ...
Noob's user avatar
  • 1,605
1 vote
0 answers
453 views

Is there a way to use google voice on magic jack on linux?

I am running the latest Ubuntu. Here is what I want to achieve: I want to be able to dial a number on the phone on my magic jack, and connect the call via google voice. I have tried running GV jack ...
Gradyn Wursten's user avatar
2 votes
1 answer
2k views

Using a locally built libOSMesa to enable WebGL in Firefox?

Well, I wanted to try to check out WebGL on Firefox (v38.0.5 on Linux); and I realized that in about:config, webgl.osmesalib was set to /usr/lib/libOSMesa.so.6, while about:support claimed: Graphics -...
sdaau's user avatar
  • 5,608
1 vote
1 answer
2k views

Where does cups-pdf store its temporary files?

I recently tried to save a rather large document using to a PDF using cups-pdf. Something appears to have gone wrong and it went on to produce several GB worth of data somewhere on my hard drive, ...
koala's user avatar
  • 21
0 votes
1 answer
9k views

Linux utility for recovering Windows CD Key from HDD? [closed]

I've got a Windows HDD and no access to a Windows machine but I have Ubuntu. What's a good Linux utility for recovering the CD Key from the Windows 7 installed on this drive?
fuzzybabybunny's user avatar
0 votes
1 answer
720 views

How can I install kerberised services on debian?

I installed kerberos in my debian environment and made it work with SSH. I also would like to try it with other services but I could not install them on debian. I followed several tutorials e.g. ...
mark's user avatar
  • 103
0 votes
1 answer
1k views

unknown filesystem grub rescue ubuntu

I have linux under windows partition. I have 4 disks in which one of them windows is installed and 2 for data. Another one is 15GB hard drive, Which always asks me to format either I open it in ...
user avatar
3 votes
2 answers
5k views

Why doesn't fc-match respect my match and edit rule for Courier when it does for Consolas?

I am using Debian with XFCE. Default behavior: No match or alias First, let me show the default behavior of my system when ~/.config/fontconfig/fonts.conf has no match or alias tags. <?xml ...
Lone Learner's user avatar
2 votes
1 answer
5k views

NFS mount causes boot delay

When booting my debian unstable linux box the process is delayed when it attempts to mount NFS partitions from another machine which is not switched on. The message displayed during boot is: [*** ] ...
Jon's user avatar
  • 405
2 votes
0 answers
1k views

How to gvfs-mount a CD as non-root user?

I can mount a CD like this: sudo dbus-launch gvfs-mount cdda://sr0 And I get the tracks as .wav files in /root/.gvfs. But it mounts as root, and chown doesn't work (not implemented in the fuse ...
ACK_stoverflow's user avatar
0 votes
1 answer
719 views

Snort Failing to start on Ubuntu 9.04

EDIT: Hey! To anyone stumbling across this question who followed this guide: https://help.ubuntu.com/community/SnortIDS It's too old and WILL NOT work! Find a different one! I'm trying to get Snort ...
Floofies's user avatar
  • 167
7 votes
2 answers
1k views

Which signal numbers work with the kill command?

We all know the kill command in Linux (kill -9 if some more power is needed ;) ), but what I don't understand is what are the other numbers for? These are the numbers I know: kill -1 → Hangup (...
user avatar
0 votes
1 answer
2k views

How to open ports on a vps server by IPv4 mapping?

I'm new to VPS, and I chose vps.me(free version) for hosting a game server. The game server needs the ports 28760, 28763 and 28764 to be open. I read their documentation and said I must use IPv4 ...
H G Sur's user avatar
  • 103
0 votes
1 answer
4k views

nvcc can't be found error

im trying to setup a tool that requires nvcc but im unable to to do. This is what i got so far: Installed the CUDA toolkit Verified it by using nvcc -V output: nvcc: NVIDIA (R) Cuda compiler driver ...
Vanya Varvi's user avatar
2 votes
1 answer
3k views

wpa_supplicant on Debian doesn't connect to network

I'm currently trying to connect to my home WiFi network (WPA2 security), but when I run sudo wpa_supplicant -B -D wext -i wlan0 -c /etc/wpa_supplicant.conf, running /sbin/iw wlan0 link immediately ...
Gordon Estes's user avatar
9 votes
1 answer
2k views

SSH to Vmware virtual machine with NAT network [duplicate]

right now I am able to ssh to host over internet and ssh from host to the virtual machine. What I want to do is ssh directly to the Guest machine from outside. I tried to do this using iptables: ...
Shahin's user avatar
  • 203
0 votes
1 answer
123 views

Find which graphic card in use

My laptop has two graphic cards, Nvidia and Intel. I'm using Archlinux. I want to know which graphic card the X server is using. What is the command line command for that?
lpsandaruwan's user avatar
1 vote
3 answers
110 views

Are Security Updates necessary behind a router?

Are Security Updates necessary behind a hardware firewall like a router which doesn't has any open ports. The question applies to whatever the operating system is, say Windows, Linux, Android.. My ...
stackuser's user avatar
1 vote
1 answer
2k views

single user vs multi user mode (without networking) init level 1 vs 2

I tried init 1 (single user mode) and i am still able to switch between users. So this leads me to think that maybe other users is not able to login if i have a network (hence single user mode) Then ...
Noob's user avatar
  • 1,605
1 vote
1 answer
2k views

understanding Stats on folder in Linux

This is my stat output on a folder stat Downloads/ File: `Downloads/' Size: 4096 Blocks: 8 IO Block: 4096 directory Device: fd02h/64770d Inode: 259595 Links: 3 What does it mean ...
Noob's user avatar
  • 1,605
-1 votes
2 answers
64 views

Only show part of logfile in bash script

OpenVPN log looks like this: OpenVPN CLIENT LIST Updated,Sat Jun 20 04:20:07 2015 Common Name,Real Address,Bytes Received,Bytes Sent,Connected Since [ A .... ] ROUTING TABLE Virtual Address,Common ...
Mr. Developerdude's user avatar
5 votes
2 answers
311 views

Is there a performance difference when installing an OS on the last partition?

I have a laptop with Windows installed on a GPT hard drive. I want to have another partition to store data and yet another to install Linux Mint (or Ubuntu, still deciding). Should I install it on the ...
bleudoutremer's user avatar
2 votes
1 answer
6k views

Should a Linux Swap partition be on the RAID?

When setting up a new system, if I am planning on mirroring two hard drives, what should I do with the SWAP area? I can think of three things I can do... Do a mirror of the SWAP partition Stripe it ...
Canadian Luke's user avatar
2 votes
0 answers
475 views

Prevent ARP spoofing in AP, “wl deauthenticate” command

I am in a situation where I cannot do MAC filtering in an AP and I need to block a user that is ARP spoofing the network. I am trying to use the command wl deauthenticate to kick the client. And I ...
user460678's user avatar
1 vote
1 answer
11k views

Installing 64 bit CentOS using VirtualBox

I downloaded VirtualBox to a windows 8.1 machine by selecting the Windows (32-bit/64-bit) installer option at this link on the Oracle web ste. But when I try to create a new Virtual Machine using ...
CodeMed's user avatar
  • 354
1 vote
1 answer
62 views

How to merge all files that end with .mk in a directory and subdirectories into one file?

I have many makefiles in a top level directory and its subdirectories. I want to combine them all into one big .mk file, what's the most efficient way to do that?
return 0's user avatar
  • 195
1 vote
1 answer
7k views

How do I make netcat timeout nonsilently?

I'm trying to send some data to a server with a command like nc -w 3 IP_ADDRESS PORT < data where nc is the netcat from FreeBSD 5.4. When the server doesn't respond within 3 seconds I get no ...
J Delaney's user avatar
  • 113
5 votes
1 answer
10k views

How can I disable google chrome's terrible sub-pixel anti-aliasing in PDFs?

I'd just like to turn it off, because it's quite distracting when every PDF looks so colourful. I've looked through chrome://flags and there's an LCD text anti-aliasing option but it doesn't seem to ...
jozxyqk's user avatar
  • 2,782
0 votes
1 answer
432 views

How to get files created in last 5 days and form a list for informatica source

Find all the files of the format yyyymmdd_test.txt created in last 5 days. The file may not be available or created for a day in between as well. i.e. for 5th june if following are the available ...
user460588's user avatar
1 vote
0 answers
721 views

Optimal load balancing between two hard disks. Does RAID 1 do the trick?

I am looking for a linux disk system for streaming media purposes that would do smart load balancing and minimize hard disk wear. To illustrate my points, lets take a physical hard disk device and ...
El Sampsa's user avatar
  • 111
1 vote
0 answers
148 views

Want to send automatic mails from email server, That To addres has to read from email that i received.?

I want to send multiple mail automatically. I will receive mail as FROM: [email protected] TO: [email protected] BODY: mail contains ([email protected]) What I want to is take the username@domain3....
Teja R's user avatar
  • 11
0 votes
1 answer
385 views

Can't configure network on ubuntu server using drac

I have installed Ubuntu 14 server on my server using DRAC of Dell. I have got all the info from my server company like IP Addresses, Gateway, Netmask and so on. I have tried to configure the network ...
Benny's user avatar
  • 3
0 votes
2 answers
99 views

How to disable displaying previously viewed code/output from command line in linux?

For example, if I view a piece of doc called a.txt in linux. Here is my prompt: user $ less a.txt This is a document named a.txt, here is what happened when I press 'q' user $ Small document doesn'...
return 0's user avatar
  • 195
1 vote
0 answers
127 views

file names with space character in conk configuration

I am trying to load an image in Conky (running under Linux), where the image has got space characters in its path. like this: ${execp echo "\${image \"$(qdbus org.mpris.MediaPlayer2.vlc /org/mpris/...
Untitled's user avatar
  • 111
3 votes
2 answers
532 views

btrfs not distributing data to smaller disks in 4-disk RAID1 array

I have a btrfs filesystem composed of four disks of sizes 3TB, 3TB, 1TB, and 1TB, configured in a RAID1 (data and metadata). I've noticed that btrfs doesn't seem to want to use the smaller disks at ...
mgalgs's user avatar
  • 2,402
1 vote
1 answer
331 views

Halting tar after locating entry or EOF in an actual tape archive

I've just been handed a pile of LTO-5s and a tape library, and the exciting task of extracting a subset of files. Order of magnitude is 60 tapes from said pile, around 10,000 files of 70,000 per tape ...
tanantish's user avatar
  • 1,227
0 votes
0 answers
3k views

Synchronize two folders over sftp?

I have a cloned git repository in a directory and a sftp server, I want the server to be in sync with my repository. I've been trying multiple Atom/Sublime Text plugins with no luck, they only upload ...
Wordpressor's user avatar
0 votes
1 answer
189 views

Unable to install fedup on Fedora 20

I have an old Fedora 20 system. I'm trying to upgrade it to Fedora 21 following Upgrading to Fedora 21 Workstation from Fedora 20. Its a small tutorial on Fedora's Fedup tool, which is the only offial/...
jww's user avatar
  • 12.1k
1 vote
1 answer
1k views

Print to zebra zt400 with print server

we want to print to a zebra printer attached to a printer server hardware. We have installed cups on a ubuntu machine and setup the ip and port of the print server but when we send something to print ...
alvariux's user avatar
4 votes
5 answers
917 views

How does one identify the linux distro in use?

What I normally do to at least get some idea of what branch we're talking about, I try to run apt-get, pacman, yum and all other common package managers that I can remember off the top of my head, but ...
Jarmund's user avatar
  • 6,098
0 votes
1 answer
563 views

Secure Boot for Linux?

Is the "esp boot partition" as secure as an ext2 partition. If the secure boot feature is not enabled. My current research reveals contradictory opinions among the leading OSes, with choice ...
Tony's user avatar
  • 33

1
604 605
606
607 608
1178