kingkong- 2017-03-03 13:45:24
yes
kingkong- 2017-03-03 13:46:05
cant recall it as line number shortly ?
borsin 2017-03-03 13:46:37
kingkong-: repeat ctrl + r until you find it or as i said since you know what the command looks like with 'history' type until you get that one
c-c 2017-03-03 13:46:41
no
c-c 2017-03-03 13:46:47
kingkong-: !
c-c 2017-03-03 13:46:50
fex
c-c 2017-03-03 13:46:55
!3259
c-c 2017-03-03 13:48:20
you may want to test first to be safe: $ cat !3259
Hello71 2017-03-03 13:48:41
no such file or directory: `ls'
c-c 2017-03-03 13:49:35
Hello71: your bash is fail?
Hello71 2017-03-03 13:50:04
dunno why you're trying to cat a command
c-c 2017-03-03 13:50:23
Hello71: to see if its the correct one
Hello71 2017-03-03 13:50:33
sigh
c-c 2017-03-03 13:51:06
You can sigh all you like until you manage a multi-million server, failure of which gets you sacked
Hello71 2017-03-03 13:51:45
multi-million transistors I'm sure.
Hello71 2017-03-03 13:52:04
given that apparently you don't know how to print a string in bourne-compatible shell
kingkong- 2017-03-03 13:52:43
boths of them worked. thanks you guys. :)
c-c 2017-03-03 13:52:46
yeah well
c-c 2017-03-03 13:53:10
Hello71: at least I didnt come around dorking when other people help people :)
Hello71 2017-03-03 13:53:58
reminds me of a conversation I overheard: "copy it to temp. no, temp. TEE EM PEE."
c-c 2017-03-03 13:54:20
- its not pretty but should be safe
kingkong- 2017-03-03 14:02:45
its possible to erase some lines from history ? for example "logout" commands
c-c 2017-03-03 14:08:05
kingkong-: yea
veek 2017-03-03 14:10:26
is there a way to recover files or fix the linux filesystem.. my disk was dropped and i rebooted into linux, and damaged the fs.. read works. i get: EXT4-fs (sda2): error loading journal
veek 2017-03-03 14:10:35
JBD2: IO error reading journal superblock
c-c 2017-03-03 14:10:57
veek: yes there is
veek 2017-03-03 14:11:15
Ooo do tell
c-c 2017-03-03 14:11:35
gddrescue f.ex.
c-c 2017-03-03 14:11:59
fsck should run on startup
veek 2017-03-03 14:12:13
are there any books/tutorials that'll help me understand the recovery process
veek 2017-03-03 14:12:26
c-c, i can't mount -o ro
c-c 2017-03-03 14:12:52
veek: can you look at magicrescue too
kingkong- 2017-03-03 14:13:42
c-c how ?
c-c 2017-03-03 14:13:58
kingkong-: history -d
ksft 2017-03-03 14:15:29
When I run `optirun glxgears`, the window that appears is white with specks of cyan, magenta, and yellow
kingkong- 2017-03-03 14:15:41
after i run ! that line order moves to the end of history ?
kingkong- 2017-03-03 14:27:53
that deletes 1 line only. can i give number interval or specify commands ? like erase all "logout" from history
Hello71 2017-03-03 14:34:48
sed -i -e '/logout/d' .bash_history