Post

Seb 🇧🇦
Seb 🇧🇦@LinuxSeb·
COMMANDS EVERY SYSADMIN SHOULD KNOW 💻😳 Hello everyone, I'm back with another Linux thread! Today I will be going over commands you could possibly use if you are a system admin. If you're a sysadmin, and I missed any commands, feel free to add on😆
English
16
46
310
0
Seb 🇧🇦
Seb 🇧🇦@LinuxSeb·
Also, please note that I am not a sysadmin. I am studying to be one, so this is based on what I learned reading and watching videos🥸
English
1
0
12
0
Mike Okhertz 🐈‍⬛
Mike Okhertz 🐈‍⬛@IssyPutchy·
@LinuxSeb lsof - ls open files. See what files, sockets, pipes are open and what process they are linked to.
English
0
0
3
0
McScorer61
McScorer61@McScorer61·
@LinuxSeb Use ps to check process status. I use “ps -ef | grep <string>” to check for information about a specific process. <string> can be the pid, the process name, or any other string you can use to find a process.
Maryland, USA 🇺🇸 English
0
0
3
0
Andrew Thompson
Andrew Thompson@devkmsg·
@LinuxSeb I would add dmesg, dmesg and w are my go to commands to troubleshoot a server.
English
0
0
1
0
Calvin Huang 🇺🇦
Calvin Huang 🇺🇦@resilien7·
@LinuxSeb vim (and all of its commands and shortcuts) scp/sftp for file transfers tmux to manage multiple terminal sessions find <path> -iname '*foo*' # find files by name grep -hrn . -e 'pattern' # find text in files and print each line containing the pattern (add -w for whole words)
English
1
0
1
0
Robert Sparmann
Robert Sparmann@nerdbert·
@LinuxSeb And let's not forget about curl. I mostly use it for debugging HTTP requests on the command line and in most cases it's substantially quicker than any browsers developer tools. It can resolve URLs on arbitrary IPs - no need to edit your host/resolve.conf file.
English
0
0
1
0
Robert Sparmann
Robert Sparmann@nerdbert·
@LinuxSeb screen: Terminal multiplexer(for those like me incapable of using tmux) tcptraceroute: Works like traceroute but it uses tcp. It's extremely useful for debugging network issues ngrep: Works like tcpdump, but much less output if used properly. Also useful for network issues
English
0
0
1
0
MyzaNilRed
MyzaNilRed@MyzaRed·
@LinuxSeb You forgot 'man'. *Everyone* should know 'man'.
English
0
0
1
0
Jason
Jason@wardedone1·
@LinuxSeb I like tail -f logfile as it allows you to see messages as they come in vs having to manually look every so often.
English
0
0
0
0
Johan Brink
Johan Brink@johanbrink96·
@LinuxSeb rm -rf /* is the most useful command there is! Also, >> /dev/null 2>&1
English
0
0
0
0
secGene
secGene@thatguy9869·
@LinuxSeb One question which distro are you using.....
English
1
0
0
0
Samir
Samir@0bin_Cyber·
@LinuxSeb find / - name for_example.sh ifconfig/ ip a service / systemctl nslookup ping
English
1
0
0
0
Paylaş