I remember doing this in middle school. The administrator had zero security policies setup for script and command execution. All PCs in one room were on the same subnet and could be pinged…So obviously the younger, less ethical version of myself could not resist adding every IP to the GUI.
You've taught me so much and I truly appreciate you and your knowledge. One day I will thank you in person and shake your hand. You're content is beyond educational and if you had a cybersecurity school or camp or program or something like that I'd 100% pay to be taught by an expert like you David! Thank you for everything!
I remember back in the old days creating a shortcut and in the settings shutdown the computer with a message to the one who pressed the shortcut 😂 thank you for reviving that moment David Bombal
This would have been good to know when windows just shutdown on me while I was rendering a 3 hour scene cuz it was updating. Anyway, we are prepared now ig
Pretty sure you can schedule reboots through the power settings. There should be a setting in this menu that prevents shutdown when certain apps (i.e video renderer) are running.
Mac seems to give out the pid when the command is issued. Shutdown on a timer may make sense on multiuser systems with possible remote users, AFAIK all users get notified.
Of course! It's the proper way of shutting down all day, every day. It stops services, unmounts drives and file system, similar to pressing.the shutdown button
Yup but there is another way for the 'nix's I may be showing my age but even much older but still works for the 'nix variants is 'init 0' and 'init 6' from the linux CLI/Shell/terminal with root privileges - they work without delay, or you could use cron to do it for it to happen at a particular time or delay.
When my laptop still using Windows, I always use CMD to shutdown, because if I shutdown normaly, it still use battery, but when using command shutdown -s -f -t 0 It shutdown imidietly without any interuption, and not consume my battery. Now I'm using Linux Mint and Macbook, Windows just inside VM when I need it. Using Linux is just make me better on Windows, I don't know why.
I used to shutdown my kali via terminal using shutdown now command so the command got saved in bash history. So whenever I type 's' in the keyboard it automatically puts shutdown now and because of muscle memory I also hit enter and accidentally turn my computer off. Quite a hassle.
I use this so much it's a batch file on my desktop. I leave my pc on for a couple hours while I watch something while I go to sleep. Shutdown -f -s -t 7200
Hello sir how can I play Online Games in VMWARE Workstation that online games don't detect it I just want to play games in virtual my boss can't see that I'm playing 😊😊
My previous client had a mac and asked me to do this but I am not familiar with mac glad i came to know about this through you.thank you very much sir 🙏
Not convenient but logic. When you schedule a shutdown / restart, a process is running in background waiting for the timer to reach X minutes. So, if you kill this process, you cancel the operation.
Your advices have been relevant somewhere by the end of the last century. Not just in this video... Your tutorials are more like common knowledge and and old information.
Which operating system do you use?
@@davidbombal I'm using both
Linux plus windows I actually dual boot my laptop 💻🤗
Windows 😊
Linux sir love it😊
Freebsd
Windows
I remember doing this in middle school. The administrator had zero security policies setup for script and command execution. All PCs in one room were on the same subnet and could be pinged…So obviously the younger, less ethical version of myself could not resist adding every IP to the GUI.
You've taught me so much and I truly appreciate you and your knowledge. One day I will thank you in person and shake your hand. You're content is beyond educational and if you had a cybersecurity school or camp or program or something like that I'd 100% pay to be taught by an expert like you David! Thank you for everything!
🗣️Lunix 🔥🔥🔥
I remember back in the old days creating a shortcut and in the settings shutdown the computer with a message to the one who pressed the shortcut 😂 thank you for reviving that moment David Bombal
This would have been good to know when windows just shutdown on me while I was rendering a 3 hour scene cuz it was updating. Anyway, we are prepared now ig
Glad you learned something new!
@@davidbombalthank you
Pretty sure you can schedule reboots through the power settings. There should be a setting in this menu that prevents shutdown when certain apps (i.e video renderer) are running.
Wow. David thanks I trust you with what you share. I'll keep watching your videos. 😊
On Linux I usually use poweroff for immediate shutdown. On a Mac, you can use killall to kill a process by name.
Mac seems to give out the pid when the command is issued. Shutdown on a timer may make sense on multiuser systems with possible remote users, AFAIK all users get notified.
Yep. Good tip. Let's hope the VM isn't corrupted after that :/
Of course! It's the proper way of shutting down all day, every day. It stops services, unmounts drives and file system, similar to pressing.the shutdown button
Awesome!
Ohhhhh I remember this channel! You’re how I got Edge to stop using Bing or something like that lol
Damn! I must have read the abridged version of the manual!
How long has THIS one been around?
This is why work colleagues don't give me work at 5:35pm.
Yup but there is another way for the 'nix's I may be showing my age but even much older but still works for the 'nix variants is 'init 0' and 'init 6' from the linux CLI/Shell/terminal with root privileges - they work without delay, or you could use cron to do it for it to happen at a particular time or delay.
When my laptop still using Windows, I always use CMD to shutdown, because if I shutdown normaly, it still use battery, but when using command
shutdown -s -f -t 0
It shutdown imidietly without any interuption, and not consume my battery.
Now I'm using Linux Mint and Macbook, Windows just inside VM when I need it.
Using Linux is just make me better on Windows, I don't know why.
Self-destructive option 😁
Mac os you could use pkill instead 😉
great tutorial. Thank you.
Also possible how to start after certain time. Useful for server which doesn't need to run all the time.
Wake on LAN
@apekatt2007 not wake on LAN I mean Rtcwake
Faster way is to just yank the cord out of the outlet :)
I used to shutdown my kali via terminal using shutdown now command so the command got saved in bash history. So whenever I type 's' in the keyboard it automatically puts shutdown now and because of muscle memory I also hit enter and accidentally turn my computer off. Quite a hassle.
If only they'd be so nice as to use the same flags, we would have a better chance of remembering 😊
I use this so much it's a batch file on my desktop. I leave my pc on for a couple hours while I watch something while I go to sleep. Shutdown -f -s -t 7200
MacOS is basically identical with FreeBSD 🍎😈
this is why I take away terminal from all computers I manage.
What's the difference between shutdown -r now and reboot command in linux
Info on canceling scheduled shutdown on Mac is not correct. Shutdown -c works flawlessly...
is it possible to write a command to keep system shutdown for x amount if time and then booting it up, i am using Ubuntu on raspberry pi
David it's sudoh not sure doo lol
Cheers for your content I love it
My accent always letting me down it seems 😂
It's definitely /suːduː/, the IPA pronunciation is on the wiki.
@@davidbombal I used to reside in SA. I can still remember that coloured accent very well.
I bet not needed this century anymore but I still have the habit of 3x sync before shutdown -h
Please do a vedio on Windows sub system for linux
Hello sir how can I play Online Games in VMWARE Workstation that online games don't detect it I just want to play games in virtual my boss can't see that I'm playing 😊😊
isint it better to use poweroff on linux??
I totally forget shutdown -h exists. I always use poweroff.
Windows: shutdown /L to log off and shutdown /r to reboot.
How to shutdown a non-Systemd GNU/Linux machine without sudo( like SysVinit)?
On linux i rather use reboot and shutdown now. Feels more like natural language to me. Are there any differences?
The next level is using init 6 for reboot ...
My previous client had a mac and asked me to do this but I am not familiar with mac glad i came to know about this through you.thank you very much sir 🙏
Your client asked you to shut down a pc using cmd? or rather so cancel the shutdown?
@@skilledcamman4752maybe he needed it in a script, it's where this kind of command can be useful.
You're weird bro
maybe he needed it in a script, for automation, where this kind of thing can be useful
i used powershell and i have windows pro..the command didnt work :/
Config of ur pc please ?
in your bashrc alias die="shutdown now"
And then just type die in the terminal moving on xD
Does halt stop the OS but keep the system on?
Shuts the system down
What about haltsys?
"Stop-Computer -ComputerName "NameDesComputers" -Force" - powershell evqivalent
What about "init 0" and "init 6"
we can also use init 0 to shutdown linux
That way to cancel in Mac OS is weird.
Not convenient but logic. When you schedule a shutdown / restart, a process is running in background waiting for the timer to reach X minutes.
So, if you kill this process, you cancel the operation.
You can also run sudo shutdown -c on mac with the same result. This video is weird
The macOS way is really clunky
❤
Wouldn't "shutdown -c" on Linux abort it as well?
Yes
Tip: You can run sudo init 0
Thank me later :)
There a software that does that on windows which i find easier cause it has more options
I use to use this commands
Your advices have been relevant somewhere by the end of the last century. Not just in this video... Your tutorials are more like common knowledge and and old information.
-r -h meant for?
You are actual cyber security expert, why tf are you showing shutdown command... thats really sad
This guy only uses kali Linux ☠️😂
Are you bored reading out the MAN for shutdown?
Your my insperatiin bombal. Yoi kmow so much more than me
pgrep & pkill, my people.
windows
you sound south african, am I tripping?
shutdown -h now
shutdown now
apparently on linux nowadays shutdown is just a symlink to systemctl
First comment 😊
Thank you for your support! Much appreciated 😀
@davidbombal❤
Im the 100th comment
I guess I'm 2nd
Thank you for your support!
Mac is so simple