You are not logged in.
Pages: 1
I was using linux (not arch) for about 6-8 months before I realized that pressing "Tab" in the terminal was an auto complete. This got me thinking that there are probably better ways of doing simple things that I just haven't realized.
Maybe just share little things you do that help out a lot that other people could have missed, like "I do this when updating so if something goes wrong I can revert back easily" as a simple example.
Offline
This one's pretty simple. If you have a pacman -Syu addiction (you run it without knowing if you have to on a regular basis) then install conky and put the following into .conkyrc:
${if_match ${execi 3 pacman -Qu | wc -l} == 0}Updated${else}Outdated${endif}
then put the following into /etc/cron.hourly or daily or whatever you want:
pacman -Syy &> /dev/null
(Sy sometimes doesn't work well with http)
Last edited by tomd123 (2010-01-29 13:38:38)
Offline
Maybe just share little things you do that help out a lot that other people could have missed
My favorite Linux pro tip is "anything that can be done in a GUI can be done with the command line". And many people would probably say that it is faster to do it that way.
That includes multitasking, having multiple screens and windows, copy and paste text, playing music and playlists, instant messaging, web browser, email, file management, programming, and sometimes even view photos and watch movies. The only thing I can think of that can't really be done with the command line is drawing a picture. Maybe someone can show that even that isn't true.
Offline
That includes multitasking, having multiple screens and windows, copy and paste text, playing music and playlists, instant messaging, web browser, email, file management, programming, and sometimes even view photos and watch movies. The only thing I can think of that can't really be done with the command line is drawing a picture. Maybe someone can show that even that isn't true.
Indeed, but you need a graphical web browser for today's web to render correctly. And X renders photos and movies much better than a framebuffer.
Still, I recommend getting a good grasp of the command line (zsh, vim, tmux, ssh..). It allows for much more efficient work once learned.
Last edited by JohannesSM64 (2010-01-29 14:38:07)
Offline
#1: always backup important data
#2: if you are repeating the same task over and over (even if it is very simple) then probably there is a better way to do it.
Offline
#2: if you are repeating the same task over and over (even if it is very simple) then probably there is a better way to do it.
iow. shell script.
Offline
This one's pretty simple. If you have a pacman -Syu addiction (you run it without knowing if you have to on a regular basis) then install conky and put the following into .conkyrc:
${if_match ${execi 3 pacman -Qu | wc -l} == 0}Updated${else}Outdated${endif}
then put the following into /etc/cron.hourly or daily or whatever you want:
pacman -Syy &> /dev/null
(Sy sometimes doesn't work well with http)
THANK YOU!
Much cleaner than the one I had.
Offline
Offline
I'm running one every hour to check for updates, and one every 5 minutes to check for e-mail.
Offline
If I had to say just one thing, it would be to backup data. You can never be too careful.
I have not one, but two backups of my data on a pair of external hard drives, each of which I keep in a separate location (in case of burglary or house burning down). Call me paranoid but I can sleep well at night knowing it would be extremely unlikely for my laptop and both my external hard drives to die simultaneously
flack 2.0.6: menu-driven BASH script to easily tag FLAC files (AUR)
knock-once 1.2: BASH script to easily create/send one-time sequences for knockd (forum/AUR)
Offline
drcouzelis wrote:That includes multitasking, having multiple screens and windows, copy and paste text, playing music and playlists, instant messaging, web browser, email, file management, programming, and sometimes even view photos and watch movies. The only thing I can think of that can't really be done with the command line is drawing a picture. Maybe someone can show that even that isn't true.
Indeed, but you need a graphical web browser for today's web to render correctly. And X renders photos and movies much better than a framebuffer.
Still, I recommend getting a good grasp of the command line (zsh, vim, tmux, ssh..). It allows for much more efficient work once learned.
How to view photos and movies in a framebuffer?
Linux is not an operating system it's a kernel. You're using GNU/Linux. http://www.gnu.org/gnu/linux-and-gnu.html
Offline
Keep your dotfiles and things in /etc in git or hg repositories. I suggest only committing things you actually modify. This lets you get any old versions or deleted things back, and means that listing the contents of the repo shows you all the files you care about.
Offline
backup. And use the CLI.
Offline
Don't eat the yellow snow.
Learn to use properly your shell of choice. Configure it properly and learn shortcuts for command line editing. Try fish shell.
Learn to use properly your editor of choice.
Automatize. Let the machine work for you.
In the sql statement when using mysql client put \G instead of ; to switch on the vertical output.
And most important of all...the thing I am still learning and I never learn is RTFM.
Offline
How to view photos and movies in a framebuffer?
for movies, use mplayer (if you have declared video driver in mplayer config file then try to use "-noconfig all" at commandline)
for images, i'm not sure but might be you can use "zgv"
"First learn computer science and all the theory. Next develop a programming style. Then forget all that and just hack." ~ George Carrette
Offline
Pages: 1