▲ 103 ▼ Deprecated Linux Commands You Should Not Use Anymore (itsfoss.com) submitted 8 months ago by mesamunefire@piefed.social to c/linux@programming.dev 37 comments fedilink hide all child comments Still using these obsolete Linux commands? They might be popular from the olden days but perhaps it is time to look for alternatives.
[+] pkjqpg1h@lemmy.zip 100 points 8 months ago (6 children) [deleted] permalink fedilink source parent hideshow 6 child comments replies: [–] lambalicious@lemmy.sdf.org 38 points 8 months ago (3 children) rsync is cool but is nowhere a replacement for scp's main use case. scp actually uses your SSH client settings file, whereas rsync doesn't (it does have the opportunity to use a SSH command, which you then have to setup separately). permalink fedilink source parent hideshow 3 child comments replies: [–] Brummbaer@pawb.social 4 points 8 months ago (1 child) I'm not sure I get what you mean. In every distro I used so far rsync did use ssh by default so it would honor everything I set in the ssh config. permalink fedilink source parent hideshow 1 child comment replies: [–] lambalicious@lemmy.sdf.org 3 points 8 months ago* Not everything however. For it to catch some options , for example SOCKS bridges, you have to use the SSH passthrough notation aka rsync -e 'ssh bridgename...' --rsync-options.... And ofc if you have to load a different SSH conffile, you have to use the while passthrough for that as well, there's no rsync native option to load a SSH conffile: rsync -e 'ssh -F conffile ssh_options...' --rsync-options.... permalink fedilink source parent load more comments (1 reply) [–] stewie410@programming.dev 10 points 8 months ago iptables --> nftables And if you really want the iptables UX, iptables-nft is also an option (at least on Debian). While I prefer firewalld most of the time on a server, my boss really wants to stick with the same tools he's used for 20yr; so iptables-nft it is. permalink fedilink source parent [–] Petter1@discuss.tchncs.de 19 points 8 months ago netstat got Nazi 😮 /s permalink fedilink source parent
[–] lambalicious@lemmy.sdf.org 38 points 8 months ago (3 children) rsync is cool but is nowhere a replacement for scp's main use case. scp actually uses your SSH client settings file, whereas rsync doesn't (it does have the opportunity to use a SSH command, which you then have to setup separately). permalink fedilink source parent hideshow 3 child comments replies: [–] Brummbaer@pawb.social 4 points 8 months ago (1 child) I'm not sure I get what you mean. In every distro I used so far rsync did use ssh by default so it would honor everything I set in the ssh config. permalink fedilink source parent hideshow 1 child comment replies: [–] lambalicious@lemmy.sdf.org 3 points 8 months ago* Not everything however. For it to catch some options , for example SOCKS bridges, you have to use the SSH passthrough notation aka rsync -e 'ssh bridgename...' --rsync-options.... And ofc if you have to load a different SSH conffile, you have to use the while passthrough for that as well, there's no rsync native option to load a SSH conffile: rsync -e 'ssh -F conffile ssh_options...' --rsync-options.... permalink fedilink source parent load more comments (1 reply)
[–] Brummbaer@pawb.social 4 points 8 months ago (1 child) I'm not sure I get what you mean. In every distro I used so far rsync did use ssh by default so it would honor everything I set in the ssh config. permalink fedilink source parent hideshow 1 child comment replies: [–] lambalicious@lemmy.sdf.org 3 points 8 months ago* Not everything however. For it to catch some options , for example SOCKS bridges, you have to use the SSH passthrough notation aka rsync -e 'ssh bridgename...' --rsync-options.... And ofc if you have to load a different SSH conffile, you have to use the while passthrough for that as well, there's no rsync native option to load a SSH conffile: rsync -e 'ssh -F conffile ssh_options...' --rsync-options.... permalink fedilink source parent
[–] lambalicious@lemmy.sdf.org 3 points 8 months ago* Not everything however. For it to catch some options , for example SOCKS bridges, you have to use the SSH passthrough notation aka rsync -e 'ssh bridgename...' --rsync-options.... And ofc if you have to load a different SSH conffile, you have to use the while passthrough for that as well, there's no rsync native option to load a SSH conffile: rsync -e 'ssh -F conffile ssh_options...' --rsync-options.... permalink fedilink source parent
[–] stewie410@programming.dev 10 points 8 months ago iptables --> nftables And if you really want the iptables UX, iptables-nft is also an option (at least on Debian). While I prefer firewalld most of the time on a server, my boss really wants to stick with the same tools he's used for 20yr; so iptables-nft it is. permalink fedilink source parent
[–] Petter1@discuss.tchncs.de 19 points 8 months ago netstat got Nazi 😮 /s permalink fedilink source parent