LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 09-28-2017, 09:54 AM   #1
kalinoob07
LQ Newbie
 
Registered: Sep 2017
Posts: 5

Rep: Reputation: Disabled
viewing contents of sda


I am a noob so please dont judge.

I want to view and delete some files from sda4 , one of the 13 partitions on my system (inside "other locations").

please tell me how i can do it?

Last edited by kalinoob07; 09-28-2017 at 09:56 AM.
 
Old 09-28-2017, 10:00 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,685

Rep: Reputation: 7971Reputation: 7971Reputation: 7971Reputation: 7971Reputation: 7971Reputation: 7971Reputation: 7971Reputation: 7971Reputation: 7971Reputation: 7971Reputation: 7971
Quote:
Originally Posted by kalinoob07 View Post
I am a noob so please dont judge.

I want to view and delete some files from sda4 , one of the 13 partitions on my system (inside "other locations").

please tell me how i can do it?
You were told how to do it in your other thread, and pointed to many man pages for the commands you're looking for.
 
Old 09-28-2017, 10:00 AM   #3
Keruskerfuerst
Senior Member
 
Registered: Oct 2005
Location: Horgau, Germany
Distribution: Manjaro KDE, Win 10
Posts: 2,199

Rep: Reputation: 164Reputation: 164
You can view the content of a partition with ls -l.
Delete some files with rm (-r).
 
Old 09-29-2017, 12:54 PM   #4
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,671
Blog Entries: 4

Rep: Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945
/dev/sdaX is a physical concept: a reference to a particular hardware device and to a particular partition on that device.

In order to use, and manipulate, the data in that physical place, you must employ a file system. Specifically, you must mount that physical resource. This action gives the content of the physical resource a particular "location" in the file-system, and makes these contents available to you subject to the security restrictions imposed by that file-system.
 
2 members found this post helpful.
Old 09-29-2017, 02:07 PM   #5
!!!
Member
 
Registered: Jan 2017
Location: Fremont, CA, USA
Distribution: Trying any&ALL on old/minimal
Posts: 997

Rep: Reputation: 382Reputation: 382Reputation: 382Reputation: 382
Look into (research/study) the concepts of: filesystem, mount, &esp inode. Wikipedia is best here.
Also debugfs command (unix cmd), to learn about where pieces of files get stored on disk.
(Compare to M$Win fat32/ntfs). "How Linux Works" is a good beginner-internals book (stuff for you to know first!!!)

Enjoy p.s. https://www.linuxquestions.org/quest...4/#post5764244

Last edited by !!!; 09-29-2017 at 02:22 PM.
 
Old 09-29-2017, 02:35 PM   #6
snowday
Senior Member
 
Registered: Feb 2009
Posts: 4,667

Rep: Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411
Boot an Ubuntu live DVD or live USB. Launch the File Manager. Use the File Manager to browse to the partition and view/delete your files. Exactly the same as File Explorer in Windows.

https://wiki.gnome.org/action/show/A...irect=Nautilus
 
Old 10-02-2017, 06:27 PM   #7
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,671
Blog Entries: 4

Rep: Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945
Quote:
Originally Posted by snowpine View Post
Boot an Ubuntu live DVD or live USB. Launch the File Manager. Use the File Manager to browse to the partition and view/delete your files. Exactly the same as File Explorer in Windows.

https://wiki.gnome.org/action/show/A...irect=Nautilus
But be aware that, if a File Manager can do this, it is being "very smart and clever" to, in effect, hide the details from you. Direct access to the content of a partition must occur through a filesystem mount, which of course implements the "files and directories" that you perceive to be there.
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
trouble viewing SD card contents sniper8752 Linux - Newbie 3 08-14-2013 12:59 PM
viewing contents of tape h@foorsa.biz Solaris / OpenSolaris 4 07-11-2009 03:08 PM
problem viewing drive contents digity Linux - Newbie 1 12-06-2008 07:20 PM
Viewing networked file contents with ftp linuxhippy Slackware 1 05-08-2005 08:11 AM
viewing contents of CD drive aymbpc Linux - Newbie 2 08-31-2003 05:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 03:54 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration