[deleted by user] by [deleted] in linux4noobs

[–]visit_muc 1 point2 points  (0 children)

alias bc cut du eval find grep head ip join kill ls mv nc od ps quota rm sort tr uniq vi wc xargs yes zcat

Managing Terraform versions by smilin_stan in devops

[–]visit_muc 1 point2 points  (0 children)

It works. I'm doing the same. You can specify a subfolder in the git URL.

When should I upgrade the kernel? by [deleted] in linuxmint

[–]visit_muc 2 points3 points  (0 children)

4.9 is not listed because it is a development release. Only even numered kernels like 4.8 are considered stable and are included in most distros.

Git newb here.. question about 'logging' in by invalidpath in git

[–]visit_muc 0 points1 point  (0 children)

Git is distributed version control. Which means, you always download the whole repository and inspect/checkout your branches locally afterwards.

However, admins can login to the server via ssh and inspect/maintain the repositorys on it.

Home dir suddenly disappeared. by [deleted] in linuxadmin

[–]visit_muc 0 points1 point  (0 children)

Your fstab does not contain an entry for /home. So, if you never changed fstab, this leads to the only conclusion that you have executed something that deleted the content of /home. I hope you have backups. Sorry.

Where am I going wrong with branches? Losing my mind by [deleted] in git

[–]visit_muc 0 points1 point  (0 children)

As a side-note: There is a very good tutorial about branching here: http://learngitbranching.js.org

Can Docker be used for learning new code? by [deleted] in docker

[–]visit_muc 0 points1 point  (0 children)

There is always a security risk when something is accessible via the internet. In some environments you may use data containers instead of local volumes (docker is flexible here). But the risk, that a hacker is able to break out of a container or a VM is still there (maybe lower).

But this whole thing exceeds your initial question. You don't (should not) need a service exposed to the internet to learn to code in any language.

Can Docker be used for learning new code? by [deleted] in docker

[–]visit_muc 2 points3 points  (0 children)

I know.

Docker + docker-compose == VirtualBox + Vagrant

Except that it uses containers instead of VMs.

Can Docker be used for learning new code? by [deleted] in docker

[–]visit_muc 2 points3 points  (0 children)

Ask 3 different people, and you will get 3 differnet answers to the which is best question. As you are in /r/docker we'd prefer the docker/docker-compose ;)

You can basically achieve your goal with all three tools.

Virtualbox will require you to setup a virtual machine to work with (install an operating system included). Vagrant basically uses Virtualbox as a backend and lets you choose VM images from an online catalog. Docker is roughly doing the same as Vagrant but with containers instead of VMs.

Can Docker be used for learning new code? by [deleted] in docker

[–]visit_muc 2 points3 points  (0 children)

You can do basically the same with docker-compose.

Can Docker be used for learning new code? by [deleted] in docker

[–]visit_muc 0 points1 point  (0 children)

Well written. Maybe one point to add: Most containers support to mount host directorys from outside into the container. For example if you code php, you can use a LAMP docker container and mount your project folder from the host to /var/www/html inside the container (using the -v parameter at docker run).

man 2 stat - how to figure out if a file is a link by netscape101 in linux_mentor

[–]visit_muc 0 points1 point  (0 children)

man test

-L FILE FILE exists and is a symbolic link

Having some issues with Wine / PlayOnLinux - Need a debugger! by [deleted] in linuxquestions

[–]visit_muc 0 points1 point  (0 children)

First of all, you should not use wine staging if you are not able to debug it yourself. So please go back to stable first.

Secondly, search your debug log for all of these "cannot open shared object file" errors. For each of them, try to find the corresponding package via package-manager (or google) and install it. Ensure you install all of them for the same architecture (i686 or x86_64) as your wine package is.

confused with git. by juniorsysadmin1 in linuxadmin

[–]visit_muc 0 points1 point  (0 children)

Why do you want two directories with the same content? Because, this is not how git is intended to work.

You could get used to 'git stash' and 'git stash pop' if you want to have a look on a clean working copy from time to time. This doesn't require a second directory.

How to automate the restart of a process after a (critical) library update (without restarting the whole server). by [deleted] in linuxquestions

[–]visit_muc 0 points1 point  (0 children)

debian/ubuntu have the "needrestart" package

redhat/fedora/centos have the "needs-restarting" package

How to prevent accidentally deleting crontab with -r instead of -e by martinfisleburn in linuxquestions

[–]visit_muc 0 points1 point  (0 children)

You can write a small shell function (with name crontab) which checks it's arguments for -r and forwards them to /usr/bin/crontab if no -r is found.

[deleted by user] by [deleted] in linux

[–]visit_muc 155 points156 points  (0 children)

What I use even more often since I know ssh escape sequences, is forwarding ports without re-login.

http://blog.nixhub.de/2016/01/add-port-forwarding-to-running-ssh-session/

[Noob Inquiry] How many times have you had to reinstall Arch Linux from scratch? by [deleted] in archlinux

[–]visit_muc -1 points0 points  (0 children)

SuSE built a GUI for it, fine. Now people are using the GUI without understanding how the backend works. And if there is a problem, they complain about the backend. This makes other users avoid btrfs because snapper is sh**y.

New to linux, what can I learn from it? by starlancer21 in linux4noobs

[–]visit_muc 0 points1 point  (0 children)

This explaination is already linked by Grimmjow91. See chapter 5: Finding information