Posts

Showing posts with the label terminal

Linux terminal shell command line to show a list of just the files in the directory

Linux terminal shell command line to show a list of just the files in the directory find . -type f  

The right way to use rsync

 rsync -avW -LK --progress ./from /to   this is even better: rsync -avhPW -LK --ignore-existing --size-only /source/ /media/dest/    

Fixing screen not waking up (xorg) on Ubuntu from command line

Sometimes after xubunutu screen is in hibernate mode the screen does not wake up. Open terminal ALT+CTRL+F1 (tty) Run:   sleep 5 && xrandr -d :0 --output 'eDP-1' --primary --auto Then switch fast back to the graphic mode (ALT+CTRL+F7) wait a few seconds for the screen to wake up. 'eDP-1' is the name of your screen You can see connected screens running     xrandr -d :0