touch is something of an oddity in that the primary purpose has always been to change the timestamps on a file. That it creates the file if the name doesn't exist feels something of a side-purpose, and yet it's probably the most common way it's used. There is even a -c option (don't create) that silently does nothing; I guess so that if your task really is to reset timestamps you don't accidentally spam new files into the folder.
@RoboNuggie Жыл бұрын
I had no idea of touch's true purpose..... thank you...and a very useful one too....
@mirror1766 Жыл бұрын
I've used touch after using cat to join file segments into the original file with `touch -r file.piece1 file` so that I maintain a more original timestamp.
@ptjenl12 ай бұрын
Touch is used a lot whether to include a file while processing stuff. I've had a program which checked on date change since it's last run. However most changes were mostly done in other files. For those changes to picked-up u needed to touch the file and the updates were included.
@Chris-mr8ef Жыл бұрын
I am daily driving linux but i always have a freebsd desktop around ( apart from the classic opn/pfsense ) just to show my appreciation to the project.Your channel has been very helpful in introducing me to freebsd, cheers.
@RoboNuggie Жыл бұрын
Thank you for that :-)
@GamingHelp Жыл бұрын
Outstanding intro video. This is enough to get a new user 98% of the way to where they need to be to use the OS.
@JoeyGarcia Жыл бұрын
Great video! Also great list of commands too! I would add the service command and the portsnap command. The first to manipulate services such as sshd and the such. It allows you to enable, disable, start, stop, etc. The portsnap command allows you to fetch and install the ports tree. Oh, and freebsd-version is useful too and I feel goes hand-in-hand with freebsd-update
@RoboNuggie Жыл бұрын
Excellent additions! Thank you......
@Felix-ve9hs Жыл бұрын
1:59 47: If you use ZFS instead of UFS, "zfs list" is recommended over "df -h" 8:24 31: I always foget "rmdir" is a thing, most of the time I use "rm -r" 9:38 28: I once mixed up "rm -r /*" with "rm -r .*" ... thankfully I had zfs snapshots 12:40 20 On thing to note is that "doas" isn't in FreeBSD but has to be installed 15:39 8 If one is lazy, he/she might want to run "freebsd-update fetch install" :D 15:58 7 Run "pkg clean" and "pkg autoremove" once in a while to save disk space Commands I did not know about are time, od, env, who, ac, mixer, most of which I will add to my collection :^)
@mirror1766 Жыл бұрын
If a command is potentially risky, I do something like `ls /*` and after seeing what is listed, I go back into history to replace "ls" with "rm -r" (uparrow and edit the line though your shell may have different and better ways). People mention how its dangerous to be root because of accidents like rm command; my as-root-mistake I once made also ended up as a .* removal and since it was in my non-root home directory it was just as destructive despite the 'not being root makes things safe' attitude.
@reptilicusrex4748 Жыл бұрын
Thanks again for making theses videos.
@RoboNuggie Жыл бұрын
And thank you for being here!
@peterschreiner8813 Жыл бұрын
Very informative video - as always(!). I would be interested in video on how you create your videos. The whole process (with FreeBSD tools only): idea -> video and sound recording and editing. FreeBSD is my primary OS at home - the only thing I miss at the moment is the support for popular conferencing systems (e.g. Webex, Zoom, Teams).
@RoboNuggie Жыл бұрын
An interesting idea...... the conference tools work OK through the browser...that's if they still have a browser version.... (I haven't checked for looooong while)
@Crux1614 ай бұрын
Happy to know that I knew most of these. One thing you didn’t mention was fetch.
@colin4379 Жыл бұрын
I love the locate command. It's so much easier to use to find out where a file is than the find command.
@mirror1766 Жыл бұрын
It is also quicker to search it out of the organized database than wait for the filesystem responses coming back through find; its database is formed by walking the filesystem as a scheduled cron job. If the data is out of date (I often stop cron), or files you want are in an area the cron job would not have had read access to then find can be helpful as it actively walks the current filesystem to return results and has many great output options.
@Handelsbilanzdefizit Жыл бұрын
I mainly use FreeBSD and run Linux in a VirtualBox. BSD is great and I miss nothing. Only downside of BSD. Can't run Dockercontainers. And - for some reason - I can't install "Anaconda". Docker is obvious, but Anaconda should theoretically work.
@rabbitcreative Жыл бұрын
> Can't run Dockercontainers That's a plus in my mind.
@ngtube9 Жыл бұрын
Anaconda is running on FreeBSD (13.1)... no problem... I have made a shell script to install it...
@richardbennett4365 Жыл бұрын
At 8:57, the presenter can also evoke same with $ touch test{1,2,3}.txt
@gnuPirate Жыл бұрын
I love this video and your way of explaining. I'll be dipping my toes into BSD soon. I've watched a few vids that say the common commands in Linux which are common to BSD tend to have quite a few less switches and options in BSD (eg. grep). Is this your experience? Do you know of a way to get what I suppose is the full complement of gnu util switches and options for all these common / typical commands into the BSD system? Thanks.
@nichtgestalt Жыл бұрын
Wow, the 'Nuggie Cam' in the intro ist really cool. You can do this more often, if you want to. 😎🤓
@RoboNuggie Жыл бұрын
I'm thinking about it :-)
@zshfan Жыл бұрын
Thank You for your work from Soviet Russia!
@RoboNuggie Жыл бұрын
Cool :-) Прошла зима, настало лето. Спасибо партии за это!
@piotrzawadzki2531 Жыл бұрын
@@RoboNuggie 😂 And thanks for great video!
@jgren40484 ай бұрын
You have any videos on the upgrading of bsd to the next kernel or that type of thing?
@RoboNuggie4 ай бұрын
hmmm... I did an upgrade of FreeBSD 13.1 to FreeBSD 13.2 here: kzbin.info/www/bejne/opDVgZ2pltqGqcU Or did you mean just the kernel?
@amarmisra9582 Жыл бұрын
Request you to delve some spotlight on using Linux packages (Ubuntu) in compatibility, is it possible to run Ubuntu packages in GUI. I am very curious... Thanks for all your BSD stuff.
@XYZ-xm1ew Жыл бұрын
I'm a Linux user.I had no idea about the id command so for, also existing on my system.
@robertjc60524 күн бұрын
MV is also used to rename a file.
@user-mr3mf8lo7y Жыл бұрын
Thanks a bunch.
@richardbennett4365 Жыл бұрын
Small correction: uniq does not sort the list. It only shows one instance of each element in a file.
@anssimakela Жыл бұрын
nice work!
@RoboNuggie Жыл бұрын
Thanks!
@fmsilva112 ай бұрын
Thanks you
@islam-karam Жыл бұрын
With all my respects all these command on linux so if you master linux I believe u can master anything.
@elalemanpaisa Жыл бұрын
He has a face :)
@globetrotterdk9 ай бұрын
Is there a command to get audio CDs to mount automatically for the user? I am using a USB CD / DVD drive.
@snoopy3793 Жыл бұрын
apm like acpi for battery ?
@RoboNuggie Жыл бұрын
The apm utility controls the Intel / Microsoft APM (Advanced Power Management) BIOS and displays the current status of APM on laptops.
@frozeneye100 Жыл бұрын
I am not sure these are bsd basics… they do exactly the same on other posix types systems… I think rename this one as a cli intro instead of bsd specific. Granted, doas is not generally on Linux systems, can be installed easily but I never really saw a need for that if su is available for practical use.
@RoboNuggie Жыл бұрын
I described them as FreeBSD commands because they are available on FreeBSD in the same many Linux videos put Linux in the title because they are available on there too :-)
@frozeneye100 Жыл бұрын
@@RoboNuggie keep up the vids. Hope your channel can get many people interested.
@lingux_yt Жыл бұрын
great!!
@joinedupjon Жыл бұрын
'easter egg' cal 9 1752 😀 guess you could have included command line shutdown / reboot umount strings du (du -s is useful for tracking down where all your disk space has gone)
@pavelperina7629 Жыл бұрын
Useful, but ... 90 percent of these are the same on Linux. It would be nice to show the differences: how to use pkg, how to work with zfs, lspci->pciconf -l, lsusb->?, lsblk->geom disk list,camcontrol devlist, gpart show, (helpful to find nvm, sata, USB drives). Then how to configure wifi, why notebook seems to be running under full CPU load, how to mount exfat formatted USB drive, ... and basically first 10 things to do after install. You have ideas for next few videos, i already realized most of it trying nomadbsd on PC and notebook.
@mirror1766 Жыл бұрын
That sounds like it is not only unrelated to this video (other than its commands and some of the same), but will take several videos to cover in an organized fashion but all great ideas. Did you solve your high CPU use issue? Could be anything from background tasks to a buggy driver to hardware failure to trigger such a thing.
@douglasconnell6395 Жыл бұрын
you forgot the nmap command :)
@JoeyGarcia Жыл бұрын
But that is a command that is added to the system either through the ports system or through pkg installer
@douglasconnell6395 Жыл бұрын
@@JoeyGarcia Oh I thought this was a Kali Linux video 😎
@RoboNuggie Жыл бұрын
:-)
@owenwilson25 Жыл бұрын
Goad all these Windows users, or ex-Windows users I suppose; how the heck did you ever find BSD? You were meant to be happy with Linux and stay there.
@RoboNuggie Жыл бұрын
:-) Now theres a thought.... :-)
@tthenrie1 Жыл бұрын
You forgot to mention that "mv" is also the command to rename a file. Example: mv test.txt test1.txt ---> test1.txt. Very informative. There were several I didn't know. Thanks.