$ echo cp /var/log/syslog* $HOME Here it returns:cp /var/log/syslog /var/log/syslog.1 /var/log/syslog.2.gz /var/log/syslog.3.gz /var/log/syslog.4.gz /var/log/syslog.5.gz /home/banana Once the command checked, go back a line in the history (C-p or the up arrow), move the cursor to the beginning of the line (C-a or Home) delete "echo" (M-d) and type Enter to execute.
Substitute "#" with "echo" and type enter. The command will be printed but
after Shell expansion (typically the wildcard, *, but also the variables,
etc.). Try for instance:
- [Trisquel-users] deleted ext4 partition masonhock
- Re: [Trisquel-users] deleted ext4 partition legimet . calc
- [Trisquel-users] Re : deleted ext4 partition lcerf
- Re: [Trisquel-users] deleted ext4 partition happy_gnu
- Re: [Trisquel-users] deleted ext4 partition masonhock
- [Trisquel-users] Re : deleted ext4 partition lcerf