hidden away, hush-hush, kept concealed, restricted, top secret, with …

To view hidden files in backtrack / Ubuntu
root@bt:~# dir -a

Or to view while using gui
open folder you require and press ctrl+h or View / show hidden files.

Backtrack 5r1
/root/.mozilla/firefox/

example on how to see and delete firefox cache

root@bt:~# cd /root/.mozilla/firefox/

root@bt:~/.mozilla/firefox# ls -l
total 12
drwx—— 1 root root 4096 2012-02-14 14:18 Crash Reports
drwx—— 2 root root 4096 2012-04-19 10:49 1mcm.default

root@bt:~/.mozilla/firefox# cd 1mcm.default
total 2

root@bt:~/.mozilla/firefox/1mcm.default# ls -l

drwx—— 2 root root 40 2011-03-14 14:18 Crash Reports
drwxr 2 root root     40 2011-03-02 14:02 Cache

root@bt:~/.mozilla/firefox/1mcm.default# cd Cache

root@bt:~/.mozilla/firefox/1mcm.default/Cache# dir
1  2

To delete a directory and all of its contents recursively, use rm -r instead.

root@bt:~/.mozilla/firefox/1mcm.default/Cache# rm -r 1

root@bt:~/.mozilla/firefox/1mcm.default/Cache# rm -r 2

root@bt:~/.mozilla/firefox# ls -l
total 12
drwx—— 2 root root 4096 2012-02-14 14:18 Crash Reports
drwx—— 9 root root 4096 2012-04-19 10:49 nq474mcm.default
-rw-r–r– 1 root root   94 2011-05-09 08:55 profiles.ini
root@bt:~/.mozilla/firefox# cd nq474mcm.default

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s