Hi guys,
.
For no apparent actions from me, hidden folders and files show
in my /user/home directory, they are as follows:-
folders:
.adobe .cache .config .cups .filezilla .gimp-2.8 .gnupg .gphoto .gstreamer-0.10 .icedtea .java .local .macromedia .mozilla .pki .thumbnails
Files:
.bash_history .bashrc .esd_auth .ICEauthority
In my / directory
File: ./readahead
Seeking help to verify the above folder and files are not from a harmful source or application?
If they do not post any thread to the system, how can I conceal
these folders and files, so that they don't show up any more in
my home and / directory ?
Many thanks.
Some weeks ago I installed Linux Mint 17.1 Cinamin. Yesterday I installed 17.1 KDE. Now I have an home directory with empty set of user folders. I did find all of my files under devices 129.0 GiB Hard drive, including the old Home folder. How do I get my old files back to where I can use them?
Hey, I'm aware that /etc/ stores config files and in my home directory I also have dot files as well as a .config folder.
And I'm told not to edit /etc/ but create a copy in my home directory to preserve original files. Is it as simple as creating the full path the same as /etc/ and editing it in home folder?
Ideally this is how I hope it works, because I don't want to edit /etc/ and end up with a bunch of custom, non default files.
Hi
I have a folder :
Code:
/usr/local/src/myfolder
and i have there a few folders and files ...
Now i want to delete from this folder the files named:
Code:
file1.txt
image.jpg
info.html
another.txt
and leave all the rest folders and files...
How is the correct syntax for this?
If it is possible to not use cd /usr/local/src/myfolder and then rm -r .... so i can run it from everywhere ....
Thanks
Hello,
I am setting up a linux server for gaming and I am using a script to update the files automatically and create a folder with a certain name.
Code:
# !/bin/bash
# A convenience function, to save us some work
update_server() {
# Read the app id and the directory into a variable
APP_ID=$1
DIR=$2
# Create the directory ( if it does not exist already )
if [ ! -d "$HOME/$DIR" ]; then
mkdir -p "$HOME/$DIR"
fi
# Uh-oh, it looks like we still have no directory. Report an error.
if [ ! -d "$HOME/$DIR" ]; then
# Describe what went wrong
echo "ERROR! Cannot create directory $HOME/$DIR!"
# Exit with status code 1 ( which indicates an error )
exit 1
fi
# Call SteamCMD with the app ID we provided and tell it to install
./bin/steamcmd.sh +login anonymous +force_install_dir "$HOME/$DIR" +app_update $APP_ID validate +quit
}
# Now the script actually runs update_server ( which we just declared above ) with the id of the application ( 4020 is Garry's Mod ) and the name of the directory we want the server to be hosted from:
update_server 4020 "gmodserver"
exit 0
When I run this script, it creates 2 folders on my server : gmodserver and gmodserver? There is no files downloaded in gmodserver. All the files are downloaded in gmodserver?
I looked for a few hours on how to solve this problem but I have no idea what the added ? might be so I am lost as to what to look for. Could you help me on figuring this out?
Thank you.
edit : I am using ubuntu 15.04 x64 if it makes a difference.
Have installed Xubuntu with /home on second hard drive. If I change to a different distribtuion such as Mint Mate do I have to delete all the hidden files in my home directory?
I am running xubuntu 11.10, fully updated, on an Acer 250 netbook (1GB ram, 1.8 GHz clock, single core Atom processor, if you can believe it). Runs pretty well, I think. So much so that I have decided to migrate from Windows to Linux.
My first question to the forum is this: I have set the Thunar file explorer to show hidden files. However, hidden files still don't show up on various File Open or Browse... dialogs.
How can I set up xfce or xubuntu to always display .hiddenfiles in Open... or Browse... dialogs?
Problem comes up when I want to edit some .config file or run the alacarte Main Menu editor and have to specify some long path to an executable in a hidden directory (as in wine). I have to enter the file name manually, which gets to be a problem for my thumb-fingered typing.
Hello, I have an embedded linux device. I can connect to the device and I can upload or download files. No problem with this. But, at first connection, I want to connect to "/" directory instead of "/root". In the device file system, there are files ssh_config and sshd_config under /etc/ssh directory. I think I have to do something with these files but I don't know what.
I don't exactly know what mean "/root" and "/" directories. I think that the real root directory is "/" directory which is empty but when I connect with filezilla, the "/root" directory is the default so I had to go back to / directory everytime.
I'm running Xubuntu and it was a challenge just getting Copy.com on there. (I installed the desktop app on both of my computers.) Now that I have it though, I don't really know how to use it.
I know this is kind of more a Copy.com question, but I don't know anything about Copy.com (besides having it--lol) and besides, I like you LQ guys.
So yeah, I installed the desktop app for Copy.com on both of my computers. I know that if I put something in the Copy folder that will be available to both computers.
But how Copy does the backing up I don't know.
When I change a file or folder do I have to plop that into the Copy folder every time or does Copy somehow update the file or folder in the Copy folder automatically? (It doesn't seem to.)
Okay, when I, say, take the Documents folder from one computer and plop it into the Copy folder that's that. Then I take the Documents folder from the other computer and plop that into the Copy folder, then all the files from both folders will be in the Copy folder (and the Copy cloud), right?
Now I just removed a couple of files from a folder and copied and pasted the folder into the Copy folder. But then when I looked at the Copy folder the files I'd deleted were still there. What's the process? How does it work?
I mean, how does this work as a way of backing things up AND organizing things? To me it seems like a decent way of throwing stuff into the Copy folder (and cloud), but how is that different than Google Drive? I mean, that's not really a backup, is it? It's like a flash drive in the cloud.
And when I combined the same folders (with the same titles anyway, but they each had different files within them) from the two computers I'd expected each folder on each computer to have all the same files that were cumulatively on both. Instead, they're the same. And the cumulative is only on the Copy folder.
I like the notion of just throwing the folders and files into the Copy folder. It's much quicker than Google Drive. But the backing up feature eludes me and the syncing feature makes me fearful that I'll lose data or that the files will become hopelessly less organized.
Thanks.
Hi,
I have an tar.gz file which when right click extract here on my ubuntu computer is extracted without issue. I have all the folders and all the files (links and one executable) in them.
But when i transfert this tar.gz to another system and use the command :
Code:
tar zxvf nameofthefile.tar.gz
I see in the terminal things like that :
Code:
usr/bin/unzip/lzop
usr/bin/xargsbin/mountpoin
usr/bin/telnet
bin/pipe_prog
usr/bin/lzma
bin
usr/bin/sort
which mean that the files must be extracted but when using "ls" intot he folders they are empty. All the links are not here and only the executable is extracted.
When i copy back the archive from the new system to my ubuntu system and extract it all the files are here without issue. Why is it only creating the folders and not extracting the links ?
Hello
How can I prepare a script which will scan /home for folders with 777 permission and then it will set 755 permissions on those folders.
command find /home/ -type d -perm 777
will scan the /home for folders with 777 permission, but know I need to set 755 permission on this folders.
Please help in resolving this issue.
Thank you
Regards!
Jeff80