Recently Active Questions

3 votes
2 answers
8k views

Difference between last and lastlog?

last | grep IPADDRESS doesn't shows any line, but: lastlog | grep IPADDRESS does. Why?
1 vote
1 answer
4k views

FTP not giving permission for actions for user that has permission

I have a user on my server (Debian) that I will be using for FTP. For a given directory on the file system, he is able to create directories/create files. myuser@debian-server:/storage$ su ...
4 votes
5 answers
3k views

Replace all occurrences of dash to the left of a colon using sed

I have the following values in a config.yml file: scratch-org-def: config/project-scratch-def.json assign-permset: false permset-name: run-apex-tests: true apex-test-format: tap delete-scratch-org: ...
0 votes
1 answer
3k views

exp@@glibc_2.2.5 undefined reference

I've been trying to use the SVM-python implementation provided at tfinley.net. When I use the command make on the extracted directory, /usr/bin/ld: svm_light/svm_common.o: undefined reference to ...
0 votes
2 answers
3k views

pexpect fails to match command if greater than 65 characters

Issue with pexpect, python module. Pexpect fails to do expected behavior if the length of the command is greater than 65. #!/usr/bin/python import pexpect sshCmd='ssh [email protected]' prompt='[...
26 votes
4 answers
147k views

Replace all white spaces with commas in a text file

I need to replace all white spaces inside my text with commas. I'm currently using this line but it doesn't work: I get as output a text file which is exactly the same of the original one: sed 's/[:...
5 votes
4 answers
3k views

Tool to create recipe to preseed partitioning

I want to preseed an Ubuntu 12.04 installer using a custom partitioning recipe. My disk layout is reasonably complex, and so is the recipe syntax itself. Hand-crafting such a recipe seems tedious and ...
2 votes
1 answer
2k views

Can't create encrypted partitions during Debian installation

I am using Debian 7.4 CD. When I set a partition as / during manual partition. It is fine. However when I then try to use it as physical volume for encryption... everything works fine it erases and ...
0 votes
1 answer
6k views

Arch Linux: Stuck on boot screen (Reached target Graphical Interface)

Two days ago I did a system update with sudo pacman -Syyu Unfortunately, my battery was empty and my laptop turned off during the System update. When I tried to start Arch Linux again, I was stuck ...
0 votes
1 answer
30 views

How can I fix badly broken permissions on root directory

I accidentally changed the permissions of everything in my root directory with sudo chown -R martin:www-data / by hitting enter too early. I stopped this command is it starting throwing errors about /...
0 votes
1 answer
23 views

Receiving " syntax error near unexpected token `then'" from remote Linux server with if, then, fi

Good day. I need help in determining why I get "syntax error near unexpected token `then'" from the following command: for vm in {20..30} ; do ssh -q -o "StrictHostKeyChecking no" ...
0 votes
2 answers
4k views

Errno 5 Input/output error when running yum check-update

I tried to update a server over SSH, but when I ran yum check-update I got an error: [error 5] Input/output error I think this means the RPM libraries may be damaged or corrupt, but I'm not sure how ...
5 votes
1 answer
826 views

Is there a thing like "veth", but without link-level headers?

When I use separate network namespace, I often set up networking there using veth: ip link add type veth ip link set veth0 netns 1 ifconfig veth1 192.168.60.2 ip route add default via 192.168.60.1 ...
4 votes
1 answer
2k views

Gnome printing (Evince): Scale pdf up and center (get rid of page margin)

As you know, latex documents often have quite a substantial amount of page margin. I don't like that. The printing dialog offers the option to print the document scaled up (let's say 120%), but then ...
3 votes
1 answer
777 views

How do you fetch a large file over http in parallel?

Question: Since HTTP supports resuming at an offset, are there any tools (or existing options for commands like wget or curl) that will launch multiple threads to fetch the file in parallel with ...

15 30 50 per page
1
2 3 4 5
16275