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 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.
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.
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?
Ok so, i want to create a SFTP account, that has access to edit/delete/move/upload/download files inside its homefolder and to all the other files/folders that are inside the homefolder.
The account should not be able to go back from the homefolder, like if the home folder is /home/servers it cannot go back to /home..
And the account should not be able to login to SSH.
I want to copy a folder and have the same permission as a existing folder , I tried cp -r -p may copy permission but it also copy everything includes sub-directory and files to new folder , would advise the way how to create a folder with copying all files to new created folder ? thanks
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.
given that im in the home directory, what cli command should i typoe to get access to my documents folder which i can clearly see in the gui but cannot seem to access.
i thought logically it should be /home/files/documents or perhaps /home/user/files/documents
where am i being a dweeb!!!!!....... again
Ok so, i want to create a SFTP/FTP account, that has access to edit/delete/move/upload/download files inside its homefolder and to all the other files/folders that are inside the homefolder.
The account should not be able to go back from the homefolder, like if the home folder is /home/servers it cannot go back to /home..
And the account should not be able to login to SSH.
Please help me.. i need to get this working...
I'm using CentOS 6.6 64bit
I've followed multiple tutorials, none of them have worked.
I was working on my PC and by mistake, I deleted a folder that contained a lot of mp3 files(songs) that I dont want to lose... It was in /home... What do I do now to regain those files with subfolders also??? I saw videos on youtube which were very confusing... Please help... _/\_
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?