Ask Ubuntu Classroom

https://meta.askubuntu.com/questions/19334/happy-10th-anniversary-to-ask-ubuntu
1574d ago – Eliah Kagan
17

export all events for this room

Starred posts

Oct 25, 2020 17:02
Finally for cron expressions, I like this little tool: crontab.guru
5
Nov 1, 2020 15:44
For some reason, some people seem to add the -r and -f options every time they use rm. That's bad! The -r option makes rm recursive, so that it can remove directories and their contents. Obviously, if you mess up and type the wrong thing as an argument, you would lose a lot more data with -r than without. So you should only use -r when you're sure you want to completely and permanently remove a directory.
4
Oct 25, 2020 17:07
Thanks all! Oh and we must not forget: pastebin.com/siaGhWNs
4
Oct 21, 2020 08:04
All previous lesson transcripts have been saved as bookmarks for anyone wanting to catch up
4
Oct 18, 2020 15:52
@Zanna No, we only do Ubuntu here, no SuSe or anything else.
3
Oct 11, 2020 16:32
@jokerdino Thank you for organizing the lessons and for your input here today and yesterday!
3
Oct 11, 2020 16:31
@jokerdino If you want to know how long date takes to tell you the date and time then you could time it with time by running time date. :)
3
Oct 11, 2020 16:00
Brain overflow is off topic here. We only answer questions about Ubuntu.
3
Nov 1, 2020 15:59
help cd | less
2
Oct 18, 2020 15:52
I have a tomato as well
2
Oct 18, 2020 15:34
The important thing is not to get confused between redirection and pipes. Output redirection* causes the output of a command to be written to a file. Pipes cause the output of a command to become the input to another command. That command might write a file (like `tee` does), but piping itself doesn't create or overwrite or append to files like redirection does.

* we have been using output redirection, but we can also redirect input from a file to a command.
2
Oct 11, 2020 15:27
cd -
2
Oct 11, 2020 15:27
I am somewhere near lost+found
2
Nov 1, 2020 16:40
(I'm interested in ZFS, if you want to talk more about it)
Nov 1, 2020 16:28
The "user" field is unique to system crontab
Nov 1, 2020 16:20
But this file should only be edited with crontab -e, and not manually
Nov 1, 2020 16:20
User crontabs are stored in /var/spool/cron but it is not recommended to edit them there and that directory is owned by root without even read permission for other users.
Nov 1, 2020 16:02
<3 to all thank you for your patience!
Nov 1, 2020 16:01
thanks @αғsнιη @technastic_tc @terdon @EliahKagan @BeastOfCaerbannog @ArturMeinild @SirGuelph @Kulfy for participating in the lesson and making it a great success
Nov 1, 2020 15:36
I also deleted the old new old list to remove any incriminating evidence
Nov 1, 2020 15:15
@technastic_tc no need to resort to extreme measures
Oct 25, 2020 16:26
@αғsнιη most important stuff
Oct 25, 2020 16:06
Secure Shell (SSH) is a cryptographic network protocol for operating network services securely over an unsecured network. SSH can be used for many things, including:
- For login to a shell on a remote host
- For setting up automatic (passwordless) login to a remote host
- To backup and copy files efficiently and securely using SCP, SFTP or Rsync
- Plus many other things
Oct 25, 2020 15:33
Globbing doesn't only work with ls - it's a feature of the shell itself. It's not ls that expands stuff, it's Bash. ls receives the arguments four one three and two because the shell expands [otf]* to all the filenames that expression matches. So, we can use globbing with all sorts of commands.
Oct 18, 2020 16:01
I use this one: devhints.io/bash
Oct 18, 2020 15:49
Here's some further reading on some of the things Zanna mentioned:
Oct 18, 2020 15:34
@αғsнιη embrace the pipe
Oct 18, 2020 15:27
Which is also why the time zone isn't necessarily your own.
Oct 12, 2020 18:06
yes... you get a nice email reminder in advance of an event you have signed up for!
Oct 11, 2020 16:42
"\e[A": history-search-backward
"\e[B": history-search-forward
Oct 11, 2020 16:32
Thanks everyone for making this lesson a grand success. @αғsнιη @EliahKagan @karel @user3140225 @Zanna @technastic_tc
Oct 11, 2020 16:31
Thank you so much for participating @αғsнιη @karel @user3140225 @EliahKagan @jokerdino @technastic_tc @terdon and anyone else who was here - you have been awesome!
Oct 11, 2020 16:30
Thanks @Zanna!
Oct 11, 2020 16:29
Thanks @Zanna for the session. Thanks @EliahKagan and @jokerdino for supporting Zanna!
Oct 11, 2020 16:11
@user3140225 yes :) that demonstrates that you don't have to export again after changing the value - the date command got the update. This is always the case when you change an environment variable - you don't have to export a variable that is already in the environment, you can just assign a new value to it (although nothing bad happens when you unnecessarily export a variable that is already exported).
Oct 11, 2020 16:10
That's very kind, but I only contributed the idea to demonstrate environment variables by running date with TZ set, not the specific progression of commands and explanation -- which is actually better than the way I have shown people, and I shall be linking to it here, I think, to help people in the future.
Oct 10, 2020 14:37
@Zanna man apt doesn't tell you all of apt's options. As far as I'm concerned if it's in man apt-get but not in man apt I try running the same command in apt and it works almost all the time. If it doesn't work in apt then I revert to apt-get.