Ask / Submit
1

Bash command 'clear' is gone? [answered]

asked 2019-05-30 16:14:30 +0300

Rudge79 gravatar image

Hi sailors,

I noticed the bash command 'clear' isn't working anymore. I used it a lot to clear screen in fingerterm.

Is there a way to add this command again?

Is the bash version at the moment a minimal version?

edit retag flag offensive reopen delete

The question has been closed for the following reason "the question is answered, an answer was accepted" by Alex
close date 2019-05-30 20:30:23.487881

Comments

1

mine is still there, check your path or try to run: /usr/bin/clear

pmelas ( 2019-05-30 16:19:49 +0300 )edit

ctrl + l (lowercase L) also clears the screen

On my J1, my bash version is 3.2.57(1)-release and 'clear' is working for me, you can check your bash version with bash --version

Or reinstall bash itself?, it is available from Jolla's repo (devel-su pkcon search name bash).

Edz ( 2019-05-30 16:50:19 +0300 )edit

I have a Sony Xperia XA2 with Sailfish X installed. The bash version is 3.2.57(1). pkcon search name gives bash-1:3.2.57.jolla.armv7hl but I cannot install this package. Probably because it is installed allready. Can someone sent the clear command to me? Is that an option.

Thanks for the replies sofar!

Rudge79 ( 2019-05-30 17:12:43 +0300 )edit
1

clear is installed with the package ncurses

mattikbk ( 2019-05-30 17:18:13 +0300 )edit

I'm missing clear, too.

bionade24 ( 2019-05-30 18:21:02 +0300 )edit

1 Answer

Sort by » oldest newest most voted
1

answered 2019-05-30 19:07:48 +0300

Rudge79 gravatar image

clear is installed with the package ncurses

mattikbk (1 hour ago)

edit flag offensive delete publish link more

Question tools

Follow
2 followers

Stats

Asked: 2019-05-30 16:14:30 +0300

Seen: 213 times

Last updated: May 30