zsh is in /usr/bin, but also in /bin, what is the difference?
The /etc/shells says it has zsh installed in /bin/zsh, but also in /usr/bin/zsh.
The /etc/shells says it has zsh installed in /bin/zsh, but also in /usr/bin/zsh.
I essentially want to run a script on machine A which will SSH into machine B, execute commands on B, and return the output to machine A.
How can I copy SELinux context from one directory and apply it to another?
I have an external hdd partitioned into two. One of the partitions has Linux (Ubuntu) installed on it (bootable). The thing is I have forgotten the password of it’s user (single user).
Say, I have a command command which prints huge number of lines to stdout:
Let’s say there’s a directory that I don’t have the privileges to access. Obviously sudo cd foo won’t work, because cd is a shell builtin in every shell ever.
I use ssh-add to add my SSH keys to the SSH agent. By default, it adds them indefinitely. There’s a command-line option to specify a timeout, but is there a configuration file option which will specify the default timeout?
If I want to move a file called longfile from /longpath/ to /longpath/morepath/ can I do something like
I have a personal folder /a/b on the server with permission 700. I don’t want others to list the contents in /a/b. The owner of /a is root.
I reinstalled a fresh debian 10 on an old x86 system with 512MB RAM (everything works ok).
Available memory is 431MB. (No graphic card plugged right now)